From b73368a751561168d3183db61300bb8b5217a45b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Cl=C3=A9riot?= Date: Wed, 20 Sep 2017 18:39:40 +0200 Subject: [PATCH] Update Player with new function requestFullscreen/cancelFullscreen But keep the legacy functions --- types/video.js/index.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/video.js/index.d.ts b/types/video.js/index.d.ts index db62520ac3..550c166009 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 // 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; + cancelFullscreen(): Player; ready(callback: (this: Player) => void): Player; on(eventName: string, callback: (eventObject: Event) => void): void; off(eventName?: string, callback?: (eventObject: Event) => void): void;