1A20.1 Demo test 2 : Différence entre versions

De PhyLab
Sauter à la navigation Sauter à la recherche
(Blanked the page)
 
(Une révision intermédiaire par le même utilisateur non affichée)
Ligne 1 : Ligne 1 :
 +
{{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}}

Version actuelle datée du 2 mars 2012 à 18:51

Modèle: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

Modèle:Comments