PhoneGap, through the media plugin API, provides us with the ability to easily access the native video recording application on our mobile device and save the captured footage.
We will use the
Capture object and the
captureVideo method that it contains to invoke the native video recording application:
videorecordingby running the following command:
phonegap create videorecording com.myapp.videorecording videorecording
cordova platform add ios cordova platform add android
file-transferplugins by running the following commands: