capture-video-frame
capture-video-frame copied to clipboard
Error running code
First of all pls pardon me as i'm a novice programmer.
When i run the code and log the value of frame, it seems that there is no data embedded within the frame. Am i missing something?
{blob: Blob, dataUri: "data:,", format: "png"} blob : Blob {size: 0, type: ","} dataUri : "data:," format : "png" proto : Object
You get the { blob: blob, dataUri: dataUri, format: format }
object back so it means you have correctly selected some HTML element, double check that it's a <video>
element.
Also this library is not tested on IE. If you are using Internet Explorer you probably see problems.
Hi! Thanks for your reply. I'm using Chrome 60.0.3112.113. I do see the video playing on Chrome, but not sure if my code has extracted out the video frames. I didn't see any image frames generated. Could you advice if the images will be saved in a directory, or how can I display the images? How do I change the setAttributes to src?
Thanks