Template:EmbedYT

From Poupedia
Jump to navigation Jump to search


This template's main purpose is to embed YouTube videos.

Parameters

  • id: Link/ID of the video.
  • s: sets the width of the embedded video, e.g. 500 for a 500px wide container, 500x400 for a 500px wide and 400px tall container, x400 for a 400px tall container (default is 90%).
  • a: sets the alignment of the video (default is center).

Check this Community Central help page for more information about the video embed extension.

Example of use

Code

{{EmbedYT|id=https://youtube.com/watch?v=zcbJvkJtP6M|s=500|a=center}}

Result