@misha98857/react-native-k4l-video-trimmer
TypeScript icon, indicating that this package has built-in type declarations

0.2.10 • Public • Published

@misha98857/react-native-k4l-video-trimmer

Whatsapp like trimmer for react native android. Uses https://github.com/a914-gowtham/android-video-trimmer internally. Thanks to https://github.com/a914-gowtham for creating this awesome android package:

Installation

npm install @misha98857/react-native-k4l-video-trimmer

Usage

import { navigateToTrimmer } from "@misha98857/react-native-k4l-video-trimmer";

// ...

navigateToTrimmer(this.state.video.uri, this.state.duration).then(trimmedUrl => {
        if (trimmedUrl == null) {
          return;
        }
        this.props.onTrim(trimmedUrl);
      }).catch(error => console.log('trimmed url error', error))

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Package Sidebar

Install

npm i @misha98857/react-native-k4l-video-trimmer

Weekly Downloads

0

Version

0.2.10

License

MIT

Unpacked Size

801 kB

Total Files

56

Last publish

Collaborators

  • cataha319