forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpictureinpicture.js
51 lines (35 loc) · 932 Bytes
/
pictureinpicture.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*! @license
* Shaka Player
* Copyright 2016 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @fileoverview Externs for picture-in-picture methods.
* @externs
*/
/**
* @return {!Promise}
*/
HTMLDocument.prototype.exitPictureInPicture = function() {};
/** @type {Element} */
HTMLDocument.prototype.pictureInPictureElement;
/** @type {boolean} */
HTMLDocument.prototype.pictureInPictureEnabled;
/**
* @return {!Promise}
*/
HTMLMediaElement.prototype.requestPictureInPicture = function() {};
/** @type {boolean} */
HTMLMediaElement.prototype.disablePictureInPicture;
/**
* @param {string} mode
* @return {boolean}
*/
HTMLMediaElement.prototype.webkitSetPresentationMode = function(mode) {};
/**
* @param {string} mode
* @return {boolean}
*/
HTMLMediaElement.prototype.webkitSupportsPresentationMode = function(mode) {};
/** @type {string} */
HTMLMediaElement.prototype.webkitPresentationMode;