|
|
@@ -32,7 +32,8 @@ |
|
|
|
:class="videoShow == 'back' ? 'video_show' : 'video_hidden'" |
|
|
|
> |
|
|
|
<VideoPlayer :ref="videoRef" :options="getVideoOptions" @time-update="handleOriginTime" @video-status="handleOriginStatus" /> |
|
|
|
<VideoPlayer :ref="aiVideoRef" :options="getVideoLiveOptions" @time-update="handleAiTime" @video-status="(data)=>videoStatus.aiStatus = data.status" /> |
|
|
|
<VideoPlayer :ref="aiVideoRef" :options="getVideoAiOptions" @time-update="handleAiTime" @video-status="(data)=>videoStatus.aiStatus = data.status" /> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@@ -95,8 +96,8 @@ export default defineComponent({ |
|
|
|
disdance: null, |
|
|
|
animating: null, |
|
|
|
detailData: { |
|
|
|
videoUrl: '', |
|
|
|
aiVideoUrl: '' |
|
|
|
videoUrl: 'http://vod.play.t-aaron.com/228e844c4d18476b82627a54ccf7f4ec/1796b49c9df546ceabe30cda01ebb792-59f1f8c925e0817f19545b7d28f4eea9-fd.mp4', |
|
|
|
aiVideoUrl: 'http://vod.play.t-aaron.com/228e844c4d18476b82627a54ccf7f4ec/1796b49c9df546ceabe30cda01ebb792-59f1f8c925e0817f19545b7d28f4eea9-fd.mp4' |
|
|
|
}, |
|
|
|
videoShow: 'back', // 视频展示开关 |
|
|
|
videoInfo: { |
|
|
@@ -132,7 +133,7 @@ export default defineComponent({ |
|
|
|
} |
|
|
|
}) |
|
|
|
/* 获取AI视频地址 */ |
|
|
|
const getVideoLiveOptions = computed(() => { |
|
|
|
const getVideoAiOptions = computed(() => { |
|
|
|
return { |
|
|
|
id: 'palyer-ai-on', |
|
|
|
width: '400px', |
|
|
@@ -287,7 +288,7 @@ export default defineComponent({ |
|
|
|
handleOriginTime, |
|
|
|
handleAiTime, |
|
|
|
getVideoOptions, |
|
|
|
getVideoLiveOptions, |
|
|
|
getVideoAiOptions, |
|
|
|
handleDrawerColse |
|
|
|
} |
|
|
|
} |