视频播放bug修复
This commit is contained in:
parent
356953ec5d
commit
6481dac6d8
|
@ -462,7 +462,7 @@
|
||||||
// 从store获取选中的类型
|
// 从store获取选中的类型
|
||||||
// const Cardsname = computed(() => store.getters['home/selectCardsnum'])
|
// const Cardsname = computed(() => store.getters['home/selectCardsnum'])
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const select = router.currentRoute.value.query.select
|
const select = router.currentRoute.value.query.select || '组件服务'
|
||||||
const str = router.currentRoute.value.query.str
|
const str = router.currentRoute.value.query.str
|
||||||
const searchValue = ref(str)
|
const searchValue = ref(str)
|
||||||
let tecHnosphere = router.currentRoute.value.query.tecHnosphere
|
let tecHnosphere = router.currentRoute.value.query.tecHnosphere
|
||||||
|
|
|
@ -326,6 +326,7 @@
|
||||||
color: '#409eff', //主题色
|
color: '#409eff', //主题色
|
||||||
title: '', //视频名称
|
title: '', //视频名称
|
||||||
src: '', //视频源
|
src: '', //视频源
|
||||||
|
type: 'm3u8', // 视频源类型
|
||||||
muted: false, //静音
|
muted: false, //静音
|
||||||
webFullScreen: false,
|
webFullScreen: false,
|
||||||
speedRate: ['0.75', '1.0', '1.25', '1.5', '2.0'], //播放倍速
|
speedRate: ['0.75', '1.0', '1.25', '1.5', '2.0'], //播放倍速
|
||||||
|
@ -480,7 +481,7 @@
|
||||||
getHls(param).then((res) => {
|
getHls(param).then((res) => {
|
||||||
console.log('获取视频地址===============>', res)
|
console.log('获取视频地址===============>', res)
|
||||||
// videoUrl.value = res.data.data
|
// videoUrl.value = res.data.data
|
||||||
options.value.src = res.data.data
|
options.src = res.data.data
|
||||||
visible.value = true
|
visible.value = true
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue