SamuelScheit / puppeteer-stream

A Library for puppeteer to retrieve audio and/or video streams
MIT License
333 stars 105 forks source link

Javascript animations are not captured in the video #95

Closed drveresh closed 1 year ago

drveresh commented 1 year ago

I tried to create a video (to file stream) using a local .html file that has javascript animations(from https://animate.style/), but the output video doesn't reflect the animations but simply shows without it.

SamuelScheit commented 1 year ago

I can't reproduce it, do you have prefers-reduced-motion enabled in chrome or your system settings? Try it in headful (window) mode and see if the browser actually plays the animation.

Here is my test.webm result. As you can see the animation on the homepage plays and gets recorded correctly.