This is an unpublished draft preview that might include content that is not yet approved. The published website is at w3.org/WAI/.

Videos

Step 1: Publish the video on YouTube (preferred)

The video player component is currently designed for videos hosted on YouTube.

Step 2: Update the video-metadata.yml file to include the new video

The video-metadata.yml file contains all videos captions, subtitles and descriptions metadata. It is centrally edited in the wai-website-data repository.

Each entry for a video looks like this:

Add an entry for the new video.

The following parameters are not necessary for a new video, but should be added when the video captions are translated in other languages:

Add VTT files in wai-website-data repository

All VTT files are stored in wai-website-data repository, in wai-videos folder.

Inside this folder, VTT files can be organized in subfolders.

VTT filenames must follow the following convention:

Step 3: Embed the video in a resource

The description on how to embed videos is available on the Video Player Design Component Page.

Translations

Guidance on how to translate videos captions/subtitles/descriptions is available in the Translating Video Subtitles and Descriptions Guide

Back to Top

This is an unpublished draft preview that might include content that is not yet approved. The published website is at w3.org/WAI/.