Widget:Audio: Difference between revisions
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed HTML5 Audio Media on your wiki page. {{#widget:</nowiki>{{PAGENAME}}<nowiki> |url=//www.yzwiki.com/w/images/4/43/Test-audio.mp3 }} == Using this widget == To insert this widget, use the following code: <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> |url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3 }}</nowiki> <includeonly><!--script src="//api.html5media.info/1.2.2/html5media.min.js"></script--><au...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!--script src="//api.html5media.info/1.2.2/html5media.min.js"></script--><audio src="<!--{$url|validate:url}-->" | <includeonly><!--script src="//api.html5media.info/1.2.2/html5media.min.js"></script--><audio src="<!--{$url|validate:url}-->" | ||
controls preload></audio></includeonly> | controls preload></audio></includeonly> |