Fix:4629 【旅居供应链小程序】供应链小程序/PC端修改资讯,将图片资讯改为视频后,视频无法正常播放

(cherry picked from commit 6e316a9f2c)
This commit is contained in:
linxi
2025-11-21 12:34:11 +08:00
parent c894689365
commit c39f2a4da8
+3 -3
View File
@@ -130,8 +130,8 @@
</view> </view>
<image <image
v-if="activeVideo !== 'video-item' + index" v-if="activeVideo !== 'video-item' + index"
:src="item.images[0] ? item.images[0] + '?vframe/jpg/offset/1' : item.video + '?vframe/jpg/offset/1'" :src="item.video + '?vframe/jpg/offset/1'"
:poster="item.images[0] ? item.images[0] + '?vframe/jpg/offset/1' : item.video + '?vframe/jpg/offset/1'" :poster="item.video + '?vframe/jpg/offset/1'"
controls controls
play-btn-position="center" play-btn-position="center"
:show-fullscreen-btn="false" :show-fullscreen-btn="false"
@@ -141,7 +141,7 @@
/> />
<video <video
v-else v-else
:src="item.images[0] ? item.images[0] : item.video" :src="item.video"
controls controls
autoplay autoplay
play-btn-position="center" play-btn-position="center"