0.1.5 • Published 3 years ago
@eggspot/vjs-theatre-mode v0.1.5
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;
}
0.1.5
3 years ago