Template:YouTube/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Undo revision 88059 by Ned Scott (talk))
(Categorize manually (The Documentation subpage template should perform this automatically, but I don't have sufficient privileges on this wiki to implement the fix))
 
(One intermediate revision by the same user not shown)
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).
{{Documentation subpage}}
To embed YouTube videos (XBMC-related videos only!) use <code><nowiki>{{</nowiki>[[Template:YouTube|YouTube]]|ID}}</code>, where {{Para|id}} is the YouTube ID from the URL. For example, <code><nowiki>{{YouTube|4NR57ELY28s}}</nowiki></code>. You can also define {{Para|width}} and {{Para|height}} if you wish (they default to the values <tt>569</tt> and <tt>320</tt>, respectively).<includeonly>
 


<includeonly>
[[Category:External site feature templates]]
[[Category:External site feature templates]]
[[Category:Formatting templates]]
[[Category:Formatting templates]]</includeonly><noinclude>
</includeonly>
[[Category:Template documentation pages]]</noinclude>

Latest revision as of 16:07, 5 March 2022

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