'Webcam.js not working in chrome browser

I am implementing webcam.js in my website. I have downloaded script https://github.com/jhuckaby/webcamjs This script is working fine in mozilla firefox browser. But Not working in google chrome. Please check below link

http://beta.phygee.com/webcam-to-gif

enter image description here

Please Let me know what is error with my code :(



Solution 1:[1]

this is because in google crome you are not allowed to use webcam js in http for this you have to use proper ssl or you can use other browser like firefox or you can call it in i frame

Solution 2:[2]

Access your website using https instead of just http

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shakti Singh
Solution 2 VJPPaz