Template:Video Embed

Revision as of 23:38, 14 August 2023 by Boumi (talk | contribs) (Add template data)


Add an embed video

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Streaming serviceservice

Video service of the video you want to embed

Suggested values
youtube archiveorg dailymotion nico rutube twitch vimeo
Example
youtube
Stringrequired
URLurl

URL of the embed video

Example
https://www.youtube.com/watch?v=dQw4w9WgXcQ
URLrequired
Dimensionsdimensions

Dimensions in pixels to size the embed container. The standard format is width x height where either can be omitted, but the x must proceed height to indicate it as the height.

Example
480, 480x320, x320. If the height is not provided it will be calculated automatically from the width and service default ratio
Stringoptional
Alignmentalignment

Align the placement of the video either to the left, centered, or to the right. Inline will allow multiple videos to display side by side without forced line breaks

Suggested values
left center right inline
Example
left, center
Stringoptional
Descriptiondescription

Display a description under the embed container. For line breaks use 


Example
some wikitext
Contentoptional
Containercontainer

Specifies the container type to use for the embed

Suggested values
frame
Example
frame — Wrap the video player in a MediaWiki thumbnail box
Stringoptional