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

Hierarchy (view full)

Implemented by

Properties

onPlayheadCueEvent$: Observable<OmakaseVttCueEvent<OgChartVttCue>>

Fires on VTT cue entry/exit on playhead drag

onScrubberCueEvent$: Observable<OmakaseVttCueEvent<OgChartVttCue>>

Fires on VTT cue entry/exit on scrubber move

onVideoCueEvent$: Observable<OmakaseVttCueEvent<OgChartVttCue>>

Fires on VTT cue entry/exit on video time change

onVttFileLoaded$: Observable<OgChartVttFile>

Fires when VTT file is loaded

Accessors

Methods