Widget:Audio: Difference between revisions

From Madness Combat Wiki
(Created page with "<noinclude>__NOTOC__ This widget lets you embed '''[https://github.com/etianen/html5media HTML5 Audio Media]''' on your wiki page. It was created by [https://professional.wiki Karsten Hoffmeyer] for [https://www.pro.wiki ProWiki]. == Using this widget == For information on how to use this widget, see [https://www.mediawikiwidgets.org/Audio widget description page on MediaWikiWidgets.org]. == Copy to your site == To use this widget on your site, install [https://www.me...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
== Copy to your site ==
== Copy to your site ==
To use this widget on your site, install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} complete source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
To use this widget on your site, install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} complete source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
</noinclude><includeonly><script src="//api.html5media.info/1.2.2/html5media.min.js"></script><audio src="<!--{$url|validate:url|escape:html|regex_replace:"#^(?!(https?:)?//).*#i":''}-->" controls preload></audio></includeonly>
</noinclude><includeonly><script src="//api.html5media.info/1.2.2/html5media.min.js"></script><audio controls loop src="<!--{$url|validate:url|escape:html|regex_replace:"#^(?!(https?:)?//).*#i":''}-->" controls loop controls preload></audio></includeonly>

Latest revision as of 08:16, 29 September 2024

This widget lets you embed HTML5 Audio Media on your wiki page.

It was created by Karsten Hoffmeyer for ProWiki.

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, install MediaWiki Widgets extension and copy the complete source code of this page to your wiki as page Widget:Audio.