"html5video" Macro

Last modified by superadmin on 2026/11/25 21:26

Plays a video attachment in the browser's native player, as the change displayers do for the screencasts of a change.

Reference

Description

The change displayers call this macro 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

NameMandatoryAllowed ValuesDefault ValueDescription
attachmentYesAn attachment referenceN/AThe video to play, for example my-screencast.mp4 or [email protected]
widthNoA 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.

Related

Get Connected