Covering the Capture API

The Capture API, in some ways, duplicates some of the functionalities that the Camera API and the Media API provide. That said, the Capture API tries to be a little more general; its sole purpose is to capture media, whether that is images, sound, or video. Although I prefer the other APIs to take pictures or record audio, this API is the only one that supports video capturing.

As such, we'll only cover the portion of the API that works with video. If you want to see the other capture documentation, or if you just want the most up-to-date documentation for the entire API, visit

Getting ready

Before continuing, add the media capture plugin to your ...

Get PhoneGap 3.x Mobile Application Development HOTSHOT now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.