Control closed-caption visibility

You can control the visibility of closed captions. When visibility is on, the currently selected track is displayed.


If you change which track is current, the visibility setting remains the same.

If closed caption text is displayed when the player enters the seek mode, the text is no longer displayed after the seek completes. Instead, after a few seconds, Browser TVSDK displays the next closed caption text in the video after the ending seek position.


The visibility values for closed captions are controlled with MediaPlayer.VISIBLE and MediaPlayer.INVISIBLE.

  1. Use the MediaPlayer.ccVisibility property to access the current visibility setting for the closed captions.

On this page