You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Supplying an aspect ratio AND the transformation parameter causes poster URLs to fail #1087
builds a poster image with URL https://res.cloudinary.com/demo/_applet_/video_service/elements/upload/ZG9n/poster?tx=ar_640%3A360%2Cc_limit%2Cw_1000&_s=vp (ar_640:360,c_limit,w_1000), which succeeds.
builds a poster image with URL https://res.cloudinary.com/demo/_applet_/video_service/elements/upload/ZG9n/poster?tx=q_auto%2Far_640%3A360%2Fc_limit%2Cw_1000&_s=vp (q_auto/ar_640:360/c_limit,w_1000) which returns x-cld-error: Crop mode scale requires specifying either width or height, because the ar transformation is slash-separated rather than comma-separated from the w_1000, so it becomes an independent scale operation without a width or height.
I guess this is working as-designed in a way - the transformations field in the player configuration can be passed as both object & array - passing an array is exactly about allowing you to control the transformation-string structure - so every array-component becomes a transformation-component (i.e. delimited with a /)
Activity
fix: remove aspect ratio from videoPlayer options
tsi commentedon Sep 15, 2026
Hi @eportis-cloudinary thanks for reporting this.
I guess this is working as-designed in a way - the transformations field in the player configuration can be passed as both object & array - passing an array is exactly about allowing you to control the transformation-string structure - so every array-component becomes a transformation-component (i.e. delimited with a
/)In your case, the easy way out, if you want the whole thing to be a single transformation-component is to just pass an object.
See this fork of your codepen: https://codepen.io/editor/tsi/pen/01a0a49c-49e2-732e-9548-c690b5727821
chore(release): 7.0.0-beta.13 [skip ci]