Attempting to call drawImage with video from a webcam does not seem to work in Firefox with NS_ERROR_NOT_AVAILABLE: Component is not available .
I try to wait for each event that the video library fires: play , playing , canplay , loadeddata , loadedmetadata , etc., and nothing works. This seems to be due to the fact that these events fire before the stream is correctly loaded into the <video> element.
JSFiddle with an error (you can view the error message in the console)
A side effect is that the width and height of the video is also incorrect.
javascript firefox video canvas getusermedia
Achal dave
source share