Skip to content

Repository files navigation

capacitor-plugin-video-picker

Capacitor plugin to pick video files

Install

npm install @coderpradp/capacitor-plugin-video-picker
npx cap sync

Usage

import { VideoPicker } from '@coderpradp/capacitor-plugin-video-picker';

const pickVideos = async () => {
  const result = await VideoPicker.pick();
};

API

pick()

pick() => Promise<VideoPickerResults>

Returns: Promise<VideoPickerResults>


Interfaces

VideoPickerResults

Prop Type
files VideoPickerResult[]

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

About

Capacitor plugin to pick video files for capacitor-plugin-video-editor

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages