Skip to content

Conversation

@tsi
Copy link
Collaborator

@tsi tsi commented Oct 19, 2025

Jira: https://cloudinary.atlassian.net/browse/VIDEO-20097

  • Append _s=vp-XX query string to assets URLs (fix regression)
  • Align shoppableProductsLength with shoppable
  • Add interactionAreas indication

Follow-up: it would be nice to append that query-string to any call coming from the player, today it will apply to the video fetching, but it would be nice to generalize it so it applies also to posters, chapters, transcript etc

@tsi tsi self-assigned this Oct 19, 2025
@tsi tsi requested a review from a team as a code owner October 19, 2025 14:33
@netlify
Copy link

netlify bot commented Oct 19, 2025

Deploy Preview for cld-video-player ready!

Name Link
🔨 Latest commit bebf1a8
🔍 Latest deploy log https://app.netlify.com/projects/cld-video-player/deploys/68f75b5168a68e000891f885
😎 Deploy Preview https://deploy-preview-917--cld-video-player.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented Oct 19, 2025

Deploy Preview for cld-vp-esm-pages ready!

Name Link
🔨 Latest commit bebf1a8
🔍 Latest deploy log https://app.netlify.com/projects/cld-vp-esm-pages/deploys/68f75b516c9dc30008ce53a1
😎 Deploy Preview https://deploy-preview-917--cld-vp-esm-pages.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@tsi tsi requested a review from adimiz1 October 21, 2025 10:06
} : {}),
shoppable: hasConfig(sourceOptions.shoppable),
shoppableProductsLength: sourceOptions.shoppable && sourceOptions.shoppable.products && sourceOptions.shoppable.products.length,
shoppableProductsLength: hasConfig(sourceOptions.shoppable) && sourceOptions.shoppable.products.length,
Copy link
Contributor

@adimiz1 adimiz1 Oct 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sourceOptions?.shoppable?.products?.length > 0

I'm wondering if this will work?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a condition yes, but it will return false if length is 0, and in this specific flow, we want nulls, because false might be a valid configuration that needs to be reported to analytics (i.e. allowUsageReport: false), so if it's false we'll keep and report it, but if it's null will clean it up.

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.

3 participants