Capturing video automatically and saved in phone in cordova android

I have implemented video capturing facility in cordova using this plugin(https://github.com/EddyVerbruggen/VideoCapturePlus-PhoneGap-Plugin). But I need capture the video automatically and save to memory without any user actions,Also i want to get the path of saved Video.Is it possible with this plugin??

//this only prompt to turn on camera automatically 
    window.plugins.videocaptureplus.captureVideo(captureSuccess, captureError, {limit:1, duration:10});

Also i want to get the path of saved Video

Answers


I used the Cordova LibraryHelper plugin. It has a method that will save to the native camera roll/app, just pass it the mediafile path after you grab it with VideoCapturePlus and pass the name of the album you want the files to save it.

It supports Android & iOS although I've only used it for iOS.


Need Your Help

flash not found in Products.scala

scala playframework playframework-2.0 playframework-2.3

I am currently reading 'Play for Scala' by Peter Hilton. I have just got the the end of the first example Play app where you build a paperclip directory.

Why does my Python3 script balk at piping its output to head or tail (sys module)?

python python-3.x pipe

I have a Python3 script that writes its output to stdout, but it complains when I pipe that output into head or tail. Note in the sample output below that it sort of works, in that head is returnin...