45
Accessing the Webcam
In this Chapter
Learn how to access the webcam
Learn how to take the output of a webcam and display it on our page
Accessing your webcam via your browser used to involve a plug-in (pardon the profanity). That’s right. In order to connect to a webcam and gain access to its video stream, you had to rely on something primarily created in Flash or Silverlight. While that approach certainly worked for browsers that supported plug-ins, it didn’t help for the increasing number of browsers that aim to be plug-in free. This inability to natively access the webcam without relying on third-party components was certainly a gap in the HTML development story—especially on mobile devices. At least, that was the case until pretty ...
Get Javascript Absolute Beginner's Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.