fix: video autoplay (#587)

This commit is contained in:
Joaquín Sánchez 2022-12-28 00:07:33 +01:00 committed by GitHub
parent 12942095de
commit ba91e0421e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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