Commit c137a089 by lijiabin

【需求 20331】feat: 加入视频封面

parent 573815ef
......@@ -104,7 +104,12 @@
/>
</div>
<div v-if="articleDetail.type === ArticleTypeEnum.VIDEO" class="flex justify-center">
<video :src="articleDetail.videoUrl" controls class="w-80% aspect-video bg-black" />
<video
:src="articleDetail.videoUrl"
controls
class="w-80% aspect-video bg-black"
:poster="`${articleDetail.videoUrl}?x-oss-process=video/snapshot,t_1000,f_jpg`"
/>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment