UNPKG

@epiclabs/epic-video-player

Version:

Video player wrapper to support different video sources with an unified interface

12 lines (11 loc) 462 B
import { IPlayerConfig, IRendition } from './models'; import { Player } from './player'; export declare class PlayerNative extends Player<HTMLVideoElement> { constructor(url: string, htmlPlayer: HTMLVideoElement, config: IPlayerConfig); load(): void; destroy(): void; getRenditions(): IRendition[]; setRendition(rendition: number | IRendition, // eslint-disable-line immediately?: boolean): void; getCurrentRendition(): IRendition; }