Repository navigation
v7.1.0
⚠️ Known issue (fixed in 7.1.1)
Fixed in 7.1.1. Upgrade with npm install next-cloudinary@7.1.1.
In 7.1.0, if CldVideoPlayer has an aspectRatio and a transformation object, the delivered video can be different from 7.0.0. The size or shape can change, and in some cases the video fails to load. For example:
- With
aspectRatio="16:9"andtransformation={{ width: 500 }}, a vertical (9:16) video is delivered at 500×280 instead of 500×888, so it's distorted. - With
aspectRatioand a text overlay that has no width or height, the video fails to load.
Workaround: pass the transformation as an array, for example transformation={[{ width: 500 }]}. This gives the same URLs as 7.0.0, so you can stay on 7.1.0. As in 7.0.0, the poster won't load in this case; see #675 for a workaround. Alternatively, pin to 7.0.0 (npm install next-cloudinary@7.0.0 --save-exact) until the fix is released in 7.1.1.
aspectRatio on its own isn't affected, and neither are players without aspectRatio or with transformation passed as an array.
7.1.0 (2026-11-12)
Features
- load CldVideoPlayer posters when aspectRatio is set (4a69d6e)