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=" | <includeonly><div class="video-wrapper">{{#evu: {{{url|}}}|service={{{service|youtube}}}|urlargs={{#if:{{{start|}}}{{{end|}}}|start={{{start|}}}&end={{{end|}}}}}|autoresize={{{autoresize|true}}}|alignment={{{alignment|center}}}|description={{{description|}}} }}</div></includeonly><noinclude> | ||
;Code | ;Code | ||
<pre> | <pre> |
Revision as of 00:22, 20 December 2022
- Code
{{video |url=https://www.youtube.com/watch?v=A5c5KzR4gwc |description=Copyright of Stanford University |start=5 |end=65 }}
- Result
To simplify video embedding.
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. | Number | optional |
Play until, sec | end | The timestamp to stop at, seconds. | Number | optional |
Autoresize | autoresize | no description
| Boolean | optional |
Alignment | alignment | no description
| String | optional |