# video-compressor-android

> Plugin for video compression for android only.

Latest version **1.0.2** (published 2023-02-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install video-compressor-android
pnpm add video-compressor-android
yarn add video-compressor-android
bun add video-compressor-android
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2023-02-16 |
| First published | 2022-12-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 15.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | dhaiyur |
| Maintainers | dhaiyurm |
| Keywords | capacitor, plugin, native |

## Links

- npm: https://www.npmjs.com/package/video-compressor-android
- Repository: https://github.com/dhaiyurHomelane/VideoCompression
- Homepage: https://github.com/dhaiyurHomelane/VideoCompression#readme
- Issues: https://github.com/dhaiyurHomelane/VideoCompression/issues
- npm.io page: https://npm.io/package/video-compressor-android

## Recent versions

- 1.0.2 (latest) — 2023-02-16
- 1.0.1 — 2023-01-10
- 1.0.0 — 2022-12-29
- 0.0.3 — 2022-12-12
- 0.0.2 — 2022-12-12
- 0.0.1 — 2022-12-09

## README

# video-compressor

Compress videos before upload

## Install

```bash
npm install video-cmpression
npx cap sync
```

## Usage
#### Video
```bash
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));
```

---
_Source: https://npm.io/package/video-compressor-android · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
