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

Hierarchy (view full)

Implemented by

Properties

onPlayheadCueEvent$: Observable<OmakaseVttCueEvent<AudioVttCue>>

Fires on VTT cue entry/exit on playhead drag

onScrubberCueEvent$: Observable<OmakaseVttCueEvent<AudioVttCue>>

Fires on VTT cue entry/exit on scrubber move

onVideoCueEvent$: Observable<OmakaseVttCueEvent<AudioVttCue>>

Fires on VTT cue entry/exit on video time change

onVttFileLoaded$: Observable<AudioVttFile>

Fires when VTT file is loaded

Accessors

Methods