From 70e7ba7da39023757c065c26a57291840ba4bfae Mon Sep 17 00:00:00 2001 From: iotcat Date: Sat, 11 Jan 2020 13:56:19 +0000 Subject: [PATCH] multi qua --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 597a34c..bffa51a 100644 --- a/index.html +++ b/index.html @@ -73,10 +73,11 @@ cookie.set('last_watch', res.url); history.pushState({},page.title,"https://acg.watch/player?url="+res.url); page.params.url = res.url; - $.post("https://acg.watch/api/getQuality.php?url="+page.params.url, function(res){ + $.post("https://acg.watch/api/getQuality.php?url="+res.url, function(res){ dp.switchVideo( { - quality: JSON.parse(res) + quality: JSON.parse(res), + defaultQuality: 0 }, { id: $.md5(res.url+'').substr(0, 16),