Jump to content

Widget:YouTube: Difference between revisions

From LabVIEW Wiki
Added widget
 
m Remove category
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}-->" 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}-->" frameborder="0" allowfullscreen></iframe></includeonly>
[[Category:Widgets]]

Revision as of 22:33, 4 February 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.