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 |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This widget allows you to embed HTML5 Audio Media on your wiki page. | This widget allows you to embed HTML5 Audio Media on your wiki page. | ||
{{#widget:</nowiki>{{PAGENAME}}<nowiki> | {{#widget:</nowiki>{{PAGENAME}}<nowiki> | ||
|url=//www.yzwiki.com/w/images/4/43/Test-audio.mp3 | |url=//www.yzwiki.com/w/images/4/43/Test-audio.mp3 | ||
}} | }} | ||
== Using this widget == | == Using this widget == | ||
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki> | |||
|url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3 | |url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3 | ||
}}</nowiki> | }}</nowiki> | ||
</noinclude> | |||
<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> |
Revision as of 08:49, 22 December 2022
This widget allows you to embed HTML5 Audio Media on your wiki page.
{{#widget:</nowiki>Audio |url=//www.yzwiki.com/w/images/4/43/Test-audio.mp3 }} == Using this widget == To insert this widget, use the following code: <nowiki>{{#widget:Audio |url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3 }}