|
@@ -4,7 +4,18 @@
|
|
<!-- AI数字人视频/图像显示区域 -->
|
|
<!-- AI数字人视频/图像显示区域 -->
|
|
<div class="digital-human-video">
|
|
<div class="digital-human-video">
|
|
<!-- 添加GIF图片显示区域 -->
|
|
<!-- 添加GIF图片显示区域 -->
|
|
- <img v-if="showGif && gifUrl" :src="gifUrl" class="gif-player" alt="面试官GIF" />
|
|
|
|
|
|
+ <!-- <img v-if="showGif && gifUrl" :src="gifUrl" class="gif-player" alt="面试官GIF" /> -->
|
|
|
|
+ <video
|
|
|
|
+ v-if="showGif && gifUrl"
|
|
|
|
+ :src="gifUrl"
|
|
|
|
+ id="mpVideo"
|
|
|
|
+ autoplay
|
|
|
|
+ class="video-player"
|
|
|
|
+ :controls="false"
|
|
|
|
+ loop
|
|
|
|
+ muted
|
|
|
|
+ object-fit="contain"
|
|
|
|
+ ></video>
|
|
|
|
|
|
<!-- 视频播放区域,当showGif为false时显示 -->
|
|
<!-- 视频播放区域,当showGif为false时显示 -->
|
|
<video
|
|
<video
|
|
@@ -835,17 +846,17 @@ export default {
|
|
|
|
|
|
// 设置对应问题的GIF图片URL
|
|
// 设置对应问题的GIF图片URL
|
|
if (this.currentVideoIndex === 0) {
|
|
if (this.currentVideoIndex === 0) {
|
|
- this.gifUrl = 'http://121.36.251.245:9000/minlong/tenant_1/general_uploads/5273282d971441249aeadf35a7574f01.gif';
|
|
|
|
|
|
+ this.gifUrl = 'http://121.36.251.245:9000/minlong/cae2da8f92ce4af278d3929ab8c5973f.mp4';
|
|
} else if (this.currentVideoIndex === 1) {
|
|
} else if (this.currentVideoIndex === 1) {
|
|
- this.gifUrl = 'http://121.36.251.245:9000/minlong/tenant_1/general_uploads/5273282d971441249aeadf35a7574f01.gif';
|
|
|
|
|
|
+ this.gifUrl = 'http://121.36.251.245:9000/minlong/cae2da8f92ce4af278d3929ab8c5973f.mp4';
|
|
} else if (this.currentVideoIndex === 2) {
|
|
} else if (this.currentVideoIndex === 2) {
|
|
- this.gifUrl = 'http://121.36.251.245:9000/minlong/tenant_1/general_uploads/5273282d971441249aeadf35a7574f01.gif';
|
|
|
|
|
|
+ this.gifUrl = 'http://121.36.251.245:9000/minlong/cae2da8f92ce4af278d3929ab8c5973f.mp4';
|
|
} else if (this.currentVideoIndex === 3) {
|
|
} else if (this.currentVideoIndex === 3) {
|
|
- this.gifUrl = 'http://121.36.251.245:9000/minlong/tenant_1/general_uploads/5273282d971441249aeadf35a7574f01.gif';
|
|
|
|
|
|
+ this.gifUrl = 'http://121.36.251.245:9000/minlong/cae2da8f92ce4af278d3929ab8c5973f.mp4';
|
|
} else if (this.currentVideoIndex === 4) {
|
|
} else if (this.currentVideoIndex === 4) {
|
|
- this.gifUrl = 'http://121.36.251.245:9000/minlong/tenant_1/general_uploads/5273282d971441249aeadf35a7574f01.gif';
|
|
|
|
|
|
+ this.gifUrl = 'http://121.36.251.245:9000/minlong/cae2da8f92ce4af278d3929ab8c5973f.mp4';
|
|
} else if (this.currentVideoIndex === 5) {
|
|
} else if (this.currentVideoIndex === 5) {
|
|
- this.gifUrl = 'http://121.36.251.245:9000/minlong/tenant_1/general_uploads/5273282d971441249aeadf35a7574f01.gif';
|
|
|
|
|
|
+ this.gifUrl = 'http://121.36.251.245:9000/minlong/cae2da8f92ce4af278d3929ab8c5973f.mp4';
|
|
}
|
|
}
|
|
|
|
|
|
// 显示GIF图片
|
|
// 显示GIF图片
|