UNPKG

@byomakase/omakase-player

Version:

## Omakase Player - Open source JavaScript framework for building frame accurate video experiences

11 lines (10 loc) 629 B
import { BaseOmakaseRemoteVttFile } from './vtt-file'; import { OmakaseVttCueExtension, SubtitlesVttCue } from '../types'; import { Observable } from 'rxjs'; import { VttCueParsed } from './model'; import { VttLoadOptions } from '../api/vtt-aware-api'; export declare class SubtitlesVttFile extends BaseOmakaseRemoteVttFile<SubtitlesVttCue> { protected constructor(url: string, options: VttLoadOptions); static create(url: string, options: VttLoadOptions): Observable<SubtitlesVttFile>; protected mapCue(vttCueParsed: VttCueParsed, cueExtension: OmakaseVttCueExtension | undefined, index: number): SubtitlesVttCue; }