Template:Video: Difference between revisions
From Business Heroes Food Truck Simulation
			Wikiworks743 (talk | contribs) No edit summary  | 
				Wikiworks743 (talk | contribs)  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": "  | 			"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": "  | 			"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
 
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 |