"html5video" Macro
Last modified by Vincent Massol on 2026/08/28 22:09
Reference
Description
Plays a video attachment with the browser's native player. The change displayers call it for the mp4 and webm files listed among a change's screenshots, which is how a change can be illustrated by a short screencast rather than a still picture.
Usage
{{html5video attachment="..." width="..."/}}Parameters
| Name | Mandatory | Allowed Values | Default Value | Description |
|---|---|---|---|---|
| attachment | Yes | An attachment reference | N/A | The video to play, for example my-screencast.mp4 or [email protected] |
| width | No | A number of pixels | (empty) | The width of the player. Left empty, the player takes its natural size |
Examples
Example 1: A video attached to the same page
{{html5video attachment="my-screencast.mp4"/}}Example 2: A video of another page, at a fixed width
{{html5video attachment="[email protected]" width="640"/}}FAQ
Do I have to call it myself to show a video in a change?
No. List the video among the change's screenshots and the displayers call the macro for you; see Add a Change to a Release Note.