Screenshots in angular 2/4

Can I take a screenshot of a video / video stream in angular 2/4? I heard about html2canvas, but when I used it, the video was not on the screen. All other solutions were for angularjs, and I cannot rewrite it to work on angular 2/4.

I want to achieve this effect .

+8
source share
1 answer

I understand this is an old question, but you could do it without html2canvas with Vanilla JS.

Check out this demo to see it in action: https://stackblitz.com/edit/angular-video-player-snapshot

Note. Due to problems with CORS, video is broadcast only after the application is downloaded and launched locally.

0
source

Source: https://habr.com/ru/post/1686500/


All Articles