Merge pull request #19913 from scleriot/master

Update Video.js Player with new function requestFullscreen/cancelFullscreen
This commit is contained in:
Benjamin Lichtman
2017-09-21 16:06:06 -07:00
committed by GitHub
+4 -1
View File
@@ -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 <https://github.com/vbortone>
// Simon Clériot <https://github.com/scleriot>
// 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;