Skip to content

@remotion/studio: Add SFX drag support for Studio#8207

Merged
JonnyBurger merged 2 commits into
mainfrom
cursor/drag-sfx-into-studio-e1d9
Jun 6, 2026
Merged

@remotion/studio: Add SFX drag support for Studio#8207
JonnyBurger merged 2 commits into
mainfrom
cursor/drag-sfx-into-studio-e1d9

Conversation

@JonnyBurger
Copy link
Copy Markdown
Member

@JonnyBurger JonnyBurger commented Jun 6, 2026

Summary

  • Closes Drag a @remotion/sfx into the Studio #8200.
  • Adds an SFX drag payload for docs and generic URL validation.
  • Lets SFX docs pages and the SFX table of contents drag audio into Studio canvas.
  • Inserts remote SFX as @remotion/media <Audio src="https://remotion.media/..." /> without importing @remotion/sfx.
  • Makes asset srcType mandatory and supports any valid remote URL for remote insertions.

Demo

sfx_drop_into_studio_canvas_success.mp4

Testing

  • bun test src/test/sfx-drag-data.test.ts src/test/required-package.test.ts
  • bun test src/test/import-assets.test.ts
  • bun test src/test/resolve-composition-component.test.ts src/test/download-remote-asset.test.ts
  • bun run build
  • bunx turbo run lint formatting --filter='@remotion/studio' --filter='@remotion/studio-server' --filter='@remotion/studio-shared'
  • Manual Studio canvas drop verification (see demo video)

Notes

  • bun run stylecheck is blocked in this VM by the known @remotion/lambda-go Go requirement: golang.org/x/crypto@v0.35.0 requires go >= 1.23.0, while the VM has Go 1.22.2.
Open in Web Open in Cursor 

Co-authored-by: Jonny Burger <hi@jonny.io>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Jun 6, 2026

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

Project Deployment Actions Updated (UTC)
bugs Ready Ready Preview, Comment Jun 6, 2026 12:37pm
remotion Ready Ready Preview, Comment Jun 6, 2026 12:37pm

Request Review

Co-authored-by: Jonny Burger <hi@jonny.io>
@pullfrog
Copy link
Copy Markdown
Contributor

pullfrog Bot commented Jun 6, 2026

This run was cancelled 🛑

The workflow was cancelled before completion. Please check the link below for details.

Pullfrog  | View workflow run | via Pullfrog𝕏

@JonnyBurger JonnyBurger merged commit d2f2ab3 into main Jun 6, 2026
18 checks passed
@JonnyBurger JonnyBurger deleted the cursor/drag-sfx-into-studio-e1d9 branch June 6, 2026 16:18
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.

Drag a @remotion/sfx into the Studio

2 participants