Skip to content

Commit

Permalink
fix: display white block (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
huanfe1 authored Sep 25, 2024
1 parent 93367ee commit d9bb749
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/renderer/src/components/ui/media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d9bb749

Please sign in to comment.