mirror of
https://github.com/imputnet/cobalt.git
synced 2025-01-19 13:18:28 +00: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…
Reference in a new issue