cordova-plugin-trim
v2.2.0
Published
cordova plugin to trim videos
Downloads
2
Readme
cordova-trim-plugin
Trim videos with custom layout.
Installation
cordova plugin add cordova-trim-plugin
Example
VideoTrim.trim(
trimSuccess,
trimFail,
{
path: url, // path to input video,
limit : 20 // max limit, only for android
}
);
function trimSuccess(result) {
// result is the path to the trimmed video on the device
console.log('trimSuccess, result: ' + result);
}
function trimFail(err) {
console.log('trimFail, err: ' + err);
}