2022-05-13 19:38:30 +02:00

22 lines
866 B
Markdown

# Player Templates
Affected files: `(clappr|videojs)/player.html`, `oembed.json`, and `oembed.xml`.
The templates are interpreted with [handlebars](https://handlebarsjs.com/).
The following placeholders will be replaced by their respective value:
| Placeholder | Description |
| ----------- | ----------------------------------------- |
| name | The user-given name of the ingest. |
| description | The user-given description of the ingest. |
| iframecode | The HTML iframe code for the player. |
| poster | The URL to the latest snapshot image. |
| width | The width of the video/poster. |
| height | The height of the video/poster. |
# File list
Each player directory has a `files.txt` that contains a list of files, that need to
be copied besides the `player.html`.