Difference between revisions of "Widget:Html5media"

From partnersenproppersolutions
(Created page with "<noinclude>__NOTOC__ This widget allows you to embed '''[https://github.com/etianen/html5media HTML5 Video Media]''' on your wiki page. Created by [https://www.mediawikiwidget...")
 
Line 17: Line 17:
 
<h2> Copy to your site </h2>
 
<h2> Copy to your site </h2>
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full 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><video src="<!--{$url|validate:url}-->" width="<!--{$width|default:425|validate:int|escape:'html'}-->" height="<!--{$height|default:355|validate:int|escape:'html'}-->"
 
</noinclude><includeonly><script src="//api.html5media.info/1.2.2/html5media.min.js"></script><video src="<!--{$url|validate:url}-->" width="<!--{$width|default:425|validate:int|escape:'html'}-->" height="<!--{$height|default:355|validate:int|escape:'html'}-->"
 
controls preload></video></includeonly>
 
controls preload></video></includeonly>

Revision as of 14:05, 8 February 2017

This widget allows you to embed HTML5 Video Media on your wiki page. Created by taipan

Using this widget

{{#widget:Html5media
|url=
|width=default: 425
|height=default: 355
}}

Or use Template:Html5media

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:Html5media.