修复h265web调用的逻辑异常

This commit is contained in:
lin
2025-05-16 11:03:10 +08:00
parent b8f2742c29
commit c981e7f470

View File

@@ -208,15 +208,15 @@ export default {
unPause: function() { unPause: function() {
if (h265webPlayer[this._uid]) { if (h265webPlayer[this._uid]) {
h265webPlayer[this._uid].play() h265webPlayer[this._uid].play()
}
this.playing = h265webPlayer[this._uid].isPlaying() this.playing = h265webPlayer[this._uid].isPlaying()
}
this.err = '' this.err = ''
}, },
pause: function() { pause: function() {
if (h265webPlayer[this._uid]) { if (h265webPlayer[this._uid]) {
h265webPlayer[this._uid].pause() h265webPlayer[this._uid].pause()
}
this.playing = h265webPlayer[this._uid].isPlaying() this.playing = h265webPlayer[this._uid].isPlaying()
}
this.err = '' this.err = ''
}, },
mute: function() { mute: function() {