mirror of
https://github.com/videojs/video.js.git
synced 2024-11-30 09:06:49 +02:00
Added comment reference to mozFullScreenEnabled info
This commit is contained in:
parent
61aad619a8
commit
244159d9e9
@ -747,6 +747,7 @@ _V_.Player = _V_.Component.extend({
|
||||
|
||||
_V_.each(["moz", "webkit"], function(prefix){
|
||||
|
||||
// https://github.com/zencoder/video-js/pull/128
|
||||
if ((prefix != "moz" || document.mozFullScreenEnabled) && document[prefix + "CancelFullScreen"] !== undefined) {
|
||||
requestFn = prefix + "RequestFullScreen";
|
||||
cancelFn = prefix + "CancelFullScreen";
|
||||
|
Loading…
Reference in New Issue
Block a user