Home > hls.js > CuesInterface > newCue

CuesInterface.newCue() method

Signature:

newCue(track: TextTrack | null, startTime: number, endTime: number, captionScreen: CaptionScreen): VTTCue[];

Parameters

Parameter Type Description
track TextTrack | null
startTime number
endTime number
captionScreen CaptionScreen

Returns:

VTTCue[]