setMode abstract method

void setMode(
  1. TextTrackMode mode
)

Sets mode of the text track, represented by a value from the following list:

Remarks:

  • A disabled track is not displayed and exposes no active cues, nor fires cue events.
  • A hidden track is not displayed but exposes active cues and fires cue events.
  • A showing track is displayed, exposes active cues and fires cue events.

Implementation

void setMode(TextTrackMode mode);