mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 05:14:24 +00:00
Bug 876550 - Add |this.clickToPlay.hidden = true;| to the immediate case in hideClickToPlay(). r=jaws
This commit is contained in:
parent
dd86ae8ef1
commit
92aa9f3122
@ -1084,6 +1084,7 @@
|
||||
if (this._overlayPlayButtonHeight * animationScale > (videoHeight - this._controlBarHeight)||
|
||||
this._overlayPlayButtonWidth * animationScale > videoWidth) {
|
||||
this.clickToPlay.setAttribute("immediate", "true");
|
||||
this.clickToPlay.hidden = true;
|
||||
} else {
|
||||
this.clickToPlay.removeAttribute("immediate");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user