Widget

Widget:Video

Revision as of 14:48, 17 November 2025 by Leonie (talk | contribs) (use div to center iframe)

<iframe width="560" height="315" align="middle" src="https://www.youtube.com/embed/" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>


Usage

Embed a YouTube Video using a iframe


Notes:

  • see also: IFrame Player API
  • to generate a similiar snippet as above, go to the share button and click embed (you can remove the si=xyz stuff)
  • the div around the iframe is used to center it
{{#widget:Video|videoId=D46KCQNDMaM7}}