修改视频播放地址
This commit is contained in:
parent
3b62a0294d
commit
da991e18b4
|
|
@ -318,9 +318,9 @@ onMounted(() => {
|
||||||
// 去掉文件扩展名
|
// 去掉文件扩展名
|
||||||
const fileNameNoExt = fileName.split('.')[0]
|
const fileNameNoExt = fileName.split('.')[0]
|
||||||
// 文件扩展名
|
// 文件扩展名
|
||||||
const fileExt = fileName.split('.')[1]
|
// const fileExt = fileName.split('.')[1]
|
||||||
// 临时拼接视频路径
|
// 临时拼接视频路径
|
||||||
vidUrl.value = `http://localhost:8086/${fileNameNoExt}_h264.${fileExt}`
|
vidUrl.value = `http://localhost:8086/${fileNameNoExt}_h264.mp4`
|
||||||
})
|
})
|
||||||
|
|
||||||
// 临时拼接视频路径
|
// 临时拼接视频路径
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue