From MediaWiki Widgets

Html5mediaAudio widget
Description:Allows you to add a HTML5 Media player for audio files.
Updated:December 4, 2016
If you use code on your wiki which is older than this date you may want to update since your widget may be insecure or broken.
Inv-Icon tools.svg.png

To copy this widget to your wiki, cut and paste the entire source of the Html5mediaAudio widget code page into a page called Widget:Html5mediaAudio on your wiki.

If you don't have the Widget extension set up on your wiki, go to its description page on and follow the installation instructions.

This widget allows you to add HTML5 Audio Media to your wiki page. For video files see the Html5media page.

To insert this widget, use the following code:



  • 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.


blog comments powered by Disqus