Widget:YouTube

From WikiEducator
Jump to: navigation, search

Make a clickable link to a YouTube (or other external) video.

Normally you should use Template:YouTube which wraps this bit of low level infrastructure to provide more authoring convenience.

Parameters

id
YouTube video id or a complete URL specifying an external video
t
start time in seconds (default: 0, only applies to YouTube)
width
width of player in px (default: 425)
height
height of player in px (default: 355)
title
string for title bar (default YouTube title)
thumbnail
filename of static image (e.g. File:Makorori hedgehog.jpg, default: YouTube thumbnail for CC-BY videos, black screen for other licenses or external videos)
list
id of list of related videos (optional, only for YouTube)
index
index in the list of related videos (optional, only relevant if list parameter is set)
target
if non-blank, open in a new window