Skip to content

lklima/react-native-video-manager

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

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •