Vinlic / WebVideoCreator

🌈 A framework for rendering web animations into videos. It's implemented based on Node.js + Puppeteer + Chrome + FFmpeg, utilizing the latest browser APIs.
Apache License 2.0
137 stars 33 forks source link

Allow to set other parameters of Viewport #5

Closed ivangusev closed 1 year ago

ivangusev commented 1 year ago

Is it possible to add a setting which allows to pass additional settings to page.setViewport() For example i need to set isMobile=true

https://pptr.dev/api/puppeteer.viewport/#properties

Vinlic commented 1 year ago

@ivangusev The latest version 0.0.24 has added the pageViewport parameter to achieve this goal. :D