How to save recorded video on iPhone using Cordova + Phonegap?

I use this function to record video using Cordova + Phonegap :

 $scope.captureVideo = function() {

var options = { limit: 1, duration: 5, saveToPhotoAlbum: true };

 $cordovaCapture.captureVideo(options).then(function(videoData) {

var i, path, len;
for (i = 0, len = videoData.length; i < len; i += 1) {
      path = videoData[i].fullPath;

///*******************************************//
// Here I need to save the video in gallery. ????
//********************************************//
}

}, function(err) {  });
}

After the video is recorded I need to save it in gallery?

1 Like

At the moment, this doesn’t seem to be supported by the cordova capture plugin.
I did find this though

Haven’t tried it, but it could be helpful

1 Like