react-native-video-manager

0.1.2 • Public • Published

react-native-video-manager

npm Supports Android, iOS MIT License

Module cross platform to merge multiple videos.

This tool based on react-native-video-editor, with working example, support to newer React Native versions, and more improvements.

Installation

yarn add react-native-video-manager

or

npm install react-native-video-manager

You then need to link the native parts of the library for the platforms you are using.

  • iOS Platform:

$ npx pod-install

  • Android Platform:

no additional steps required

Usage

import { VideoManager } from "react-native-video-manager";

// ...
const videos = ["file:///video1.mp4", "file:///video2.mp4"];

try {
  const { uri } = await VideoManager.merge(videos);

  console.log("merged video path", uri);
} catch (error) {
  console.log(error);
}
// ...

You can also check a complete example in /example folder.

Contributing

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

License

MIT

Package Sidebar

Install

npm i react-native-video-manager

Weekly Downloads

72

Version

0.1.2

License

MIT

Unpacked Size

285 MB

Total Files

994

Last publish

Collaborators

  • lucas_lima