Backed out changeset 672cda014328 (bug 729111)

This commit is contained in:
Jared Wein 2012-04-04 13:11:03 -07:00
parent 34a70b8a84
commit b76eb7a5ec

View File

@ -1261,11 +1261,8 @@
let videoHeight = this.video.clientHeight;
let videoWidth = this.video.clientWidth;
if ((this._overlayPlayButtonHeight + this._controlBarHeight) > videoHeight ||
this._overlayPlayButtonWidth > videoWidth)
if (this._overlayPlayButtonHeight > videoHeight || this._overlayPlayButtonWidth > videoWidth)
this.clickToPlay.hidden = true;
else if (this.clickToPlay.hidden)
this.clickToPlay.hidden = false;
// The scrubber has |flex=1|, therefore |minScrubberWidth|
// was generated by empirical testing.