修复集成新版本Jessibuca后的播放问题

This commit is contained in:
lin
2025-10-26 21:15:44 +08:00
parent d117a0d83a
commit d6042c4e16
2 changed files with 23 additions and 36 deletions

View File

@@ -425,6 +425,13 @@ export default {
console.log(this.player[tab.name][0])
this.activePlayer = tab.name
this.videoUrl = this.getUrlByStreamInfo()
if (this.$refs[this.activePlayer]) {
this.$refs[this.activePlayer].play(this.videoUrl)
} else {
this.$nextTick(() => {
this.$refs[this.activePlayer].play(this.videoUrl)
})
}
},
openDialog: function(tab, deviceId, channelId, param) {
if (this.showVideoDialog) {