Show Menu
TOPICS×

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.
    The client user turns closed captioning on or off by using the iOS Accessibility Settings, and these settings also provide formattng options.
    closedCaptionDisplayEnabled property is deprecated. Use subtitlesOptions property of PTMediaPlayerItem . See Expose subtitles to use closed captions.