Socket
Socket
Sign inDemoInstall

@bazuka5801/cordova-plugin-video-trimming-editor

Package Overview
Dependencies
0
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @bazuka5801/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.


Version published
Weekly downloads
4
increased by33.33%
Maintainers
1
Install size
145 kB
Created
Weekly downloads
 

Readme

Source

cordova-plugin-video-trimming-editor

動画ファイルを時系列でトリミングするためのUI、機能を実現するためのcordovaプラグイン。
このプラグインは以下のネイティブライブラリを使用またはインスパイアしたものです。

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

また、Android-Video-Trimmerで使用されているffmpegの部分のコードについてはライセンスに対する懸念から削除して使用しない形で実装しました。

※iOSと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

使用例


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

今後追加したい機能としては以下の予定です
・画面テーマまたは各要素のカラーを利用者側で設定できるようにする
・各要素のボタンテキストを固定値としているので利用者側で設定できるようにする
・トリミング後のファイルに対して圧縮する機能を追加する
・iPhoneX系でのレイアウト調整

FAQs

Last updated on 01 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc