HTML webcam with AngularJS
<webcam></webcam>
It is that simple.
The camera of the user is accessed using the getUserMedia specification. Therefore, it won't work in all browsers before they agree on the implementation.
That element is everything you need to render the user's webcam.
But if you want to, you can access the camera stream directly or the rendered video element using simple callbacks.
Take a look at some demos first or go directly to the source code.
Don't be shy, try it! Then let the world know what kind of amazing stuff you did. :-)
Written by Jonas Hartmann
Related protips
2 Responses
Hi, your directive is fucking awesome! Thank you.
Now we just need Apple and Microsoft to get their shit together and implement webRTC.
over 1 year ago
·
Perfect for my Problem
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Canvas
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#