I have a working code on desktop browsers supporting getUserMedia Api, I can correctly see a video preview of my webcam in the div videoPreview. However, when r
videoPreview
For those encountering same problem : I fixed it by adding autoplay attribute to my tag.
autoplay
Was stuck with this for a while, I hope this will help someone else.