Skip to content

natibekele/react-native-video-watermark

Repository files navigation

react-native-video-watermarker

Installation

npm install --save react-native-video-watermarker

Mostly automatic installation

$ react-native link react-native-video-watermarker

iOS

After linking cd ios and pod install

Usage

import VideoWatermark from 'react-native-video-watermark';

VideoWatermark.convert(videoUri, imgUri, watermarkPosition, destinationUri => {
    // use converted video here.
});

watermarkPosition is a string that you can use to define four possible positions for the watermark LEFT_TOP, LEFT_BOTTOM, RIGHT_TOP, RIGHT_BOTTOM