Skip to content

best way to save what you love

web: add 240p and 144p to quality picker

wukko15961c9e0ae1
diff --git a/src/front/cobalt.js b/src/front/cobalt.js
index 0fd638f2..d121b3a2 100644
--- a/src/front/cobalt.js
+++ b/src/front/cobalt.js
@@ -8,7 +8,7 @@ const isOldFirefox = ua.match("firefox/") && ua.split("firefox/")[1].split('.')[
const switchers = {
"theme": ["auto", "light", "dark"],
"vCodec": ["h264", "av1", "vp9"],
- "vQuality": ["720", "max", "2160", "1440", "1080", "480", "360"],
+ "vQuality": ["720", "max", "2160", "1440", "1080", "480", "360", "240", "144"],
"aFormat": ["mp3", "best", "ogg", "wav", "opus"],
"audioMode": ["false", "true"],
"filenamePattern": ["classic", "pretty", "basic", "nerdy"]
diff --git a/src/modules/pageRender/page.js b/src/modules/pageRender/page.js
index 840bac66..2d79a91c 100644
--- a/src/modules/pageRender/page.js
+++ b/src/modules/pageRender/page.js
@@ -349,6 +349,12 @@ export default function(obj) {
}, {
action: "360",
text: "360p"
+ }, {
+ action: "240",
+ text: "240p"
+ }, {
+ action: "144",
+ text: "144p"
}]
})
})