Widget:Audio

From The Satanic Wiki
Revision as of 23:08, 21 February 2023 by WikiGOD (talk | contribs) (Created page with "{{Widget |description=Allows you to add a HTML5 Media player for audio files. |author=Kghbln |provider=etianen |providerurl=https://github.com/etianen/html5media |status=active |security=checked |addedon=2016/03/30 }} This widget allows you to add [https://github.com/etianen/html5media HTML5 Audio Media] to your wiki page. For video files see the Video page. To insert this widget, use the following code: <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> |url=https:/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Related tip

The 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 Audio template for further information.

Note

If you are using this widget you cannot use the TimedMediaHandler extension at the same time. Template:Comments