The scenario is like when a user upload a video from front end at that time need to give them an option to generate a thumbnail from uploaded video and upload that thumbnail image into particular folder structure.
Here is a demo of the scenario: http://jsfiddle.net/giu_do/e98tffu6/
I need to develop this whole thing in Reactjs. I go through many npm libraries but they are not suitable regarding my scenario.
Biplab Malakar
Senior Software Engineer, JavaScript Developer, MEAN Developer, Node.js Developer, MERN Developer, Hybrid Mobile App Developer and ML Develo
Try this code function capture(){ var canvas = document.getElementById('canvas'); var video = document.getElementById('video'); canvas.getContext('2d').drawImage(video, 0, 0, video.videoWidth, video.videoHeight); }