web: add 240p and 144p to quality picker

This commit is contained in:
wukko 2024-05-04 08:30:59 +06:00
parent 6403cc8c17
commit 15961c9e0a
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
2 changed files with 7 additions and 1 deletions

View file

@ -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"]

View file

@ -349,6 +349,12 @@ export default function(obj) {
}, {
action: "360",
text: "360p"
}, {
action: "240",
text: "240p"
}, {
action: "144",
text: "144p"
}]
})
})