Template:Video: Difference between revisions
From Business Heroes Food Truck Simulation
Wikiworks743 (talk | contribs) No edit summary |
Wikiworks743 (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div class="video-wrapper">{{#evu: {{{url| | <includeonly><div class="video-wrapper">{{#evu: {{{url|}}} |urlargs={{#if:{{{start|}}}{{{end|}}}|start={{{start|}}}&end={{{end|}}}}} |autoresize=true |alignment=center |description={{{description|}}} }}</div></includeonly><noinclude> | ||
;Code | ;Code | ||
<pre> | <pre> | ||
Revision as of 00:31, 20 December 2022
- Code
{{video
|url=https://www.youtube.com/watch?v=A5c5KzR4gwc
|description=Copyright of Stanford University
|start=05
|end=65
}}
- Result
To simplify video embedding. We want all video containers to be centered and full width.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Video URL | url | The video URL. | URL | required |
| Description | description | The second unnamed parameter is video caption. | Unbalanced wikitext | suggested |
| Start from, sec | start | The timestamp to start at, seconds. | String | optional |
| Play until, sec | end | The timestamp to stop at, seconds. | String | optional |