Expose closed captions

To make closed captions available to your client player, you must enable them. The user can turn closed captions on or off and select the formatting.

To expose closed captions:

  1. In PTMediaPlayer object, set the closedCaptionDisplayEnabled property.

    If the user has enabled closed captions, this step displays the text.

    NOTE

    The client user turns closed captioning on or off by using the iOS Accessibility Settings, and these settings also provide formattng options.

    NOTE

    closedCaptionDisplayEnabled property is deprecated. Use subtitlesOptions property of PTMediaPlayerItem. See Expose subtitles to use closed captions.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now