Widget:Video: Difference between revisions
The Terran Knowledge Bank
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
</noinclude><includeonly><video src="<!--{$url|validate:url}-->" poster="<!--{$poster|validate:url}-->" width="<!--{$width|default:640|validate:int|escape:'html'}-->" height="<!--{$height|default:320|validate:int|escape:'html'}-->" | </noinclude><includeonly><video src="<!--{$url|validate:url}-->" poster="<!--{$poster|validate:url}-->" width="<!--{$width|default:640|validate:int|escape:'html'}-->" height="<!--{$height|default:320|validate:int|escape:'html'}-->" | ||
controls preload="none"> | controls preload="none"> | ||
{{#if:{{{variable_foo|}}} | |||
|foo is set to '''{{{variable_foo}}}''' | |||
|foo is ''blank''}} | |||
{{#if:{{{$subs_en|}}}|<track label="English" kind="subtitles" srclang="en" src="<!--{$subs_en|validate:url}-->"/>}} | {{#if:{{{$subs_en|}}}|<track label="English" kind="subtitles" srclang="en" src="<!--{$subs_en|validate:url}-->"/>}} | ||
</video></includeonly> | </video></includeonly> |
Revision as of 21:09, 16 October 2023
This widget allows you to embed HTML5 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.
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.