Difference between revisions of "Widget:YouTube"

Jump to navigation Jump to search
36 bytes added ,  20:50, 22 October 2020
Undo revision 7113 by Aardvark (talk)
(Undo revision 7113 by Aardvark (talk))
Tag: Undo
Line 4: Line 4:


<syntaxhighlight lang="html+handlebars">{{#widget:YouTube|id=|start=}}</syntaxhighlight>
<syntaxhighlight lang="html+handlebars">{{#widget:YouTube|id=|start=}}</syntaxhighlight>
</noinclude><includeonly><iframe loading="lazy" 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><div class="video-responsive"><iframe loading="lazy" 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>

Navigation menu