Widget:Video: Difference between revisions
The Terran Knowledge Bank
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
== 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}}'''. {{#if:{{{subs_en|}}}|<track label="English" kind="subtitles" srclang="en" src="<!--{$subs_en|validate:url}-->"/>}} | ||
</noinclude><includeonly>{{#if:{{{subs_en|}}}|subtitles|no subtitles}}<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"> | ||
</video> | </video> |
Revision as of 21:15, 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.