Widget:YouTube: Difference between revisions
SGPolitico (talk | contribs) (Created page with "<noinclude> This widget embeds a YouTube video. Usage: {{#widget:YouTube|id=VIDEOID}} Optional: |width=560 |height=315 </noinclude><includeonly><div class="embedvideo" style="max-width:<!--{$width|560}-->px;"> <iframe width="<!--{$width|560}-->" height="<!--{$height|315}-->" src="https://www.youtube-nocookie.com/embed/<!--{$id}-->" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share...") |
SGPolitico (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
This widget embeds a YouTube video. Usage: | This widget embeds a YouTube video. Usage: | ||
{{#widget:YouTube|id=VIDEOID}} | {{#widget:YouTube|id=VIDEOID}} | ||
</noinclude><includeonly><div class="embedvideo" style="max-width:560px;"> | |||
</noinclude><includeonly><div class="embedvideo" style="max-width: | <iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/<!--{$id}-->" title="YouTube video player" frameborder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> | ||
<iframe width=" | |||
</div></includeonly> | </div></includeonly> | ||
Latest revision as of 06:12, 28 June 2026
This widget embeds a YouTube video. Usage: