0.0.8 • Published 1 year ago

@nadlowebagentur/capacitor-video-stream-player v0.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@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>
ParamType
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>
ParamType
options{ uid: number | null; }

Interfaces

SubtitlesTrack

PropType
uidnumber
titlestring
0.0.8

1 year ago

0.0.7

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

2 years ago