forked/cloned from https://github.com/sagark1510/react-native-video-watermark#1.0.2
npm install --save react-native-video-watermarker
$ react-native link react-native-video-watermarker
After linking cd ios
and pod install
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