Widget:Video: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 6: Line 6:


== Using this widget ==
== Using this widget ==
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Html5media widget description page on MediaWikiWidgets.org].


== 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><script type="text/javascript" src="http://html5media.googlecode.com/svn/trunk/src/html5media.min.js"></script><video src="<!--{$url|validate:url}-->" controls>no support for video tag</video></includeonly>
</noinclude><includeonly><script type="text/javascript" src="http://html5media.googlecode.com/svn/trunk/src/html5media.min.js"></script><video controls>No support for the video tag, try using a more recent browser that suports HTML5 video.{if $webm}<source src="<!--{$webm|validate:webm}-->" type="video/webm" />{/if}</video></includeonly>

Revision as of 11:39, 25 September 2012

This widget allows you to embed HTML5 Media on your wiki page.

Created by taipan Modified by mm

Using this widget

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