Home > hls.js > SubtitleTrackController > onSubtitleTrackLoaded

SubtitleTrackController.onSubtitleTrackLoaded() method

Signature:

protected onSubtitleTrackLoaded(event: Events.SUBTITLE_TRACK_LOADED, data: TrackLoadedData): void;

Parameters

Parameter

Type

Description

event

Events.SUBTITLE_TRACK_LOADED

data

TrackLoadedData

**Returns:**

void