Template:Ytv: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
<iframe width="425" height="349" src="https://www.youtube.com/embed/{{{1|-tPePpMxJaA}}}" title="{{{3|YouTube video player}}}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | <iframe width="425" height="349" align="{{{2|right}}}" src="https://www.youtube.com/embed/{{{1|-tPePpMxJaA}}}" title="{{{3|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 16:21, 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.