Widget:Audio: Difference between revisions

From The Satanic Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:
}}
}}


== Related tip ==
[[Category:Audio Widget]]
The [[Template:Audio|Audio template]] used together with the Html5mediaAudio widget helps to avoid adding the full URL of a locally uploaded file to the widget's "url" parameter by rather just specifying the name of the uploaded file. → See the [[Template:Audio|Audio template]] for further information.
{{Comments}}
 
== Note ==
If you are using this widget you cannot use the [[mediawikiwiki:Extension:TimedMediaHandler|TimedMediaHandler extension]] at the same time.

Revision as of 23:11, 21 February 2023

Template:Widget This widget allows you to add HTML5 Audio Media to your wiki page. For video files see the Video page.

To insert this widget, use the following code:

{{#widget:Audio
|url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3
}}

Parameters

  • url - URL of the audio file

Sample result

Template:Comments