No categories assigned

Embed video

      • No status information
Revision as of 17:26, 18 June 2020 by goteach>Mlink-rodrigue


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

Default
empty
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

Default
empty
Example
empty
Auto value
Unknownrequired
Dimensionsdimensions

Dimensions in pixelsto size the container for the player.

Default
640
Example
480, 480x320
Auto value
empty
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.

Default
empty
Example
left, center, right, or inline
Auto value
empty
Unknownoptional
Descriptiondescription

Shows a description below the player container.

Default
empty
Example
Departure to Mars
Auto value
empty
Unknownoptional
Containercontainer

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

Default
empty
Example
frame
Auto value
empty
Unknownoptional
Autoresizeautoresize

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

Default
true
Example
true, false
Auto value
empty
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.

Default
empty
Example
top, middle, bottom, baseline
Auto value
empty
Unknownoptional

Attachments

Discussions