Browse Source

Merge branch 'video-poster' into 'develop'

Fix video posters for Safari

See merge request pleroma/pleroma-fe!1879
HJ 11 months ago
parent
commit
6391a6a4ea

+ 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"