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
Line 5: Line 5:
  
 
<code><nowiki>{{youtube | https://www.youtube.com/embed/CBttHicGbek}}</nowiki></code>
 
<code><nowiki>{{youtube | https://www.youtube.com/embed/CBttHicGbek}}</nowiki></code>
{{youtube| https://youtu.be/CBttHicGbek}}
+
{{youtube| https://www.youtube.com/embed/CBttHicGbek}}
 
</noinclude><includeonly><div class="youtube-placeholder" data-url="{{{1}}}">Loading Video ...</div></includeonly>
 
</noinclude><includeonly><div class="youtube-placeholder" data-url="{{{1}}}">Loading Video ...</div></includeonly>

Revision as of 17:11, 22 October 2019

This template allows you to embed a Youtube video in a page. Note that the URL must be an "embed" URL (ie. it should start with the Youtube URL, followed by "/embed/", then the video ID).

Example

{{youtube | https://www.youtube.com/embed/CBttHicGbek}}

Loading Video ...