(이 문서는 미디어위키의 Extension:EmbedVideo 문서를 번역한 내용이 포함되어 있습니다.)
속성
|
설명
|
service="(See Supported Services below.)"
|
필수: yes
- The video service to call.
|
id="[id|url]"
|
필수: yes
- The raw ID of the video or URL from the player page.
|
dimensions="[WIDTH|WIDTHxHEIGHT|xHEIGHT]"
|
필수: no, 디폴트값: 640
- 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.
- Examples:
480 , 480x320 , x320 . If the height is not provided it will be calculated automatically from the width and service default ratio.
- Some services such as Gfycat do not have standard heights and should be specified for each embed.
$wgEmbedVideoDefaultWidth can be set in LocalSettings.php to override the default width.
|
alignment="[left|center|right|inline]"
|
필수: no, 디폴트값: none
- 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.
|
description="[wiki text]"
|
필수: no, 디폴트값: none
- Display a description under the embed container.
|
container="[frame]"
|
필수: no, 디폴트값: none
- Specifies the container type to use for the embed.
frame : Wrap the video player in a Mediawiki thumbnail box.
|
urlargs="modestbranding=1&version=3"
|
필수: no, 디폴트값: none
- Allows extra URL arguments to be appended to the generated embed URL. This is useful for obscure options only supported on one service.
|
autoresize="false"
|
필수: no, 디폴트값: true
- Automatically resize videos when their size will cause them to break outside of their container element.
|
사용 가능한 service 목록 및 사용법은 Extension:EmbedVideo#Supported_Services 참조. Youtube, Twitch, Vine, TED talks, Vimeo 등 생각보다 여러가지 채널 활용이 가능합니다.