2.2.0 • Published 6 years ago

cordova-plugin-trim v2.2.0

Weekly downloads
4
License
ISC
Repository
-
Last release
6 years ago

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);
  }
2.2.0

6 years ago

2.1.0

6 years ago

2.0.0

7 years ago

1.0.0

7 years ago