summaryrefslogtreecommitdiff
path: root/apps/web/src/components/ui/video-player.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-10 23:45:59 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-10 23:45:59 +0200
commiteabcdb0988c3fdf5f940cb24a3e817bb19d45512 (patch)
treef8f08b8c3115b663a238f1bdffd8b18a782982e6 /apps/web/src/components/ui/video-player.tsx
parentc86d20029716528149d0e9fae78ef5bed965e538 (diff)
downloadopencut-eabcdb0988c3fdf5f940cb24a3e817bb19d45512.tar.gz
fix: preview image scaling
Diffstat (limited to 'apps/web/src/components/ui/video-player.tsx')
-rw-r--r--apps/web/src/components/ui/video-player.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/ui/video-player.tsx b/apps/web/src/components/ui/video-player.tsx
index d8a72e40..29d82cdf 100644
--- a/apps/web/src/components/ui/video-player.tsx
+++ b/apps/web/src/components/ui/video-player.tsx
@@ -118,7 +118,7 @@ export function VideoPlayer({
ref={videoRef}
src={src}
poster={poster}
- className={`w-full h-full object-cover ${className}`}
+ className={`max-w-full max-h-full object-contain ${className}`}
playsInline
preload="auto"
controls={false}