next video bug

master
iotcat 4 years ago
parent 26bebdd3c7
commit 52d4da5f2b
  1. 4
      index.html

@ -10,6 +10,9 @@
<body>
<div id="dplayer"></div>
<br/>
<br/>
<button onClick="next_video()">下一集</button>
<script src="https://cdn.yimian.xyz/ushio-js/ushio-footer.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
@ -83,6 +86,7 @@
page.params.url = res.url;
$.post("https://acg.watch/api/getQuality.php?url="+res.url, function(res2){
console.log(JSON.parse(res2));
options.video.quality = JSON.parse(res2);
dp.switchVideo(
{
url: res.url,

Loading…
Cancel
Save