fix: display white block (#633)

This commit is contained in:
huanfei 2024-09-26 00:42:09 +08:00 committed by GitHub
parent 93367eec4c
commit d9bb74937b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -255,6 +255,7 @@ const VideoPreview: FC<{
variant={thumbnail ? "thumbnail" : "preview"}
controls={false}
src={src}
poster={previewImageUrl}
ref={setVideoRef}
muted
className="relative size-full object-cover"