Files
hyperframes/packages
Miguel Angel Simon Sierra 404c4f66f4 fix(player): pre-parse runtime injection for standalone anime compositions
<hyperframes-player> couldn't play a raw anime.js composition from src: the
inline hyperframesAnime.register() call throws before the runtime exists,
and the existing late-injection fallback only fires for GSAP's __timelines
and appends the runtime after parse, which is too late for a call that
already ran.

Add a runtime-src attribute to override the runtime URL, and a pre-parse
path in the probe: once it observes a same-origin composition that
references hyperframesAnime but never got a runtime/timeline/registry,
fetch the original src, inject the runtime script + a <base> tag ahead of
the composition's own scripts, and reload via srcdoc (once per src).
shouldInjectRuntime now also refuses to late-inject once an anime registry
is present, since that path can never help these compositions.
2026-07-10 02:35:43 -04:00
..
2026-07-07 16:04:26 -07:00
2026-07-07 16:04:26 -07:00
2026-07-07 16:04:26 -07:00
2026-06-16 13:16:09 -04:00
2026-07-07 16:04:26 -07:00