Template:YouTube

From SPCodex, The Smashing Pumpkins wiki

Embed a YouTube video

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
YouTube video ID1

This is the alphanumeric code that follows the v= in the URL of the YouTube video.

Stringrequired
Description2

Optional description to show below the video

Contentoptional
Positionfloat position

Either 'left', 'right' or 'none'

Auto value
right
Stringsuggested
Widthwidth

Width of the embedded video. Does not automatically scale with the height.

Auto value
400
Unknownoptional
heightheight

Height of embedded video. Does not automatically scale with the width.

Auto value
240
Unknownoptional