Difference between revisions of "1A20.1 Demo test 2"

From PhyLab
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Picture 002.jpg200px|thumb|left|alt text]]
+
{{Widget
 +
|author=Yaron Koren
 +
|provider=YouTube
 +
|providerurl=http://code.google.com/apis/youtube/player_parameters.html
 +
|addedon=May 16, 2008
 +
}}
 +
This widget allows you to add [http://www.youtube.com/ YouTube] video player to your wiki page.
 +
 
 +
It was created by [[User:Yaron Koren|Yaron Koren]].
 +
 
 +
To insert this widget, use the following code:
 +
 
 +
  <nowiki>{{#widget:YouTube|id=DWef69ItVrU}}</nowiki>
 +
 
 +
== Parameters ==
 +
* '''id''' - video id (from the URL)
 +
* '''height''' and '''width''' define view dimensions, 420x350 is default
 +
 
 +
== Sample result ==
 +
{{#widget:YouTube|id=Ukytqe9pwDM}}
 +
 
 +
[[Category:Video Widget]]
 +
{{Comments}}

Latest revision as of 14:51, 2 March 2012

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

It was created by Yaron Koren.

To insert this widget, use the following code:

 {{#widget:YouTube|id=DWef69ItVrU}}

Parameters

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

Sample result

Template:Comments