Home > hls.js > SubtitleTrackController > subtitleTrack

SubtitleTrackController.subtitleTrack property

get/set index of the selected subtitle track (based on index in subtitle track lists) *

Signature:

get subtitleTrack(): number;

set subtitleTrack(newId: number);