Template:EmbedVideo

From Tempest Rising Wiki
Jump to navigation Jump to search
Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)
Editors can experiment in this template's sandbox and test case pages.

This template is wrapper for the EmbedVideo extension.

The source and usage text are copied from the Ace Combat Wiki.

Usage

{{EmbedVideo|Video ID|Description}}

Parameters

Parameter Description Type Status
ID 1 The raw ID of the video, or the video's URL from the player page. String required
Service service The video service to call; see the full list at https://www.mediawiki.org/wiki/Extension:EmbedVideo#Supported_services
Default
youtube
String optional
URL Arguments args Allows extra URL arguments to be appended to the generated embed URL. This is useful for obscure options only supported on one service.
Example
t=120&end=150
String optional
Dimensions dim Dimensions, in pixels, to size the embed container. Follows standard file dimension declaration (WIDTH, WIDTHxHEIGHT, or xHEIGHT)
Default
300
Example
480x360
String optional
Description 2 Display a wikitext description under the embed container. For line breaks use "
" without quotation marks. Content optional
Horiz. Alignment align Align the placement of the video either to the left, centered, or to the right. The default, inline, will allow multiple videos to display side-by-side without forced line breaks.
Default
inline
Unknown optional
Vert. Alignment vertical Align the vertical placement of the video either to the top, middle, bottom, or baseline of the parent element. Using this parameter forces Horiz. Alignment to be inline. String optional