Widget:YouTube: Difference between revisions

From LOTR-TCG Wiki
(Adding YouTube embed widget)
 
No edit summary
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><iframe width="<!--{$width|escape:'html'|default:'425'}-->" height="<!--{$height|escape:'html'|default:355}-->" 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>
</noinclude><includeonly><iframe style="margin:auto;" width="<!--{$width|escape:'html'|default:'400'}-->" height="<!--{$height|escape:'html'|default:711}-->" 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>

Revision as of 01:43, 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.