bubkoo / html-to-image

✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Video Elements throw error

ErikSom opened this issue · comments

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

commented

👋 @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.