You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I want to take screen shot of playing video. But it is coming as blank, please find the attached file.
I have given ID attribute to the main container and playing video inside. May i missed anything?
Hello,
I want to take screen shot of playing video. But it is coming as blank, please find the attached file.
I have given ID attribute to the main container and playing video inside. May i missed anything?
<div id="videoPlayer">
<VideoPlayer />
</div>
const elem = document.querySelector('#videoPlayer');
html2canvas(elem).then(canvas => {
const link = document.createElement('a');
link.download = 'screenshot.png';
link.href = canvas.toDataURL();
link.click();
link.remove();
});
Can you please help me , how to take screenshot of live video playing?
The text was updated successfully, but these errors were encountered: