Template:Video

From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
EmbedVideo is missing a required parameter.

Display video from YouTube or similar website. Use Insert Media instead for videos uploaded to MEpedia.

Template parameters

ParameterDescriptionTypeStatus
id or linkid url video link 2 id

link to video (or video id for vimeo)

Example
https://www.youtube.com/watch?v=79BaSpvHywI OR 24683179 (vimeo)
URLrequired
websiteservice website youtube vimeo type source 1

name of video service - facebook, HTML5 and UK parliament live not supported

Default
youtube
Example
youtube, ted, dailymotion, vimeo
Auto value
youtube
Unknownrequired
widthdimensions width w size

width in pixels

Example
550
Auto value
550
Numbersuggested
descriptiondescription

Description including who is shown, location, and date. Can use wikitext.

Example
Hope for a better future. [[Linda Crowhurst]], May 2015.
Unknownsuggested
alignmentalignment left right align

horizontal alignment

Example
right
Auto value
right
Unknownsuggested
urlargsurlargs start arguments autoplay parameters other 5 urlarg

Arguments to turn off autoplay, and set an optional start time. YouTube example sets start time to 22s, and shows only related videos from the same channel.

Default
start=0&rel=0&autoplay=0
Example
start=22&rel=0&autoplay=0
Auto value
start=0&rel=0&autoplay=0
Unknownsuggested
template icon Template documentation[view] [edit] [history] [purge]

Extension[edit source]

This template uses mw:Extension:EmbedVideo.

parser tags[edit source]

only #ev: works, do not use #evt:.

2019-01-28[edit source]

URL arguments like start time and not displaying related videos from other channels appear to be ignored.

Use the #ev parser function instead

See also[edit source]