Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to access webcam from HTML5? [closed]

I want access webcam from HTML5 for register and save a video file, for playing later. Is this possible?

like image 364
Adrian B Avatar asked Aug 16 '11 06:08

Adrian B


People also ask

How do I access HTML5?

Select File > New Project (Ctrl-Shift-N; ⌘-Shift-N on Mac) in the main menu to open the New Project wizard. Select the HTML5/JavaScript category and then select HTML5/JS Application. Click Next.


1 Answers

Apparently, the <device> tag is not part of the HTML5 spec, and therefore there is no currently standard way to access webcams from a browser. You might be able to get away with using the JavaScript API navigator.getUserMedia(...), but that isn't supported by any browsers, either

You can read up on this here: Which web browsers support the HTML5 <device> tag?

like image 191
OverZealous Avatar answered Oct 02 '22 04:10

OverZealous