Widget:Audio: Difference between revisions
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed '''[http://code.google.com/p/html5media/ HTML5 Media]''' on your wiki page. Created by [http://www.mediawikiwidgets.org/U...") |
No edit summary |
||
Line 13: | Line 13: | ||
== Copy to your site == | == Copy to your site == | ||
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. | ||
</noinclude><includeonly><audio controls>No support for the video tag, try using a more recent browser that suports HTML5 audio.<!--{if $ogg}--><source src="<!--{$ogg|validate:url}-->" type="audio/ogg" /><!--{/if}--><!--{if $mp3}--><source src="<!--{$mp3|validate:url}-->" type="audio/mp3" /><!--{/if}--></ | </noinclude><includeonly><audio controls>No support for the video tag, try using a more recent browser that suports HTML5 audio.<!--{if isset($ogg)}--><source src="<!--{$ogg|validate:url}-->" type="audio/ogg" /><!--{/if}--><!--{if isset($mp3)}--><source src="<!--{$mp3|validate:url}-->" type="audio/mp3" /><!--{/if}--></audio></includeonly> |
Revision as of 11:16, 28 November 2017
This widget allows you to embed HTML5 Media on your wiki page.
Created by taipan Modified by mm
Using this widget
{{#Widget:Audio|ogg=http://url.to/your.ogg|mp3=http://url.to/your.mp3}}
Copy to your site
To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:Audio article.