Template:Ytv: Difference between revisions

From Custom Pinball Index
Jump to navigation Jump to search
(Created page with "<html> <object width="425" height="349" hspace="5" vspace="20" align="</html>{{{2|none}}}<html>"><center><font size="-2"></html>{{{3|}}}<html></font></center><param name="movie" value="http://www.youtube.com/v/</html>{{{1|-tPePpMxJaA}}}<html>&hl=en&fs=1&color1=0xff0000&color2=0xff0000&border=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/</html>{{{1|-tPePpMxJaA}}}<html>&hl=en&fs=1&color1=0x0000aa&color2=0xf5faff&border=...")
 
No edit summary
Line 1: Line 1:
<html>
<html>
<object width="425" height="349" hspace="5" vspace="20" align="</html>{{{2|none}}}<html>"><center><font size="-2"></html>{{{3|}}}<html></font></center><param name="movie" value="http://www.youtube.com/v/</html>{{{1|-tPePpMxJaA}}}<html>&hl=en&fs=1&color1=0xff0000&color2=0xff0000&border=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/</html>{{{1|-tPePpMxJaA}}}<html>&hl=en&fs=1&color1=0x0000aa&color2=0xf5faff&border=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="349"></embed></object>
<iframe width="425" height="349" src="https://www.youtube.com/embed/{{{1|-tPePpMxJaA}}}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</html><noinclude>
</html><noinclude>
----
----

Revision as of 17:14, 4 December 2022


This template is used for linking YouTube videos

Usage: {{ytv|code|(none,top,middle,bottom,left,right)|caption)}}

When you see a YouTube URL like this:

http://www.youtube.com/watch?v=-tPePpMxJaA

The bold part is the "code" (parameter one), the second (optional) parameter is how to align the video.