0.0.22 • Published 6 months ago

@bazuka5801/cordova-plugin-video-trimming-editor v0.0.22

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

cordova-plugin-video-trimming-editor

Cordova plug-in for realizing UI and functions for trimming video files in time series.
This plug-in uses or is inspired by the following native libraries.

https://github.com/iknow4/Android-Video-Trimmer
https://github.com/HHK1/PryntTrimmerView

In addition, the code of the ffmpeg part used in Android-Video-Trimmer has been deleted without being used due to concerns about licensing.

  • Screen image of iOS and Android
    ios android

Requirement

cordova >= 7.1.0
cordova-ios >= 4.5.0
cordova-android >= 8.0.0

https://github.com/dpa99c/cordova-plugin-androidx
https://github.com/nrikiji/cordova-plugin-carthage-support
https://github.com/akofman/cordova-plugin-add-swift-support
Carthage(>= 0.3.3)

Installation

cordova plugin add cordova-plugin-video-trimming-editor

Supported Platforms

  • iOS
  • Android

Example

Example

VideoTrimmingEditor.open(
  {
    input_path: '/path/to/xxx.mp4',
    video_max_time: 10,
  },
  function(result) {
    console.log(result); // { output_path: "/path/to/zzz.mp4" }
  },
  function(error) {
  }
);

Features

The following functions are planned to be added in the future.
・ Enable the user to set the screen theme or the color of each element
・ Because the button text of each element is a fixed value, the user can set it Add a function to compress the trimmed file
・ Layout adjustment on iPhoneX

0.0.21

6 months ago

0.0.22

6 months ago

0.0.20

7 months ago

0.0.19

7 months ago

0.0.18

7 months ago

0.0.17

8 months ago

0.0.16

8 months ago

0.0.15

8 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago