jQuery.webcam
Posted: March 9th, 2010 | Tags: Hacking | 7 Comments »I have created my first jQuery plugin. Called jQuery.webcam, it is a plugin which allows jQuery to read data from a user’s webcam or other video capture device.
Features:
- Until browsers support native webcam capture, an (open source) flash blob is used for the actual capture.
- The plugin can optionally prompt the user to allow flash access the webcam.
- The plugin writes the video to a canvas element.
- Support for adding callbacks and filters.
There is a demonstration available (testing on Firefox 3.6). The performance is terrible at the moment, but I will be working to fix that.
I’m planning to use this plugin for my next interactive art installation, which will allow the participant to interact with a virtual environment using facial emotions. Stay tuned!
Update: I’ve put the source on github.
demostration not working. I have firefox3.6, vista7 and just see a green box even after 30 min.
Aye. I’ve heard reports that it wasn’t working in Windows. I will take a look!
not working please work on it
[...] JQUERY.WEBCAM allows web sites to read information from your site visitors’ web cams. For security purposes, it asks if you want to allow the site to access your web cam. When you agree, the site quickly displays the video coming from your web cam. It uses Flash for the web cam display. [...]
Great idea! I looked over your source on github. Looks good. Can you publish the source to the swf file? Would like to see what is going on from the swf perspective.
Source code
Does this still work? It says:
ACCESS DENIED
You are not authorized to access this page.