Template:Youtube
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Extension[edit source]
This template uses mw:Extension:EmbedVideo
parser tags[edit source]
only #ev: works, do not use #evt:.
Example[edit source]
Remember to add {{clear}} after!
{{Youtube|id=https://youtube.com/watch?v=xUwU-e79hPk|description=The Lightning Process by [[David Tuller]], Oct 2019.|alignment=left}}{{clear}}
See also[edit source]
- Template:Video
- Help:Video for a list of all websites that can be used.
- mw:Extension:EmbedVideo
The above documentation is transcluded from Template:Youtube/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Embed YouTube video, defaults to width 400px, framed, right aligned, blank description, autoplay off
Parameter | Description | Type | Status | |
---|---|---|---|---|
YouTube link | id url video 1 | no description
| URL | required |
description | description 2 description | Description and name of video creator | Unknown | suggested |
align | alignment align 3 | no description
| Unknown | suggested |
width | dimensions w 4 width | width in px, eg 600
| Unknown | suggested |
urlargs | urlargs 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.
| Unknown | suggested |