Skip to content

docs(skills): align Lottie guidance with runtime adapter#1141

Merged
miguel-heygen merged 1 commit into
heygen-com:mainfrom
kiyeonjeon21:docs/lottie-adapter-guidance
May 31, 2026
Merged

docs(skills): align Lottie guidance with runtime adapter#1141
miguel-heygen merged 1 commit into
heygen-com:mainfrom
kiyeonjeon21:docs/lottie-adapter-guidance

Conversation

@kiyeonjeon21
Copy link
Copy Markdown
Contributor

Summary

This is a small docs/skills consistency update for Lottie guidance.

  • Updates the visual techniques Lottie example to use the render-safe lottie-web pattern with autoplay: false and window.__hfLottie registration.
  • Corrects the Remotion Lottie API mapping so it does not imply lottie.loadAnimation() returns a Promise.
  • Clarifies loop/playbackRate guidance to match the current adapter behavior, which seeks absolute composition time.

Testing

  • bun run lint:skills
  • bunx oxfmt --check skills/hyperframes/references/techniques.md skills/remotion-to-hyperframes/references/api-map.md skills/remotion-to-hyperframes/references/lottie.md
  • git diff --check

Copy link
Copy Markdown
Collaborator

@miguel-heygen miguel-heygen left a comment

Choose a reason for hiding this comment

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

Technically accurate throughout. All three fixes are correct:

  • loadAnimation is synchronous — the old .then() chain was wrong
  • autoplay: false + window.__hfLottie.push(anim) matches the adapter's own documented pattern exactly
  • Loop/playbackRate clarification aligns with the adapter's absolute-time seek behavior

Clean docs fix.

@miguel-heygen miguel-heygen merged commit 7ed809e into heygen-com:main May 31, 2026
34 checks passed
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.

2 participants