Widget

Difference between revisions of "YouTube"

From MusicTechWiki

 
(No difference)

Latest revision as of 17:38, 29 November 2020

This widget allows you to embed one YouTube Video on your wiki page.

Using this widget

To insert this widget, use the following code:

{{#widget:YouTube
|id=t1plGcyBBRA
|width=800
}}

Parameters

  • id - ID of the YouTube video. NOT the whole URL.
    Note: Make sure the video is public.
    Here is the example of the video id from the embed code. https://www.youtube.com/embed/t1plGcyBBRA
    It is far easier to just grab the ID from the URL, just do not use the whole URL. https://www.youtube.com/watch?v=t1plGcyBBRA
    You can also use the id from the share link URL. https://youtu.be/t1plGcyBBRA
  • width max-width dimension (optional, 640 default)