Bug 1319301 - Part 1. fadeout grey spacer when play event is not triggered by controls. r=jaws

MozReview-Commit-ID: AouOiY9EGo8

--HG--
extra : rebase_source : f9bc781a3d87bee64d8b5b87e403b1d0c6a299dc
This commit is contained in:
Ray Lin 2016-11-22 11:48:04 +08:00
parent e782c4ca18
commit a28321d288

View File

@ -557,8 +557,10 @@
this.setupStatusFader();
if (!this._triggeredByControls && this.dynamicControls && this.videocontrols.isTouchControls)
this.startFadeOut(this.controlBar);
if (!this._triggeredByControls)
if (!this._triggeredByControls) {
this.clickToPlay.hidden = true;
this.controlsSpacer.setAttribute("fadeout", "true");
}
this._triggeredByControls = false;
break;
case "pause":