Add unframer video integration - #6
Draft
remorses wants to merge 2 commits into
Draft
Conversation
The src/framer/ directory is generated by unframer and should not be tracked in git. Added it to .gitignore and removed the tracked files from the index. Added AGENTS.md explaining that `pnpm framer` must be run before `pnpm dev` or rendering, since the framer components are generated and not committed. Session: ses_106400b7dffeHRD2InC74S9BPi
Add a dedicated unframer timing bridge for egaki video exports. Unframer bundles its own Framer Motion runtime, so the existing motion-dom timing patch did not control its JSAnimation instances, manual clock, frame steps, or VisualElement flushes. The integration now: - detects unframer projects in the Vite plugin and injects unframer-timing before user modules - drives unframer manual time with time.set() and frameData.timestamp - samples unframer JSAnimation instances from Remotion frame time - flushes unframer frameSteps and VisualElement renders after sampling - lets zero-duration Framer animations finish normally so instant style commits do not get stuck - proxies external Framer image assets through the Vite dev server to keep Canary HTML-in-canvas exports origin-clean - waits for image decode and fonts during browser exports to reduce missing-image captures - adds an unframer example project with 11 exported Framer sections Validation: - cd cli && pnpm build - exported the unframer example in Chrome Canary using localhost - confirmed later scenes no longer stay black Session: ses_106475ccbffecRQvhA37YGdzCN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dedicated unframer timing bridge for egaki video exports. Unframer bundles its own Framer Motion runtime, so the existing motion-dom timing patch did not control its JSAnimation instances, manual clock, frame steps, or VisualElement flushes.
What it does:
time.set()andframeData.timestampReplaces PR #5 which was accidentally fast-forward merged into main.