tsayen / dom-to-image

Generates an image from a DOM node using HTML5 canvas
Other
10.23k stars 1.68k forks source link

Video doesn't work #280

Open YangBo29 opened 5 years ago

YangBo29 commented 5 years ago

Use case: description, code

jsfiddle

Expected behavior

Actual behavior (stack traces, console logs etc)

Library version

Browsers

Video and webgl content cannot be intercepted Is there a solution

YenHub commented 5 years ago

You can't 'print' video... !

Perhaps you could render an element behind the video and snapshot this in place of the video?

xiaoshine commented 3 years ago

i have same problem webgl and video not work

marcusx2 commented 2 years ago

Video tag screenshot support please. There is this pull request from 2017 that wasn't merged yet.