Template:Video
This template implements the video embedding for use on the Videos namespace. This template formats the entire page for display.
Other templates
The templates below are meant for the Video namespace. For placing videos within an article, use the Template:Video inline and it's matching Template:Video demo.
Helper Templates
Use {{Video demo}} at the top of the page to link to the video section.
There are some helper templates for videos for various service providers. They all mostly use the same syntax below. If possible, please use one of the following templates:
Using video service specific templates helps with better Help:SEO such as automatically fetching the correct thumbnail image for the page.
Examples
This links to a video on youtube with id 'pDNnjiRjxp4':
{{video youtube |id=ohPPU2SnII0 |description=A video on using the Digitrax decoder tester. More details at [[Decoder_Tester|Decoder Tester]]. |summary=A video on using the Digitrax decoder tester, from the DCCWiki article on decoder testers. |article=[[Decoder_Tester|Decoder Tester]] |category=Decoder }}
To use this template to get nearly the same results, use the example below. This example looks vary similar, but some SEO attributes will be missing.
{{video |service=youtube |description=A video on using the Digitrax decoder tester. More details at [[Decoder_Tester|Decoder Tester]]. |summary=A video on using the Digitrax decoder tester, from the DCCWiki article on decoder testers. |article=[[Decoder_Tester|Decoder Tester]] |category=Decoder }}
Arguments
List of arguments:
Attribute | Description | Example |
---|---|---|
service="(See Supported Services below.)"
|
Required: yes
|
service=youtube |
id="[id|url]"
|
Required: yes
|
id=ohPPU2SnII0 |
article="[wiki text]"
|
Required: yes
|
article=[[Decoder_Tester|Decoder Tester]] |
seealso="[wiki text]"
|
Required: No
|
seealso= * [[Decoders]] * [[Boosters]] |
description="[wiki text]"
|
Required: yes
|
description=A video on using the Digitrax decoder tester. More details at Decoder Tester. |
summary="[wiki text]"
|
Required: no, but STRONGLY encouraged
|
summary=A video on using the Digitrax decoder tester, from the DCCWiki article on decoder testers. |
category="[wiki text]"
|
Required: no
|
category=Decoder |
urlargs="modestbranding=1&version=3"
|
Required: no, Default: none
|
Supported services
As of version 2.x, EmbedVideo supports embedding video content from the following services:
Site | Service name(s) | ID example | URL example(s) | Notes |
---|---|---|---|---|
Archive.org Videos | archiveorg
|
electricsheep-flock-244-80000-6 | https://archive.org/embed/electricsheep-flock-244-80000-6 | |
Bambuser | bambuser
|
5262334 | http://bambuser.com/v/5262334 | Broadcasts |
bambuser_channel
|
Channels | |||
Beam | beam
|
RocketBear | https://beam.pro/RocketBear | Streams |
Bing | bing
|
31ncp9r7l | http://www.bing.com/videos/watch/video/adorable-cats-attempt-to-eat-invisible-tuna/31ncp9r7l | |
Blip.tv | blip
|
http://blip.tv/vinylrewind/review-6864612 | Blip requires the full URL to the video page and does not accept the raw ID. | |
C3TV | mediacccde
|
32c3-7305-quantum_cryptography | https://media.ccc.de/v/32c3-7305-quantum_cryptography | |
CollegeHumor | collegehumor
|
6875289 | http://www.collegehumor.com/video/6875289/batman-says-his-goodbyes | |
Dailymotion | dailymotion
|
x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms | http://www.dailymotion.com/video/x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms | |
Daum TVPot | tvpot - Obtain the URL or ID from the share menu URL.
|
s9011HdLzYwpLwBodQzCHRB | http://tvpot.daum.net/v/s9011HdLzYwpLwBodQzCHRB | |
Div Share | divshare
|
|||
Edutopia | Edutopia content moved to YouTube. Please use the YouTube service selector below. | |||
FunnyOrDie | funnyordie
|
c61fb67ac9 | http://www.funnyordie.com/videos/c61fb67ac9/to-catch-a-predator-elastic-heart-edition | |
Gfycat | gfycat
|
BruisedSilentAntarcticfurseal | http://www.gfycat.com/BruisedSilentAntarcticfurseal | |
Hitbox | hitbox
|
Washuu | http://www.hitbox.tv/Washuu | |
JW Player | jwplayer
|
cr5d8nbu-8ZpoNmmJ | https://content.jwplatform.com/players/cr5d8nbu-8ZpoNmmJ.html | |
Kickstarter | kickstarter
|
elanlee/exploding-kittens | https://www.kickstarter.com/projects/elanlee/exploding-kittens | |
Metacafe | metacafe
|
11404579 | http://www.metacafe.com/watch/11404579/lan_party_far_cry_4/ | |
Nico Nico Video | nico
|
sm24394325 | http://www.nicovideo.jp/watch/sm24394325 | |
RuTube | rutube
|
b698163ccb67498db74d50cb0f22e556 | http://rutube.ru/video/b698163ccb67498db74d50cb0f22e556/ | |
SoundCloud | soundcloud
|
https://soundcloud.com/skrillex/skrillex-rick-ross-purple-lamborghini | SoundCloud requires the full URL. | |
TeacherTube | teachertube
|
370511 | http://www.teachertube.com/video/thats-a-noun-sing-along-hd-version-370511 | |
TED Talks | ted
|
bruce_aylward_humanity_vs_ebola_the_winning_strategies_in_a_terrifying_war | http://www.ted.com/talks/bruce_aylward_humanity_vs_ebola_the_winning_strategies_in_a_terrifying_war | |
Tubi TV | tubitv
|
318409 | http://tubitv.com/video/318409 | |
Tudou | tudou
|
mfQXfumwiew | http://www.tudou.com/listplay/mfQXfumwiew.html | |
Twitch | twitch
|
twitchplayspokemon | http://www.twitch.tv/twitchplayspokemon | Live Streams |
twitchvod
|
Archived Videos on Demand | |||
Videomaten | videomaten
|
|||
Vimeo | vimeo
|
105035718 | http://vimeo.com/105035718 | |
Vine | vine
|
h2B7WMtuX2t | https://vine.co/v/h2B7WMtuX2t | |
Yahoo Screen | yahoo
|
katy-perry-dances-sharks-2015-024409668 | https://screen.yahoo.com/videos-for-you/katy-perry-dances-sharks-2015-024409668.html | |
YouTube | youtube
|
pSsYTj9kCHE | https://www.youtube.com/watch?v=pSsYTj9kCHE | Single videos |
youtubeplaylist
|
https://www.youtube.com/watch?v=CW_PbErQ_c8&list=PL76E80C7F756A2047 | Playlists | ||
youtubevideolist
|
https://www.youtube.com/watch?v=CW_PbErQ_c8&playlist=CW_PbErQ_c8,CW_PbErQ_c8 | Video list | ||
Youku | youku
|
XODc3NDgzMTY4 | http://v.youku.com/v_show/id_XODc3NDgzMTY4.html |
The above documentation is transcluded from Template:Video/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |