src/components/VideoPlayer/VideoPlayer.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/components/VideoPlayer/VideoPlayer.vue
@@ -39,6 +39,7 @@ getVideoMedia(props.item.deviceId, props.item.channelId).then(res => { videojsb.value.play(res.data.url); isPlay.value = true; showPlay.value = false; }).catch(() => { isPlay.value = false; showPlay.value = true; @@ -59,6 +60,7 @@ clearTimeout(timerOut); stopVideoMedia(props.item.deviceId, props.item.channelId).then(() => { console.log('关闭成功') videojsb.value.pause() }) }