$scope.captureVideo = function() {
var options = { limit: 3, duration: 15 };
$cordovaCapture.captureVideo(options).then(function(videoData) {
// success! Video data is here
console.log(videoData);
}, function(err) {
// An error occurred. Show a message to the user
});
}
Thanks in Advance…