Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

Captions and media

For public bodies that publish video and audio - what Exponential's media datatype renders (HTML5 video and audio among older plugin types, with autoplay, loop and controls options, but no caption track), and how to…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/accessibility/captions-and-media.md

On this page

Captions and media

This page is for editors who publish recordings (council meetings, explainer videos, podcasts), and the designers and developers who render them. WCAG 2.2 level AA asks for captions on prerecorded and live video with sound, a transcript or audio description, and a way to stop audio that plays by itself (1.2.1 to 1.2.5, 1.4.2; https://www.w3.org/TR/WCAG22/).

Contents

  1. What the media field renders
  2. Providing captions
  3. Transcripts and audio description
  4. Embedded players from other services
  5. A checklist
  6. Related pages

What the media field renders

The media datatype (ezmedia) is rendered by design/standard/templates/content/datatype/view/ezmedia.tpl. It knows several player types; the current ones are HTML5 video and HTML5 audio, which write <video> and <audio> elements with the file from content/download. The field's options become attributes:

Option of the media fieldHTML attribute
Autoplayautoplay
Looploop
Controllercontrols

The other types (Flash, QuickTime, Windows Media Player, Real Player, Silverlight) write plugin markup that current browsers no longer support; do not use them for new content.

The standard template writes no <track> element, so a caption file cannot be attached through the media field as shipped.

Providing captions

Choose one of these, and write it into your editor guidelines:

  1. Open captions: burn the captions into the video before upload. Works everywhere, cannot be switched off.
  2. A caption track in your design: a developer overrides the media template for your design and adds a <track kind="captions"> pointing to a WebVTT file, for example from a second file field in a video class of your own. This is template work in your design, not a built-in feature.
  3. An external video platform whose player supports captions, embedded in the page (see below).

Always: turn Controller on, and Autoplay off (WCAG 1.4.2 and plain courtesy).

Transcripts and audio description

  • Publish a transcript as text on the same page, under the player, or as a linked page. For audio-only content (podcasts), the transcript is the accessible alternative.
  • For videos whose picture carries information not spoken aloud (a slide with figures), provide audio description or a text description of the visual content.
  • For recordings of meetings, the minutes are not a transcript; publish both if both exist.

Embedded players from other services

Embedding a video platform's player brings its accessibility (and its privacy and Content Security Policy implications) onto your page. Check that the player can be used with the keyboard, that captions can be switched on, and that the focus can leave it. Mention the third party in your privacy notice and allow its host in your Content Security Policy if you enforce one (Content Security Policy).

A checklist

  • To do: Every video with speech has captions.
  • To do: Every audio and video has a transcript on the page or one click away.
  • To do: No media starts playing by itself; controls are shown.
  • To do: Visual-only information is described.
  • To do: The player works with the keyboard and the focus can leave it.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x