Video

Availability

[SINCE Orbeon Forms 2023.1]

What it does

The fr:video component shows a video. Like fr:image, fr:video doesn't have an associated upload control and cannot be changed by the end-user of a form.

Basic usage

<fr:video bind="my-video-bind">
    <xf:label ref="$form-resources/my-video/label"/>
</fr:video>

The URL of the video is stored in instance data via a single-node binding, here using bind.

Form Runner usage

When in the Form Runner context, fr:video retrieves the resource while passing the Orbeon-Form-Definition-Version HTTP header when available.

Limitations

In PDF output, the Video component currently doesn't show any content. Ideally, it should show a still of the video.

See also

Last updated