video-compressor-android
v1.0.2
Published
Plugin for video compression for android only.
Downloads
10
Readme
video-compressor
Compress videos before upload
Install
npm install video-cmpression
npx cap sync
Usage
Video
import { VideoCompressor,VideoQuality } from 'video-compressor-android';
const compressVideo = async () => {
const result = await VideoCompression.compressVideo({ inputVideoPath: '', videoQuality: VideoQuality.LOW, outputVideoName: "" });
};
VideoCompression.addListener('onProgress', (eventData: any) =>console.log(eventData));