Embed video

Revision as of 12:28, 18 June 2020 by Margit Link-Rodrigue (talk | contribs) (Created page with "<includeonly>{{#evt:service={{{service}}} |id={{{videourl}}} |dimensions={{{dimensions}}} |{{#if: {{{description|}}}|description={{{description}}}|}} |{{#if: {{{alignm...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Embeds a single external video on the page.

Template parameters

ParameterDescriptionTypeStatus
Serviceservice

Name of the video service (supported services only)

Example
youtube, vimeo, ted, facebook
Auto value
youtube
Unknownrequired
URL of the videovideourl

URL to the external video

Example
https://www.youtube.com/watch?v=MLIE2642neg
Auto value
Unknownrequired
Dimensionsdimensions

Dimensions in pixelsto size the container for the player. The default format is width x height. It is possible to omit one of the dimensions. The x always has to be included before the height.

Default
640
Example
480, 480x320, x320
Unknownoptional
Alignmentalignment

The video can be placed left, center, right, or inline. Inline allows to add multiple videos in one row. In mobile view, the videos are automatically aligned vertically.

Example
left, center, right, or inline
Unknownoptional
Descriptiondescription

Shows a description below the player container.

Example
Departure to Mars
Unknownoptional
Containercontainer

Determines the container type for the player. The value frame places the video player in a Mediawiki preview box.

Example
frame
Unknownoptional
Autoresizeautoresize

Automatically adjusts the video size if the video would extend beyond the size of the container.

Default
true
Example
true, false
Unknownoptional
Vertical alignmentvalignment

Aligns the vertical placement of the video either to the top, middle, bottom, or baseline of the parent element. Using this parameter forces the alignment parameter to be inline.

Example
top, middle, bottom, baseline
Unknownoptional