Skip to content

Commit 1a85cd1

Browse files
authored
Merge pull request #601 from ArjunCodess/fix/cldvideoplayer-fullscreen-object-cover
fix: resolve CldVideoPlayer fullscreen object-cover issue #433
2 parents e773849 + 27e2dbb commit 1a85cd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next-cloudinary/src/components/CldVideoPlayer/CldVideoPlayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const CldVideoPlayer = (props: CldVideoPlayerProps) => {
165165
<Head>
166166
<link href={`https://unpkg.com/cloudinary-video-player@${PLAYER_VERSION}/dist/cld-video-player.min.css`} rel="stylesheet" />
167167
</Head>
168-
<div style={{ width: '100%', aspectRatio: `${width} / ${height}`}}>
168+
<div style={{ width: '100%' }}>
169169
<video
170170
ref={videoRef}
171171
id={playerId}

0 commit comments

Comments
 (0)