More actions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><!-- | ||
<div class="floatright" style="max-width:{{{width}}}px; display:flex; flex-direction:column; gap:5px; justify-content:center; text-align:center;"> | --><div class="floatright" style="max-width:{{{width}}}px; display:flex; flex-direction:column; gap:5px; justify-content:center; text-align:center;"> | ||
{{#tag:html| <iframe style="width:auto; height:auto; aspect-ratio:16/9;" width="{{{width}}}" height="200" src="https://www.youtube.com/embed/{{{ytVideoId}}}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>}} | {{#tag:html| <iframe style="width:auto; height:auto; aspect-ratio:16/9;" width="{{{width}}}" height="200" src="https://www.youtube.com/embed/{{{ytVideoId}}}" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>}}<!-- | ||
<span style="font-size:85%">[https://youtu.be/{{{ytVideoId}}} {{{videoName}}}]</span> | --><span style="font-size:85%">[https://youtu.be/{{{ytVideoId}}} {{{videoName}}}]</span><!-- | ||
</div> | --></div><!-- | ||
</includeonly> | --></includeonly> | ||
<noinclude> | <noinclude> | ||
{{Video | {{Video |
Revision as of 10:42, 7 April 2025
YouTube video embeds
{{Video |videoName = IZ*ONE Panorama |ytVideoId = G8GaQdW2wHc }}
YouTube video embed (fixed to the right of page)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Video Name | videoName Video Name | The name of the video that will appear below the embed
| String | required |
YouTube Video ID | ytVideoId YouTube Video ID | The ID of the video you want to embed
| String | required |
Video width | width | Width of video in pixels
| Number | optional |