diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index bdf86c83..2befe85d 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -561,7 +561,11 @@
- +
@@ -628,7 +632,7 @@ style="width: 100%; height: 100%" >

- + { - console.log(res) - visible.value = true - options.src = res.data.data - }) + // getStreamByChannelCode(param).then((res) => { + // console.log(res) + // visible.value = true + // options.src = res.data.data + // }) + visible.value = true + options.src = 'http://playertest.longtailvideo.com/adaptive/bipbop/gear4/prog_index.m3u8' + } // 打开图片预览 const openPicture = (id) => { @@ -1877,6 +1885,28 @@ getCamera() // this.getTableList() } + + // 视频播放 todo + // const vue3VideoPlay = ref(null) + const onPlay = (ev) => { + console.log('播放') + // message.warning('视频播放') + // nextTick(() => { + // // console.log('vue3VideoPlay.value.state------------>', vue3VideoPlay.value.state); + // }) + } + const onPause = (ev) => { + console.log(ev, '暂停') + } + + const onTimeupdate = (ev) => { + console.log(ev, '时间更新') + onPause(ev) + } + const onCanplay = (ev) => { + console.log(ev, '可以播放') + } +