web
4 天以前 c4dfc001d0914774ca9ec4b49823c12c65cd74ef
fix:修改视频设置参数
已修改1个文件
2 ■■■■■ 文件已修改
src/components/VideoPlayer/VideoPlayer.vue 2 ●●●●● 补丁 | 查看 | 原始文档 | 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()
    })
}