浏览代码

Merge branch 'video-poster' into 'develop'

Fix video posters for Safari

See merge request pleroma/pleroma-fe!1879
HJ 11 月之前
父节点
当前提交
6391a6a4ea
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      changelog.d/video-poster.fix
  2. 1 1
      src/components/video_attachment/video_attachment.vue

+ 1 - 0
changelog.d/video-poster.fix

@@ -0,0 +1 @@
+Video posters on Safari

+ 1 - 1
src/components/video_attachment/video_attachment.vue

@@ -2,7 +2,7 @@
   <video
     class="video"
     preload="metadata"
-    :src="attachment.url"
+    :src="attachment.url + '#t=0.5'"
     :loop="loopVideo"
     :controls="controls"
     :alt="attachment.description"