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

Hierarchy (View Summary)

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