Difference between revisions of "Widget:YouTube"

From Industrial-Craft-Wiki
Jump to navigation Jump to search
(Alright, This should have fixed the formatting. Stupid MW.)
Line 1: Line 1:
<noinclude>__NOTOC__
This widget allows you to add [http://www.youtube.com/ YouTube] video player to your wiki page.
This widget allows you to add [http://www.youtube.com/ YouTube] video player to your wiki page.



Revision as of 19:52, 22 February 2015

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[edit]

  • 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[edit]

Single Clip[edit]

Playlist[edit]