Last edited 3 years ago
by Redaktion

Embed video

Revision as of 12:00, 20 December 2021 by Redaktion (talk | contribs) (Created page with "<includeonly>{{#ifeq: {{{hostingtype|}}}|external|{{#evt:service={{{service}}} |id={{{videopath}}} |dimensions={{{dimensions}}} |{{#if: {{{description|}}}|description={{{de...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Embeds a single external video on the page.

Template parameters

ParameterDescriptionTypeStatus
Hosting typehostingtype

Indicates if the video is stored on the wiki or on a video streaming service.

Default
external
Example
external, wiki
Auto value
external
Unknownrequired
Serviceservice

Name of the video service (supported services only). For local videos use wiki

Example
youtube, wiki, vimeo, ted, facebook
Auto value
youtube
Unknownrequired
URL of the external video or file name of the internal videovideopath

Path to the video

Auto value
Unknownrequired
Dimensionsdimensions

Dimensions in pixelsto size the container for the player.

Default
640
Example
480, 480x320
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