Skip to content

harshmandan/capacitor-npe

Repository files navigation

capacitor-npe

NPE Wrapper that allows you to call the Java APIs for NPE

Install

npm install capacitor-npe
npx cap sync

API

extractStreamInfo(...)

extractStreamInfo(options: { videoUrl: string; }) => any

Extract YouTube video stream information

Param Type Description
options { videoUrl: string; } - The video URL options

Returns: any


Interfaces

StreamInfoResult

Prop Type
success boolean
error string
streamInfo { title: string; duration: number; uploader: string; viewCount: number; thumbnailUrl: string; videoStreams: {}; audioStreams: {}; videoOnlyStreams: {}; }

VideoStream

Prop Type
url string
format string
resolution string
fps number

AudioStream

Prop Type
url string
format string
bitrate number

About

NPE wrapper for capacitor - Android only

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors