Play in browser now works with chromium

This commit is contained in:
bingus_violet 2024-11-06 19:34:05 -06:00
parent a949591f99
commit 4f88beab0a
5 changed files with 564 additions and 266 deletions

View file

@ -17,8 +17,10 @@ $(document).ready(() => {
$("#quality").val(Cookies.get("quality") || "720")
$("#trim").prop("checked", Cookies.get("trim") == "true" || false)
$("#playInBrowser").prop("checked", Cookies.get("playInBrowser") == "true" || false)
$("form").submit(() => {
Cookies.set("quality", $("#quality").val())
Cookies.set("trim", $("#trim").prop("checked"))
Cookies.set("playInBrowser", $("#playInBrowser").prop("checked"))
})
})