Template:YouTube: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#widget:YouTube|id={{{id|{{{1}}}}}} |height={{{height|320}}} |width={{{width|569}}} }}</includeonly>
<includeonly>{{#widget:YouTube|id={{{id|{{{1}}}}}} |height={{{height|320}}} |width={{{width|569}}} }}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 17:27, 5 May 2012

[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).