🥼 修复停止播放后,再次播放有2个声音的问题

This commit is contained in:
Hunlongyu
2020-10-26 11:19:15 +08:00
parent 80e36fa99c
commit 612930cc8b

View File

@@ -1025,16 +1025,17 @@ export default {
if (this.xg.fullscreen) {
this.xg.exitFullscreen()
}
this.xg.destroy()
this.xg.src = ''
this.config.src = ''
this.xg.destroy(false)
this.name = ''
this.right.list = []
this.showNext = false
setTimeout(() => {
this.playerInstall()
this.xg = new Hls(this.config)
this.playerInstall()
this.bindEvent()
}, 500)
}, 1000)
},
minMaxEvent () {
const win = remote.getCurrentWindow()