Widget:Audio: Difference between revisions
Jump to navigation
Jump to search
Pat Palmer (talk | contribs) (starting) |
Pat Palmer (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
This widget allows you to embed '''[https://github.com/etianen/html5media HTML5 Audio Media]''' on your wiki page. | This widget allows you to embed '''[https://github.com/etianen/html5media HTML5 Audio Media]''' on your wiki page. | ||
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> | |||
== Parameters == | |||
* '''url''' - URL of the audio file | |||
== Sample result == | |||
{{#widget:{{PAGENAME}} | |||
|url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3 | |||
}} | |||
Created by [https://www.wikihoster.net Karsten Hoffmeyer]. | Created by [https://www.wikihoster.net Karsten Hoffmeyer]. |
Latest revision as of 09:26, 21 October 2022
This widget allows you to embed HTML5 Audio Media on your wiki 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
Created by Karsten Hoffmeyer.
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Audio.