Template:YouTube: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#widget:YouTube|id={{{1}}}}}</includeonly>
<includeonly>{{#widget:YouTube|id={{{id|{{{1}}}}}} |height={{{height|320}}} |width={{{width|569}}} }}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 22:34, 19 March 2015

[edit] Template documentation

To embed YouTube videos (XBMC-related videos only!) use {{YouTube|ID}}, where |id= is the YouTube ID from the URL. For example, {{YouTube|4NR57ELY28s}}. You can also define |width= and |height= if you wish (they default to the values 569 and 320, respectively).