Use the Web cam in web pages
JS Library required: webcamJS
webcamJS make life a lot easier, sparing you from having to deal with far less code.
Download the webcam.min.js to your website working folder.
Also we'll be using jQuery.
What if we want the background the become filled with the snap?
What if we want to display all the snaps taken, and not only the last one?