Skip to content

Support requestInit for animated images#7311

Draft
alec-watts wants to merge 2 commits into
remotion-dev:mainfrom
alec-watts:add-request-init-animated-images
Draft

Support requestInit for animated images#7311
alec-watts wants to merge 2 commits into
remotion-dev:mainfrom
alec-watts:add-request-init-animated-images

Conversation

@alec-watts
Copy link
Copy Markdown

Summary

  • Add requestInit support to <AnimatedImage /> and GIF loading so callers can pass fetch options such as credentials: 'include'.
  • Include request init values in GIF cache keys and pass them through the GIF worker path.
  • Document the new option for <AnimatedImage />, <Gif />, preloadGif(), and getGifDurationInSeconds().

Test plan

  • git diff --check
  • IDE diagnostics for edited source paths
  • Regenerated packages/gif/src/worker/source.ts with esbuild
  • Full package checks not run because this checkout has no installed node_modules

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bugs Ready Ready Preview, Comment May 14, 2026 6:52am
remotion Ready Ready Preview, Comment May 14, 2026 6:52am

Request Review

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