Difference between revisions of "Template:YouTube"
From Drawn to Life Wiki
(Created page with "<div class="youtubeplayer" data-id="{{{id|Kkohk5-xI-k}}}" data-width="{{{w|{{{width|640}}}}}}" data-height="{{{h|{{{height|360}}}}}}" data-autoplay="{{{a|{{{autoplay|0}}}}}}">...") |
m |
||
| Line 1: | Line 1: | ||
| − | <div class="youtubeplayer" data-id="{{{id|Kkohk5-xI-k}}}" data-width="{{{w|{{{width|640}}}}}}" data-height="{{{h|{{{height|360}}}}}}" data-autoplay="{{{a|{{{autoplay|0}}}}}}"></div><noinclude> | + | <div class="youtubeplayer" data-id="<youtube>{{{id|Kkohk5-xI-k}}}</youtube>" data-width="{{{w|{{{width|640}}}}}}" data-height="{{{h|{{{height|360}}}}}}" data-autoplay="{{{a|{{{autoplay|0}}}}}}"></div><noinclude> |
==How to use== | ==How to use== | ||
<pre> | <pre> | ||
| Line 10: | Line 10: | ||
</pre> | </pre> | ||
| + | {{YouTube}} | ||
'''Please do not use this to add loud/annoying sounds to your profile page. "Screamers" or audio indented to scare users is also not permitted.''' | '''Please do not use this to add loud/annoying sounds to your profile page. "Screamers" or audio indented to scare users is also not permitted.''' | ||
</noinclude> | </noinclude> | ||
Latest revision as of 22:38, 17 December 2023
How to use
{{YouTube
|id= the ID of the video
|width= the width size (without -px)
|height= the height size (without -px)
|autoplay= 0 / 1 (determines if the video auto-plays or not)
}}
Please do not use this to add loud/annoying sounds to your profile page. "Screamers" or audio indented to scare users is also not permitted.