bubkoo / html-to-image

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.
MIT License
5.4k stars 505 forks source link

Video Elements throw error #396

Open ErikSom opened 1 year ago

ErikSom commented 1 year ago

Whenever there is a video element in the dom, recent browser throw a non verbose error.

Expected Behavior

Video elements should not throw errors or be ignored.

Current Behavior

They do throw errors and reject the promise.

Possible Solution

Ignore video tags by default

Steps To Reproduce

See https://codepen.io/unrealnl/pen/rNqGdKB

vivcat[bot] commented 1 year ago

👋 @ErikSom

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

ForeverSun commented 1 day ago

When will it be solved?