Open main menu

Template:Video

Revision as of 20:34, 6 January 2017 by Freephile (talk | contribs) (Created page with "{{#evt: service=youtube |id={{{1}}} |alignment=right }} <noinclude> The Video template makes it easy to copy a YouTube video URL and embed it in your wiki page. == Usage == Ju...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
EmbedVideo received the bad id "{{{1}}}" for the service "youtube".

The Video template makes it easy to copy a YouTube video URL and embed it in your wiki page.

Usage

Just call the template with the full YouTube (or other service) address of the video to embed.

Like this:

{{Video|https://www.youtube.com/watch?v=pSsYTj9kCHE}}

That will expand to

{{#evt:
service=youtube
|id=https://www.youtube.com/watch?v=pSsYTj9kCHE
|alignment=right
}}

which uses the Embed Video parser tag for templates to produce


Embed Video Documentation

https://www.mediawiki.org/wiki/Extension:EmbedVideo#.23evt_-_Parser_Tag_for_Templates