Reputation: 1923
Is there a way to control the computer camera (activate) using javascript (preferably jQuery)?
Upvotes: 2
Views: 1184
Reputation: 30015
Browser api's for cameras are basically unsupported. Unfortunately you will have to use flash to do that in any kind of cross browser compatible way. But fret not, there is jQuery pluggin that uses a simple flash object to expose the camera to javascript.
http://www.xarg.org/project/jquery-webcam-plugin/
Upvotes: 1
Reputation: 944256
You would need to use the getUserMedia API.
Browser support is, at the time of writing, limited to Opera 12.
Your other options would involve using something like Flash, which has access to webcams, to write a JavaScript bridge.
Upvotes: 4