From a38b9aed5643d1fab3a0e0165da597be8a2ffa2b Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Thu, 21 Jan 2021 23:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=9B=B4=E6=92=AD=E5=8D=A1?= =?UTF-8?q?=E9=A1=BF=E8=87=AA=E5=8A=A8=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Play.vue b/src/components/Play.vue index 5d7494f..37677e0 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -1431,7 +1431,6 @@ export default { let index = this.right.sources.indexOf(this.video.iptv) + 1 if (index === this.right.sources.length) index = 0 stallCount++ - clearTimeout(stallIptvTimeout) if (stallCount >= this.right.sources.length) { stallCount = 0 this.nextEvent() @@ -1443,7 +1442,7 @@ export default { }) this.xg.on('canplay', () => { stallCount = 0 - if (stallIptvTimeout) clearTimeout(stallIptvTimeout) + clearTimeout(stallIptvTimeout) }) this.xg.on('exitFullscreen', () => { @@ -1517,6 +1516,7 @@ export default { }) this.xg.on('play', () => { + clearTimeout(stallIptvTimeout) if (!this.video.key) { if (!this.video.iptv && !this.video.info.ids) { // 如果当前播放页面的播放信息没有被赋值,播放历史记录