Skip to content

JGLWEB-130 add resource type to cloudinary to propery generate video url#118

Merged
RandyCupic merged 2 commits intomasterfrom
JGLWEB-130-ngrm-video-support-fix
Sep 10, 2025
Merged

JGLWEB-130 add resource type to cloudinary to propery generate video url#118
RandyCupic merged 2 commits intomasterfrom
JGLWEB-130-ngrm-video-support-fix

Conversation

@amalija-ramljak
Copy link
Member

The updated function buildVariationUrl gets called when using netgen_remote_variation in twig, but it's missing resource_type in the options used with cloudinary's API. When the fn is then used with a video, the resulting URL ends up with /image/ instead of /video/ because cloudinary's code falls back to image for resource_type, and that URL does not work.

@RandyCupic RandyCupic merged commit 1030ded into master Sep 10, 2025
5 checks passed
@RandyCupic RandyCupic deleted the JGLWEB-130-ngrm-video-support-fix branch September 10, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants