UNPKG

react-streamify-play

Version:

react-streamify-play is a simple yet customizable video player for reactjs.

19 lines (18 loc) 570 B
import { VideoPlayer } from "./VideoPlayer"; export declare class Video extends VideoPlayer { constructor(source: string); initialize(): void; togglePlay(): void; toggleMute(): void; isFullScreen(): boolean; toggleFullScreenMode(): void; togglePictureInPictureMode(): void; getPlaybackQuality(): { label: string; index?: number; }[]; setPlaybackQuality(index?: number): void; setPlaybackRate(rate: string): void; skipForwardBackward(seconds: number): void; handleKeyDown(event: KeyboardEvent): void; }