Widget:YouTube

From Official Kodi Wiki
Revision as of 06:59, 7 November 2022 by RogueScholar (talk | contribs) (Using aforementioned cosmic powers to make this widget comply with best practices and always load via HTTPS and support the 'start' parameter for defining a timestamp to begin playing at, plus add documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Using this widget

To insert this widget, use the following code:

 {{#widget:YouTube|id=DWef69ItVrU}}

Parameters

  • |id= - video ID (from the URL)
  • |start= - timestamp of starting point within the video in seconds
  • |playlist= - playlist name (starts with PL) - first clip is played (|id= and |start= are ignored)
  • |height= and |width= define view dimensions, 425x355 are the defaults