From the source
Replit built a video rendering engine that injects a virtual clock into the browser, replacing timing APIs such as setTimeout, requestAnimationFrame, and Date.now() to make animations deterministic.
- The engine also includes workarounds for headless Chrome's compositor and a multi-layer solution for handling <video> elements.






