Widget:YouTube
From HodHood
Revision as of 14:54, 10 February 2017 by Admin (talk | contribs) (Created page with "{{Widget |description=Allows you to add YouTube videos. |author=Yaron Koren |provider=YouTube |providerurl=http://code.google.com/apis/youtube/player_parameters.html |status=a...")
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)
- playlist - playlist name (starts with PL) - first clip is played (id is ignored)
- height and width define view dimensions, 420x350 is default
Sample result
Single Clip
Error in widget YouTube: unable to write file /var/www/html/en/extensions/Widgets/compiled_templates/wrt66fb6d967a5db4_60145255
Playlist
Error in widget YouTube: unable to write file /var/www/html/en/extensions/Widgets/compiled_templates/wrt66fb6d967c6293_41166705
Template:Comments