mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-28 04:20:12 +02:00
vimeo: remove debugging (oops)
This commit is contained in:
parent
4d850c5d64
commit
58a0547def
@ -66,7 +66,6 @@ export default async function(obj) {
|
||||
|
||||
let masterJSON_Video = masterJSON.video.sort((a, b) => Number(b.width) - Number(a.width)).filter(a => ["dash", "mp42"].includes(a['format'])),
|
||||
bestVideo = masterJSON_Video[0];
|
||||
console.log(masterJSON_Video)
|
||||
if (Number(quality) < Number(resolutionMatch[bestVideo["width"]])) {
|
||||
bestVideo = masterJSON_Video.find(i => resolutionMatch[i["width"]] === quality)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user