3lhkga
Last Updated: February 25, 2016
·
17.8K
· jonashartmann
845e6c4fbebd7c14e80188387a0ddcf6

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. :-)

Say Thanks
Respond

2 Responses
Add your response

16347
Fe7e0a33810f4741485bf54228c4bb5c

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 ·
18976
None

Perfect for my Problem

over 1 year ago ·