0.0.4 • Published 3 years ago

@eggspot/vjs-chatbox-button v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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;
}