Capturing Video with JavaScript

One of the big deficits in HTML for many years has been the lack of any pure HTML/JavaScript interface to the microphone and camera on a user’s machine. Up until now, most JavaScript APIs for media capture have leveraged Flash to capture audio and video. However, in the new (mostly) Flash-less mobile HTML5 world, relying on a nonexistent (on certain mobile devices) technology is no longer an answer. In recent months, the W3C’s Device API Policy Working Group has stepped in to create a specification named The HTML Media Capture API to fill this hole.

Get HTML5 Canvas, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.