HTML5 Zone is brought to you in partnership with:

Sapnagroup has been developing web applications for last 10 years. We develop for clients across the globe. Our forte has been the LAMP platform and we have developed complex applications in this domain. Sapna is a DZone MVB and is not an employee of DZone and has posted 3 posts at DZone. You can read more from them at their website. View Full User Profile

Opera 12 Now Lets You (Stably) Access the Webcam

06.23.2012
| 1957 views |
  • submit to reddit

The recently released version 12 of  Opera allows the browser to access the PC webcam via the HTML5 navigator.getUserMedia API. This is probably the first stable version of a browser permitting this. As indicated in our earlier post, this allows the script to capture screenshots of the webcam. It also offers local storage which is another HTML5 feature. To try it out, go to http://html5.sapnagroup.com/gallery/camera.php and click to capture the photo.  The photo is stored in local storage till you . Till date, one could access webcam only via flash on a desktop browser. This would open up lots of new avenues. A typical use could be photographing a user when he/she is filling up an application thus avoiding the headache of uploading another photo. We are still researching if this allows capturing the video and will have an update on this soon.

Published at DZone with permission of Sapna Group, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)