fix: preview image scaling

This commit is contained in:
Maze Winther
2025-07-10 23:45:59 +02:00
parent c86d200297
commit eabcdb0988
2 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -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}