summaryrefslogtreecommitdiffstats
path: root/webbrowser/base/content/nsContextMenu.js
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2020-05-07 22:31:49 -0700
committerThomas Groman <tgroman@nuegia.net>2020-05-07 22:31:49 -0700
commit31d5e092a19a9d527f5d259da45938c95e57aead (patch)
treef214dba0e913e2e64e09d200fb2a45caeb7dff38 /webbrowser/base/content/nsContextMenu.js
parentfcff4a7af21b8445410910103b984acc29354db5 (diff)
downloadwebbrowser-31d5e092a19a9d527f5d259da45938c95e57aead.tar
webbrowser-31d5e092a19a9d527f5d259da45938c95e57aead.tar.gz
webbrowser-31d5e092a19a9d527f5d259da45938c95e57aead.tar.lz
webbrowser-31d5e092a19a9d527f5d259da45938c95e57aead.tar.xz
webbrowser-31d5e092a19a9d527f5d259da45938c95e57aead.zip
add 1.25x speed to html5 video playback
Diffstat (limited to 'webbrowser/base/content/nsContextMenu.js')
-rw-r--r--webbrowser/base/content/nsContextMenu.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/webbrowser/base/content/nsContextMenu.js b/webbrowser/base/content/nsContextMenu.js
index 916dd26..1a8ee69 100644
--- a/webbrowser/base/content/nsContextMenu.js
+++ b/webbrowser/base/content/nsContextMenu.js
@@ -393,6 +393,7 @@ nsContextMenu.prototype = {
if (onMedia) {
this.setItemAttr("context-media-playbackrate-050x", "checked", this.target.playbackRate == 0.5);
this.setItemAttr("context-media-playbackrate-100x", "checked", this.target.playbackRate == 1.0);
+ this.setItemAttr("context-media-playbackrate-100x", "checked", this.target.playbackRate == 1.25);
this.setItemAttr("context-media-playbackrate-150x", "checked", this.target.playbackRate == 1.5);
this.setItemAttr("context-media-playbackrate-200x", "checked", this.target.playbackRate == 2.0);
this.setItemAttr("context-media-loop", "checked", this.target.loop);
@@ -405,6 +406,7 @@ nsContextMenu.prototype = {
this.setItemAttr("context-media-playbackrate", "disabled", hasError);
this.setItemAttr("context-media-playbackrate-050x", "disabled", hasError);
this.setItemAttr("context-media-playbackrate-100x", "disabled", hasError);
+ this.setItemAttr("context-media-playbackrate-125x", "disabled", hasError);
this.setItemAttr("context-media-playbackrate-150x", "disabled", hasError);
this.setItemAttr("context-media-playbackrate-200x", "disabled", hasError);
this.setItemAttr("context-media-showcontrols", "disabled", hasError);