@eggspot/vjs-theatre-mode
v0.1.5
Published
A React UI toolkit for the web
Downloads
2
Readme
Videojs Theatre Mode
import { VideoJsPlayer, VideoJsPlayerOptions } from "video.js";
declare module "video.js" {
// this tells the type system that the VideoJsPlayer object has a method seekButtons
export interface VideoJsPlayer {
examplePlugin(options: VideoJsExamplePluginOptions): void;
}
}
export interface VideoJsExamplePluginOptions {
label: string;
onToggle?: () => void;
}