зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1072442 - The Play Speed contextmenu should be hidden for streaming media. r=jaws
This commit is contained in:
Родитель
5c07ed3c81
Коммит
d7bc386315
|
@ -469,7 +469,7 @@ nsContextMenu.prototype = {
|
||||||
this.showItem("context-media-pause", onMedia && !this.target.paused && !this.target.ended);
|
this.showItem("context-media-pause", onMedia && !this.target.paused && !this.target.ended);
|
||||||
this.showItem("context-media-mute", onMedia && !this.target.muted);
|
this.showItem("context-media-mute", onMedia && !this.target.muted);
|
||||||
this.showItem("context-media-unmute", onMedia && this.target.muted);
|
this.showItem("context-media-unmute", onMedia && this.target.muted);
|
||||||
this.showItem("context-media-playbackrate", onMedia);
|
this.showItem("context-media-playbackrate", onMedia && this.target.duration != Number.POSITIVE_INFINITY);
|
||||||
this.showItem("context-media-loop", onMedia);
|
this.showItem("context-media-loop", onMedia);
|
||||||
this.showItem("context-media-showcontrols", onMedia && !this.target.controls);
|
this.showItem("context-media-showcontrols", onMedia && !this.target.controls);
|
||||||
this.showItem("context-media-hidecontrols", this.target.controls && (this.onVideo || (this.onAudio && !this.inSyntheticDoc)));
|
this.showItem("context-media-hidecontrols", this.target.controls && (this.onVideo || (this.onAudio && !this.inSyntheticDoc)));
|
||||||
|
|
Загрузка…
Ссылка в новой задаче