Open andrea-spotsoftware opened 10 years ago
i fixed it.
Based on the example: http://www.sitepoint.com/introduction-getusermedia-api/
In the success callback of the demo, instead of: video.src = stream;
type this: createSrc(stream);
where createSrc is the function below (add it somewhere): var createSrc = window.URL ? window.URL.createObjectURL : function(stream) {return stream;};
...and i just saw that you wrote something like this in github readme! ;) So the only need is to update the demo, then close
check-out http://addyosmani.github.io/getUserMedia.js/face-detection-demo/index.html
the permission popup is showed, but the webcam stream is not rendered on the box