Template:Video: Difference between revisions

From Business Heroes Food Truck Simulation
No edit summary
No edit summary
Line 35: Line 35:
"label": "Start from, sec",
"label": "Start from, sec",
"description": "The timestamp to start at, seconds.",
"description": "The timestamp to start at, seconds.",
"type": "number"
"type": "string"
},
},
"end": {
"end": {
"label": "Play until, sec",
"label": "Play until, sec",
"description": "The timestamp to stop at, seconds.",
"description": "The timestamp to stop at, seconds.",
"type": "number"
"type": "string"
}
}
},
},

Revision as of 00:30, 20 December 2022

Code
{{video
|url=https://www.youtube.com/watch?v=A5c5KzR4gwc
|description=Copyright of Stanford University
|start=05
|end=65
}}
Result
Copyright of Stanford University

To simplify video embedding. We want all video containers to be centered and full width.

Template parameters

ParameterDescriptionTypeStatus
Video URLurl

The video URL.

URLrequired
Descriptiondescription

The second unnamed parameter is video caption.

Unbalanced wikitextsuggested
Start from, secstart

The timestamp to start at, seconds.

Stringoptional
Play until, secend

The timestamp to stop at, seconds.

Stringoptional