Home > hls.js > SubtitleTrackController > onMediaAttached

SubtitleTrackController.onMediaAttached() method

Signature:

protected onMediaAttached(event: Events.MEDIA_ATTACHED, data: MediaAttachedData): void;

Parameters

Parameter

Type

Description

event

Events.MEDIA_ATTACHED

data

MediaAttachedData

**Returns:**

void