Widget:YouTube: Difference between revisions

From LOTR-TCG Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
For information on how to use this widget, see the [https://www.mediawikiwidgets.org/YouTube widget description page on MediaWikiWidgets.org].
For information on how to use this widget, see the [https://www.mediawikiwidgets.org/YouTube widget description page on MediaWikiWidgets.org].


</noinclude><includeonly><div style="margin:auto;"><iframe width="<!--{$width|escape:'html'|default:'711'}-->" height="<!--{$height|escape:'html'|default:400}-->" src="https://www.youtube.com/embed/<!--{if isset($playlist)}-->?listType=playlist&list=<!--{$playlist|escape:'urlpathinfo'}--><!--{else}--><!--{$id|escape:'urlpathinfo'}--><!--{if isset($start)}-->?start=<!--{$start|escape:'urlpathinfo'}--><!--{/if}--><!--{/if}-->" style="border: none" allowfullscreen></iframe></div></includeonly>
</noinclude><includeonly><iframe style="display:<!--{if isset($inline)}-->inline<!--{else}-->block<!--{/if}-->;margin:auto;" width="<!--{$width|escape:'html'|default:'711'}-->" height="<!--{$height|escape:'html'|default:400}-->" src="https://www.youtube.com/embed/<!--{if isset($playlist)}-->?listType=playlist&list=<!--{$playlist|escape:'urlpathinfo'}--><!--{else}--><!--{$id|escape:'urlpathinfo'}--><!--{if isset($start)}-->?start=<!--{$start|escape:'urlpathinfo'}--><!--{/if}--><!--{/if}-->" style="border: none" allowfullscreen></iframe></includeonly>

Latest revision as of 07:48, 1 February 2023

This widget allows you to add a YouTube video player to your wiki page.

Created by Yaron Koren and extended by Karsten Hoffmeyer.

Using this widget

For information on how to use this widget, see the widget description page on MediaWikiWidgets.org.