Webcam html
From Publication Station
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Use the Web cam in web pages
JS Library required: webcamJS
https://github.com/jhuckaby/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.
code
http://codepen.io/PublicationStation/pen/zodBRd
suggestions
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?