mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
34337ca28d
There are some platforms (e.g. iPad) which can be rotated, but do not support the screen.orientation API. This is relevant because iPad now supports requestFullscreen, which it did not before. Found while investigating #2653 Change-Id: Iacc93433aa1fb50a25d968203dc9fd4f7f16b4ae
58 lines
1.1 KiB
JavaScript
58 lines
1.1 KiB
JavaScript
/*! @license
|
|
* Shaka Player
|
|
* Copyright 2016 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
|
|
/**
|
|
* @fileoverview Externs for screen properties not in the Closure compiler.
|
|
*
|
|
* @externs
|
|
*/
|
|
|
|
|
|
/**
|
|
* A deprecated method we are using in a polyfill. Use with care!
|
|
* @param {string} orientation
|
|
* @return {boolean}
|
|
*/
|
|
screen.lockOrientation = function(orientation) {};
|
|
|
|
|
|
/**
|
|
* A deprecated method we are using in a polyfill. Use with care!
|
|
* @param {string} orientation
|
|
* @return {boolean}
|
|
*/
|
|
screen.mozLockOrientation = function(orientation) {};
|
|
|
|
|
|
/**
|
|
* A deprecated method we are using in a polyfill. Use with care!
|
|
* @param {string} orientation
|
|
* @return {boolean}
|
|
*/
|
|
screen.msLockOrientation = function(orientation) {};
|
|
|
|
|
|
/**
|
|
* A deprecated method we are using in a polyfill. Use with care!
|
|
* @return {boolean}
|
|
*/
|
|
screen.unlockOrientation = function() {};
|
|
|
|
|
|
/**
|
|
* A deprecated method we are using in a polyfill. Use with care!
|
|
* @return {boolean}
|
|
*/
|
|
screen.mozUnlockOrientation = function() {};
|
|
|
|
|
|
/**
|
|
* A deprecated method we are using in a polyfill. Use with care!
|
|
* @return {boolean}
|
|
*/
|
|
screen.msUnlockOrientation = function() {};
|