@nadlowebagentur/capacitor-video-stream-player
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

@nadlowebagentur/capacitor-video-stream-player

Enable native video stream player

Install

npm install @nadlowebagentur/capacitor-video-stream-player
npx cap sync

API

Interface for the VSPlayer Capacitor plugin.

preload(...)

preload(options: { url: string; acquisitionURL?: string | null; cert?: string | null; }) => Promise<void>
Param Type
options { url: string; acquisitionURL?: string | null; cert?: string | null; }

toggleVolume()

toggleVolume() => Promise<void>

play()

play() => Promise<void>

pause()

pause() => Promise<void>

close()

close() => Promise<void>

switchAudioOutput()

switchAudioOutput() => Promise<void>

resetAudio()

resetAudio() => Promise<void>

updateState()

updateState() => Promise<void>

getSubtitlesTracks()

getSubtitlesTracks() => Promise<{ subtitles: SubtitlesTrack[]; }>

Returns: Promise<{ subtitles: SubtitlesTrack[]; }>


setSubtitleTrack(...)

setSubtitleTrack(options: { uid: number | null; }) => Promise<void>
Param Type
options { uid: number | null; }

Interfaces

SubtitlesTrack

Prop Type
uid number
title string

Dependents (0)

Package Sidebar

Install

npm i @nadlowebagentur/capacitor-video-stream-player

Weekly Downloads

8

Version

0.0.8

License

MIT

Unpacked Size

48.9 kB

Total Files

30

Last publish

Collaborators

  • codobred