Skip to content

Commit

Permalink
feat: video playback
Browse files Browse the repository at this point in the history
  • Loading branch information
warmachine028 committed Nov 24, 2024
1 parent 3961f9c commit e93eee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/posts/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const MediaPreview = ({ media }: MediaPreviewProps) => {
),
VIDEO: (
<div className="aspect-video w-full rounded-md bg-muted">
<video src={media.url} controls className="mx-auto size-fit max-w-[30rem] rounded-md" />
<video src={media.url} controls className="mx-auto size-fit rounded-md" />
</div>
)
}
Expand Down

1 comment on commit e93eee0

@vercel
Copy link

@vercel vercel bot commented on e93eee0 Nov 24, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.