Widget:YouTube

Revision as of 05:56, 22 January 2023 by Grady (talk | contribs) (Use {{PAGENAME}})

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

Original version created by Yaron Koren and extended by Karsten Hoffmeyer.

Using this widget

To insert this widget, use the following syntax: {{#widget:YouTube|id = example}}

Replace example with the ID of the video found in the URL. You can also add the following optional parameters (separated using | symbols within the brackets):

  • width = W (replace W with the desired width in pixels)
  • aspect = W/H (replace W/H with a fractional aspect ratio)
  • float (places the video along the right side of the page, also changes the default width)
  • start = S (replace S with the start time in seconds)
  • playlist = example (replace example with the playlist ID found in the URL)