interface SubtitlesLaneApi {
    onPlayheadCueEvent$: Observable<OmakaseVttCueEvent<SubtitlesVttCue>>;
    onScrubberCueEvent$: Observable<OmakaseVttCueEvent<SubtitlesVttCue>>;
    onVideoCueEvent$: Observable<OmakaseVttCueEvent<SubtitlesVttCue>>;
    onVttFileLoaded$: Observable<SubtitlesVttFile>;
    vttFile: undefined | T;
    vttUrl: undefined | string;
    loadVtt(vttUrl: string, options?: VttLoadOptions): Observable<undefined | SubtitlesVttFile>;
}

Hierarchy (view full)

Implemented by

Properties

onPlayheadCueEvent$: Observable<OmakaseVttCueEvent<SubtitlesVttCue>>

Fires on VTT cue entry/exit on playhead drag

onScrubberCueEvent$: Observable<OmakaseVttCueEvent<SubtitlesVttCue>>

Fires on VTT cue entry/exit on scrubber move

onVideoCueEvent$: Observable<OmakaseVttCueEvent<SubtitlesVttCue>>

Fires on VTT cue entry/exit on video time change

onVttFileLoaded$: Observable<SubtitlesVttFile>

Fires when VTT file is loaded

Accessors

Methods