diff --git a/src/controls.js b/src/controls.js index 6296f6659..2b1ec4951 100644 --- a/src/controls.js +++ b/src/controls.js @@ -177,9 +177,6 @@ _V_.LoadingSpinner = _V_.Component.extend({ init: function(player, options){ this._super(player, options); - // player.addEvent("play", _V_.proxy(this, this.hide)); - // player.addEvent("ended", _V_.proxy(this, this.show)); - player.addEvent("canplay", _V_.proxy(this, this.hide)); player.addEvent("canplaythrough", _V_.proxy(this, this.hide)); player.addEvent("playing", _V_.proxy(this, this.hide)); diff --git a/src/player.js b/src/player.js index dbae73d84..48e1e3361 100644 --- a/src/player.js +++ b/src/player.js @@ -452,13 +452,11 @@ _V_.Player.prototype.extend({ this.videoIsFullScreen = true; if (typeof this.el.webkitRequestFullScreen == 'function') { this.el.webkitRequestFullScreen(); - // } else if (typeof this.el.mozRequestFullScreen == 'function') { - // _V_.log("here") - // this.el.mozRequestFullScreen(); + } else if (typeof this.el.mozRequestFullScreen == 'function') { + this.el.mozRequestFullScreen(); } else if (this.supportsFullScreen()) { this.apiCall("enterFullScreen"); } else { - _V_.log("2") this.enterFullWindow(); } this.triggerEvent("enterFullScreen");