reviews
This commit is contained in:
16
frontend/style/components/video-player.tsx
Normal file
16
frontend/style/components/video-player.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
"use client"
|
||||
|
||||
interface VideoPlayerProps {
|
||||
videoUrl: string
|
||||
}
|
||||
|
||||
export function VideoPlayer({ videoUrl }: VideoPlayerProps) {
|
||||
return (
|
||||
<div className="relative aspect-square rounded-lg overflow-hidden">
|
||||
<video src={videoUrl} controls className="absolute inset-0 w-full h-full object-cover">
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user