Widget:YouTube: Unterschied zwischen den Versionen

Aus Stratum 0
Wechseln zu:Navigation, Suche
K (noinclude-fail)
K (test)
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 5: Zeile 5:
  
 
== Using this widget ==
 
== Using this widget ==
This widget allows you to add [http://www.youtube.com/ YouTube] video player to your wiki page.
+
This widget allows you to add [https://www.youtube.com/ YouTube] video player to your wiki page.
  
 
To insert this widget, use the following code:
 
To insert this widget, use the following code:
Zeile 17: Zeile 17:
 
== Sample result ==
 
== Sample result ==
 
{{#widget:YouTube|id=Y1g2Cx03L2I}}
 
{{#widget:YouTube|id=Y1g2Cx03L2I}}
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:'425'}-->" height="<!--{$height|escape:'html'|default:355}-->" src="http://www.youtube.com/embed/<!--{$id|escape:'urlpathinfo'}-->" frameborder="0" allowfullscreen></iframe></embed></object></includeonly>
+
</noinclude><includeonly><iframe width="<!--{$width|escape:'html'|default:'425'}-->" height="<!--{$height|escape:'html'|default:355}-->" src="https://www.youtube-nocookie.com/embed/<!--{$id|escape:'urlpathinfo'}-->" frameborder="0" allowfullscreen></iframe></embed></object></includeonly>

Aktuelle Version vom 6. Mai 2014, 17:55 Uhr

This widget allows you to add YouTube video player to your wiki page.

It was created by Yaron Koren.

Using this widget

This widget allows you to add YouTube video player to your wiki page.

To insert this widget, use the following code:

 {{#widget:YouTube|id=<video id>}}

Parameters

  • id - video id (from the URL)
  • height and width define view dimensions, 420x350 is default

Sample result