Template:Video
Display video using a wiki file or verified archive sources.
Usage
{{Video|file=Milady ape.mp4|label=Milady ape|width=400}}
For an uploaded file, supply file (or positional parameter 1). MediaWiki supplies the file link and its native image or media presentation. Use ordinary [[File:...]] syntax when a reusable template is unnecessary.
For a source held in an archive, omit file and supply the archive identity parameters below. Source filenames and SHA-256 values must match the archive's retained records; imports should fill these fields from verified source bindings. The storage backend does not change the template's purpose.
Playback requires reader interaction. Uploaded files use the wiki's configured media handler. Ordered archive sources must occupy consecutive slots.
Loop and muted apply to both source types. Source-poster options apply to archive sources; uploaded videos use thumbtime. The archive video backend must be installed before importing those sources.
Parameters
Display video using a wiki file or verified archive sources.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Wiki file | file 1 | Uploaded media filename, with or without File:. Use this or archive sources. | File | optional |
| Archive site | site | Archive site. Used with archive sources. | String | optional |
| Accessible label | label | Short descriptive label for the player, also displayed as its caption. | String | required |
| Display width | width | Maximum display width in whole pixels, from 1 to 16384. | Number | optional |
| Display height | height | Maximum display height in whole pixels, from 1 to 16384. | Number | optional |
| Loop | loop | Boolean: yes/true/1 enables; no/false/0 disables. Playback still requires reader interaction. | Boolean | optional |
| Muted | muted | Boolean: yes/true/1 enables; no/false/0 disables. Playback still requires reader interaction. | Boolean | optional |
| Poster SHA-256 | poster_sha256 | Poster SHA-256. Used with archive sources. | String | optional |
| Poster source filename | poster_filename | Poster source filename. Used with archive sources. | File | optional |
| Source 1 SHA-256 | source1_sha256 | Source 1 SHA-256. Used with archive sources. | String | optional |
| Source 1 type | source1_type | Source 1 type. Used with archive sources.
| String | optional |
| Source 1 filename | source1_filename | Source 1 filename. Used with archive sources. | File | optional |
| Source 2 SHA-256 | source2_sha256 | Source 2 SHA-256. Used with archive sources. | String | optional |
| Source 2 type | source2_type | Source 2 type. Used with archive sources.
| String | optional |
| Source 2 filename | source2_filename | Source 2 filename. Used with archive sources. | File | optional |
| Source 3 SHA-256 | source3_sha256 | Source 3 SHA-256. Used with archive sources. | String | optional |
| Source 3 type | source3_type | Source 3 type. Used with archive sources.
| String | optional |
| Source 3 filename | source3_filename | Source 3 filename. Used with archive sources. | File | optional |
| Source 4 SHA-256 | source4_sha256 | Source 4 SHA-256. Used with archive sources. | String | optional |
| Source 4 type | source4_type | Source 4 type. Used with archive sources.
| String | optional |
| Source 4 filename | source4_filename | Source 4 filename. Used with archive sources. | File | optional |
| Start | start | Wiki files only: time in seconds or HH:MM:SS, passed to the wiki's media handler. | String | optional |
| End | end | Wiki files only: time in seconds or HH:MM:SS, passed to the wiki's media handler. | String | optional |
| Thumbtime | thumbtime | Wiki files only: time in seconds or HH:MM:SS, passed to the wiki's media handler. | String | optional |