Screenshot from video at different time
问题 I have 3 canvas on a line, and in each I want to put an image (screenshot form a video, at different time). The problem is that all 3 screenshots are at the same time (the last time specified). Bellow is my JavaScript code. function getVideoScreenShot(videoFile, currentIncidentTime, idx) { var images = []; for(var canvas=1; canvas<=3; canvas++) { var canvasId = "#canvas"+ idx + canvas; var milisec = parseInt(currentIncidentTime)%1000; var secFromMilisec = milisec/1000; var sec = (parseInt