Home > hls.js > TimelineController > addCues
TimelineController.addCues() method
Signature:
addCues(trackName: string, startTime: number, endTime: number, screen: CaptionScreen, cueRanges: Array<[number, number]>): void;
Parameters
Parameter | Type | Description |
---|---|---|
trackName | string | |
startTime | number | |
endTime | number | |
screen | CaptionScreen | |
cueRanges | Array<[number, number]> |
Returns:
void