mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
65768a3d41
Safari on iOS does not support HTML5 fullscreen API. There seems to be a (separate) way for a video element to enter fullscreen mode. I will see if we can adopt it in a different CL. For now, just hide the button if fullscreen API is not supported. Issue #1909 Issue b/131923216 Change-Id: Ia30660c7a68fd626051fdf5abce59dbe993b2de2
34 lines
894 B
JavaScript
34 lines
894 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2016 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Externs for prefixed fullscreen methods.
|
|
* @externs
|
|
*/
|
|
|
|
|
|
Document.prototype.msExitFullscreen = function() {};
|
|
|
|
|
|
Document.prototype.webkitExitFullscreen = function() {};
|
|
|
|
/**
|
|
* @return {!boolean}
|
|
*/
|
|
Document.prototype.webkitSupportsFullscreen = function() {};
|
|
|