1
0
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:
Steve Heffernan 2012-01-16 15:03:38 -08:00
parent 61aad619a8
commit 244159d9e9

View File

@ -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";