youtube video with react player is giving black screen while capturing with domtoimage
Thesiva7 opened this issue · comments
youtube video with react player is giving black screen while capturing with domtoimage
domtoimage
.toJpeg(data, { quality: 0.95, cacheBust: true, proxy: corsProxyUrl })
.then(function (dataUrl) {
var link = document.createElement('a');
link.download = 'my-image-name.jpeg';
link.href = dataUrl;
link.click();
});
any solution for this black screen.
Have you solved this problem yet?
Sadly, this is a victim to cross domain iframe
s, I don't think we're ever going to accomplish a fix for this in a package. The best bet for that is image capture from a headless instance of Chrome.