Jump to content

Widget:YouTube: Difference between revisions

From LabVIEW Wiki
No edit summary
mNo edit summary
 
Line 1: Line 1:
<noinclude>This is a widget to embed YouTube videos on a page.  Most of the time use the YouTube extension instead of this widget.  The widget is used in the [[Template:Presentation]] due to the extension not working in a template.
<noinclude>This is a widget to embed YouTube videos on a page.  Most of the time use the YouTube extension instead of this widget.  The widget is used in the [[Template:Presentation]] due to the extension not working in a template.
</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:'html'|default:'0'}<!--{/if}--><!--{if isset($end)}-->&end={$end|escape:'html'|default:'0'}<!--{/if}--><!--{/if}-->" frameborder="0" allowfullscreen></iframe></includeonly>
</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:'html'|default:'0'}--><!--{/if}--><!--{if isset($end)}-->&end=<!--{$end|escape:'html'|default:'0'}--><!--{/if}--><!--{/if}-->" frameborder="0" allowfullscreen></iframe></includeonly>

Latest revision as of 15:58, 20 May 2022

This is a widget to embed YouTube videos on a page. Most of the time use the YouTube extension instead of this widget. The widget is used in the Template:Presentation due to the extension not working in a template.