This is a wiki for a reason. Anyone can contribute. If you see something that is inaccurate or can be improved, don't ask that it be fixed--just improve it.
[ Disclaimer, Create new user --- Wiki markup help, Install P99 ]

Difference between revisions of "Template:Youtube"

From Project 1999 Wiki
Jump to: navigation, search
(Created page with "<noinclude> This template allows you to embed a Youtube video in a page. === Example === <code><nowiki>{{youtube| https://youtu.be/CBttHicGbek}}</nowiki></code> {{youtube| ...")
 
Line 7: Line 7:
  
 
{{youtube| https://youtu.be/CBttHicGbek}}
 
{{youtube| https://youtu.be/CBttHicGbek}}
</noinclude><includeonly><iframe width="1024" height="576" src="{{{1}}}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></includeonly>
+
</noinclude><includeonly><div class="youtube-placeholder" data-url="{{{1}}}"/></iframe></includeonly>

Revision as of 16:59, 22 October 2019

This template allows you to embed a Youtube video in a page.

Example

{{youtube| https://youtu.be/CBttHicGbek}}

Loading Video ...