html2canvas - need to ignore elements during the initial DOM scan

43 Views Asked by At

I think html2canvas is scanning the whole DOM and reading the video data, which causes them to start playing aloud.

I need it to skip the video elements, as (1) they should not be playing sound, and (2) this is hurting performance, especially on mobile.

I’ve tried ignoreElements, but I don’t think that’s the right solution. It’s still scanning the whole DOM. Is there anything else I can do?

0

There are 0 best solutions below