Skip to content

fix: preserve signed media URLs - #154

Merged
dazzatronus merged 2 commits into
shotstack:mainfrom
drinovac:fix/remove_cors_query_param
Aug 21, 2026
Merged

fix: preserve signed media URLs#154
dazzatronus merged 2 commits into
shotstack:mainfrom
drinovac:fix/remove_cors_query_param

Conversation

@drinovac

Copy link
Copy Markdown
Contributor

Summary

  • Pass image and video source URLs to the asset loader unchanged.
  • Prevent the added x-cors=1 query parameter from invalidating signed S3 URLs.

Testing

  • npm test -- --runInBand tests/media-player-fallback.test.ts
  • npm run typecheck
  • npx eslint src/components/canvas/players/image-player.ts src/components/canvas/players/image-to-video-player.ts src/components/canvas/players/video-player.ts

@dazzatronus dazzatronus self-assigned this Aug 21, 2026
@dazzatronus dazzatronus added the bug Something isn't working label Aug 21, 2026
@dazzatronus
dazzatronus force-pushed the fix/remove_cors_query_param branch from 95bea17 to 6575b55 Compare August 21, 2026 00:36
@dazzatronus
dazzatronus merged commit 561e76d into shotstack:main Aug 21, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.16.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@dazzatronus

Copy link
Copy Markdown
Contributor

@drinovac Merged and shipped. Thanks for adding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants