Embed a video with captions and transcript
This page is for editors who publish videos: a recorded meeting, an explainer, a message from leadership. Videos need
captions and a transcript to be accessible (WCAG 2.2, guideline 1.2). The default
package ships a Video class (video, with a media file field ezmedia) in the Media group
(sevenx_classes); many sites embed a video platform
instead.
Contents
Before you start
- A caption file (for example WebVTT or SRT) for the spoken words, checked by a person.
- A transcript as text: speech, plus important sounds and what is shown when it matters.
- If information is only visual, an audio description or a description in the text.
Choosing how to publish
| Way | For | Care |
|---|---|---|
| Upload the file into a Video object | short videos, no third party | large files and bandwidth; your template's player must support captions |
| Embed a platform player | long videos, streaming | the platform receives visitor data when the player loads; consent may be needed (Privacy standards); a Content Security Policy must allow it |
| A link to the platform | the simplest, no tracking until clicked | visitors leave the page |
Steps
- Create the page that holds the video (an Article, or the event or meeting page).
- Write an introduction: what the video is, how long it is, that captions and a transcript are available.
- Add the video:
- upload: create a Video object (media library or next to the page), upload the file, and relate or embed it in the page;
- platform: insert the platform's embed through the method your site allows (a custom tag or a block), or a link.
- Add the transcript below the video, under a heading "Transcript", or as a related page if it is long.
- Preview, then Send for publishing.
Check the result
- To do: Captions can be turned on in the player.
- To do: The transcript is on the page or one click away, as text.
- To do: The player works with a keyboard.
- To do: Signed out, the page loads without errors; with a platform embed, check what loads before the visitor presses play.
Pitfalls
| Pitfall | Avoid it |
|---|---|
| Automatic captions published unchecked | correct names and terms first |
| A video as the only source of important information | the text says it too |
| Autoplay with sound | do not; it disturbs screen reader users |
| Pasting raw embed code into rich text | the editor may refuse it; use the method your site provides |
Related pages
- Publishing tasks
- Accessible event information
- SVG and image formats
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
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.