Template:YouTube video

From comp.tf
Revision as of 16:39, 25 August 2013 by Thesupremecommander (talk | contribs) (attempted a fix)
Jump to navigation Jump to search
Youtube icon.png

<html><iframe width="640" height="480" src="//www.youtube.com/embed/{{{1}}}?rel=0" frameborder="0" allowfullscreen></iframe></html>

Usage

  • {{YouTube video|LdeDXLuEqQw|text}} generates

<html><iframe width="640" height="480" src="//www.youtube.com/embed/LdeDXLuEqQw?rel=0" frameborder="0" allowfullscreen></iframe></html>

  • {{YouTube video|LdeDXLuEqQw}} generates
Youtube icon.png

<html><iframe width="640" height="480" src="//www.youtube.com/embed/LdeDXLuEqQw?rel=0" frameborder="0" allowfullscreen></iframe></html>

  • {{YouTube video|LdeDXLuEqQw|text=ESEA S14 LAN Grand Finals Map 3: Viaduct}} generates

<html><iframe width="640" height="480" src="//www.youtube.com/embed/LdeDXLuEqQw?rel=0" frameborder="0" allowfullscreen></iframe></html>