mirror of
https://github.com/elk-zone/elk.git
synced 2024-09-06 20:29:08 +01:00
fix: video autoplay (#587)
This commit is contained in:
parent
12942095de
commit
ba91e0421e
1 changed files with 3 additions and 0 deletions
|
@ -80,8 +80,11 @@ const type = $computed(() => {
|
|||
<template v-else-if="type === 'gifv'">
|
||||
<video
|
||||
:poster="attachment.previewUrl"
|
||||
preload="none"
|
||||
loop
|
||||
playsinline
|
||||
autoplay
|
||||
muted
|
||||
border="~ base"
|
||||
object-cover
|
||||
:width="attachment.meta?.original?.width"
|
||||
|
|
Loading…
Reference in a new issue