Styling Captions

In this topic you will learn ways to style captions.

The default look and feel of the captions is subject to change so you may wish to style the captions. When styling captions, be cautious to preserve adequate color contrast to meet WCAG accessibility guidelines and consider end viewers when making styling changes.

There are a few ways that captions can be styled:

Adding styling options to the WebVTT file

Style options can be applied directly to the WebVTT file that allow you to change the location and orientation of the captions as well as the text. Here are a few examples:

  • Bold text
    <b>Lorem ipsum</b>
  • Italic text
    <i>dolor sit amet</i>
  • Underlined text
    <u>consectetuer adipiscing</u>

Because the Brightcove Player manages the positioning of captions, you can not use styles to change the location or orientation of the captions. The inline styles don't provide many styling options. For a greater variety of styling options, you can use a CSS file as described in the next section.

For details about inline styles, see this link.

Adding styling options in the Video Properties section

Style options can be added in the Video Properties section. Here are the steps to style captions:

  1. Open the Media module.
  2. Click the link for the video you want to edit to open the video properties.
  3. Locate the preview player at the top of the page, play the video, and click on the player controls.
  4. Select the captions settings option.
  5. Edit the style as needed. Click Done.

Limitations

Captions are supported on the following device types and operating systems.

  • iOS 10+
  • Android 7+
  • Internet Explorer 11+
  • The latest Edge, Chrome, Safari, and Firefox browsers on desktops