Capacitor plugin to pick video files
npm install @coderpradp/capacitor-plugin-video-picker
npx cap syncimport { VideoPicker } from '@coderpradp/capacitor-plugin-video-picker';
const pickVideos = async () => {
const result = await VideoPicker.pick();
};pick() => Promise<VideoPickerResults>Returns: Promise<VideoPickerResults>
| Prop | Type |
|---|---|
files |
VideoPickerResult[] |
| Prop | Type | Description |
|---|---|---|
path |
string |
File Path |
webPath |
string |
webPath returns a path that can be used to set the src attribute of an image for efficient loading and rendering. |
name |
string |
File Name |
extension |
string |
File Extensions |