mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-06 04:51:29 +08:00
🥼 修复停止播放后,再次播放有2个声音的问题
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user