Help:Widgets/YouTube

From UBC Wiki
Jump to: navigation, search

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

To embed YouTube videos, use the following code:

{{#widget:YouTube|id=DWef69ItVrU|height=360|width=480}}

Parameters

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 results


Playlist
 {{#widget:YouTube|playlist=PL6FD8256CD24CFF1F}}