mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
Update Player with new function requestFullscreen/cancelFullscreen
But keep the legacy functions
This commit is contained in:
Vendored
+3
@@ -1,6 +1,7 @@
|
||||
// Type definitions for Video.js 5.16
|
||||
// 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;
|
||||
cancelFullscreen(): Player;
|
||||
ready(callback: (this: Player) => void): Player;
|
||||
on(eventName: string, callback: (eventObject: Event) => void): void;
|
||||
off(eventName?: string, callback?: (eventObject: Event) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user