0.0.10 • Published 2 years ago

capacitor-video-editor v0.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

capacitor-video-editor

This Plugin is still under development. Please do not use it, yet.

A plugin to pick videos from the camera roll and edit them.

Install

npm install capacitor-video-editor
npx cap sync

API

getVideos(...)

getVideos(options: VideoOptions) => any
ParamType
optionsVideoOptions

Returns: any


checkPermissions()

checkPermissions() => any

Returns: any


requestPermissions(...)

requestPermissions(permissions?: VideoEditorPluginPermissions | undefined) => any
ParamType
permissionsVideoEditorPluginPermissions

Returns: any


trim(...)

trim(options: TrimOptions) => any
ParamType
optionsTrimOptions

Returns: any


concatVideos(...)

concatVideos(paths: ConcatOptions) => any
ParamType
pathsConcatOptions

Returns: any


Interfaces

VideoOptions

PropType
maxVideosnumber
amountThumbnailsnumber

ReturnVideos

PropType
videos{}

Video

PropTypeDescriptionSince
pathstringThe path will contain a full, platform-specific file URL that can be read later using the Filsystem API.1.0.0
webPathstringwebPath returns a path that can be used to set the src attribute of an video element for efficient loading and rendering.1.0.0
exifanyExif data, if any, retrieved from the video1.0.0
extensionstringformat of the video1.0.0
thumbnailsstringThe webpaths to the generated thumbnails1.0.0
durationstringThe duration of the video in seconds1.0.0
sizestringThe size of the video in bytes1.0.0

PermissionStatus

PropType
camera"prompt" | "prompt-with-rationale" | "granted" | "denied" | "limited"
videos"prompt" | "prompt-with-rationale" | "granted" | "denied" | "limited"

VideoEditorPluginPermissions

PropType
permissions{}

TrimOptions

PropType
startstring
endstring
pathstring
extensionstring

ConcatOptions

The path will contain a full, platform-specific file URL that can be read later using the Filsystem API.

PropType
videos{}
audiostring
amountThumbnailsnumber

ConcatItem

PropType
pathstring
startstring
durationstring
0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

3 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago