mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-18 06:09:58 +00:00
vimeo: remove debugging (oops)
This commit is contained in:
parent
4d850c5d64
commit
58a0547def
1 changed files with 0 additions and 1 deletions
|
@ -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'])),
|
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];
|
bestVideo = masterJSON_Video[0];
|
||||||
console.log(masterJSON_Video)
|
|
||||||
if (Number(quality) < Number(resolutionMatch[bestVideo["width"]])) {
|
if (Number(quality) < Number(resolutionMatch[bestVideo["width"]])) {
|
||||||
bestVideo = masterJSON_Video.find(i => resolutionMatch[i["width"]] === quality)
|
bestVideo = masterJSON_Video.find(i => resolutionMatch[i["width"]] === quality)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue