Widget:Video: Difference between revisions

From Madness Combat Wiki
No edit summary
No edit summary
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><video src="<!--{$url|validate:url|escape:html|regex_replace:"#^(?!(https?:)?//).*#i":''}-->" width="<!--{$width|default:350|validate:int|escape:'html'}-->" height="<!--{$height|default:280|validate:int|escape:'html'}-->" controls preload></video></includeonly>
</noinclude><includeonly><script src="//api.html5media.info/1.2.2/html5media.min.js"></script><video src="<!--{$url|validate:url|escape:html|regex_replace:"#^(?!(https?:)?//).*#i":''}-->" width="<!--{$width|default:350|validate:int|escape:'html'}-->" height="<!--{$height|default:200|validate:int|escape:'html'}-->" controls preload></video></includeonly>

Revision as of 14:01, 30 September 2024

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

It was created by taipan.

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