Template:YouTube/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(Undo revision 88059 by Ned Scott (talk))
Line 1: Line 1:
To embed youtube videos (XBMC related videos only!) use <code><nowiki>{{</nowiki>[[Template:youtube|youtube]]|ID}}</code> where id= is the YouTube ID from the URL. For example, <code><nowiki>{{youtube|4NR57ELY28s}}</nowiki></code>. You can also define |height= and |width= (default is 569x320).
To embed youtube videos (XBMC related videos only!) use <code><nowiki>{{</nowiki>[[Template:youtube|youtube]]|ID}}</code> where id= is the YouTube ID from the URL. For example, <code><nowiki>{{youtube|4NR57ELY28s}}</nowiki></code>. You can also define |height= and |width= (default is 569x320).
To align the video to the right, use  <code><nowiki>{{</nowiki>[[Template:youtube|youtube]]|ID|right}}</code>


<includeonly>
<includeonly>

Revision as of 22:59, 8 April 2015

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 |height= and |width= (default is 569x320).