mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-23 11:29:54 +00:00
When a <video> source is shorter than data-duration without loop, getFrameAtTime() and getActiveFramePayloads() returned null for frames past the source end — the frame injector skipped the element and headless Chrome rendered black. Browser preview holds the last frame natively (per HTML spec), creating a preview/render divergence. Remove the loop guard so both looping and non-looping videos return the last extracted frame when seeking past the source duration. Closes #1043