mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 19:36:04 +00:00
detectRenderModeHints scanned the raw HTML including the embedded HyperFrames runtime script, which contains requestAnimationFrame. This false positive forced screenshot capture mode for compositions that don't use rAF themselves, degrading video frame injection. Strip embedded runtime scripts before analyzing render mode hints so only user-authored code is inspected.