Widget:YouTube: Difference between revisions

Line 4: Line 4:


<syntaxhighlight>{{#widget:YouTube|id=|start=}}</syntaxhighlight>
<syntaxhighlight>{{#widget:YouTube|id=|start=}}</syntaxhighlight>
</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>
</noinclude><includeonly><div class="video-shell"><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></div></includeonly>