diff --git a/types/video.js/index.d.ts b/types/video.js/index.d.ts index db62520ac3..c6df37371c 100644 --- a/types/video.js/index.d.ts +++ b/types/video.js/index.d.ts @@ -1,6 +1,7 @@ -// Type definitions for Video.js 5.16 +// Type definitions for Video.js 6.2 // Project: https://github.com/zencoder/video-js // Definitions by: Vincent Bortone +// Simon Clériot // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // The Video.js API allows you to interact with the video through @@ -49,6 +50,8 @@ declare namespace videojs { size(width: number, height: number): Player; requestFullScreen(): Player; cancelFullScreen(): Player; + requestFullscreen(): Player; + exitFullscreen(): Player; ready(callback: (this: Player) => void): Player; on(eventName: string, callback: (eventObject: Event) => void): void; off(eventName?: string, callback?: (eventObject: Event) => void): void;