Widget:Video: Difference between revisions
From WikiMSK
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
== Using this widget == | == Using this widget == | ||
For information on how to use this widget, see [https://www.mediawikiwidgets.org/Video widget description page on MediaWikiWidgets.org]. | For information on how to use this widget, see [https://www.mediawikiwidgets.org/Video widget description page on MediaWikiWidgets.org]. | ||
<pre>{{#widget:Video | |||
|url=https://pornel.net/Performance.ogg | |||
|width=640 | |||
|height=360 | |||
}}</pre> | |||
== Copy to your site == | == Copy to your site == | ||
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="// | </noinclude><includeonly><script src="https://wikimsk.org/w/resources/assets/customisations/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> | ||
<noinclude>[[Category:Widgets]]</noinclude> | <noinclude>[[Category:Widgets]]</noinclude> |
Latest revision as of 04:53, 5 April 2022
This widget allows you to embed HTML5 Video Media on your wiki page.
Created by taipan
Using this widget
For information on how to use this widget, see widget description page on MediaWikiWidgets.org.
{{#widget:Video |url=https://pornel.net/Performance.ogg |width=640 |height=360 }}
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:Video.