Skip to content

Repository files navigation

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

About

Module cross platform to merge multiple videos

Resources

Contributing

Stars

13 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages