Template:Video

From Electrical Installation Guide
Revision as of 13:06, 25 November 2024 by LMischler (talk | contribs) (Added new parameter to indicate the closed-caption language to use - info added to the YouTube link in the embedded videos using this template (same as deployed in DE wiki))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Used to embed a YouTube video inside a page (as a right floating element)

Template parameters

ParameterDescriptionTypeStatus
IDid 1

YouTube video ID

Default
W_AtINVj5x0
Example
W_AtINVj5x0
Stringrequired
Playlistplaylist 2

Optionally add this parameter (YouTube playlist ID) to view in "playlist" mode, eg next video starts automatically

Default
PLa7UGrWOTyjnuRAZcaIVEtgbmQ61qYzT_
Example
PLa7UGrWOTyjnuRAZcaIVEtgbmQ61qYzT_
Stringsuggested
Floatfloat 3

Optional parameter for video float position (left/right)

Default
right
Example
left
Stringsuggested
Closed caption languagecc_lang 4

The subtitle language to add in the url link

Suggested values
en
Default
en
Example
de
Stringoptional