Home > hls.js > SubtitleTrackController > setSubtitleOption

SubtitleTrackController.setSubtitleOption() method

Signature:

setSubtitleOption(subtitleOption: MediaPlaylist | SubtitleSelectionOption | undefined): MediaPlaylist | null;

Parameters

Parameter Type Description
subtitleOption MediaPlaylist | SubtitleSelectionOption | undefined

Returns:

MediaPlaylist | null