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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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/wrt667e475b592ed7_14142038

Playlist

Error in widget YouTube: unable to write file /var/www/html/en/extensions/Widgets/compiled_templates/wrt667e475b5a4517_20193524
Template:Comments