New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jwplayer-capacitor

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jwplayer-capacitor

Integration of JWPlayer Web and Mobile SDKs with Capacitor

0.3.6
Source
npm
Version published
Weekly downloads
2
Maintainers
2
Weekly downloads
 
Created
Source

jwplayer-capacitor

Integration of JWPlayer Web and Mobile SDKs with Capacitor

Install

npm install jwplayer-capacitor
npx cap sync

API

  • echo(...)
  • initialize(...)
  • create(...)
  • remove()
  • getPosition()
  • seek(...)
  • addButton(...)
  • addCuePoints(...)
  • playlistItem(...)
  • addListener(...)
  • addListener(...)
  • addListener(...)
  • removeAllListeners()
  • Interfaces

echo(...)

echo(options: { value: string; }) => any
ParamType
options{ value: string; }

Returns: any

initialize(...)

initialize(options: { webLicenseKey?: string; androidLicenseKey?: string; iosLicenseKey?: string; googleCastId?: string; debug?: boolean; }) => any
ParamType
options{ webLicenseKey?: string; androidLicenseKey?: string; iosLicenseKey?: string; googleCastId?: string; debug?: boolean; }

Returns: any

create(...)

create(options: { webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: JWPlayerNativeConfiguration; advertisingConfig?: JWPlayerAd; }) => any
ParamType
options{ webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: JWPlayerNativeConfiguration; advertisingConfig?: JWPlayerAd; }

Returns: any

remove()

remove() => any

Returns: any

getPosition()

getPosition() => any

Returns: any

seek(...)

seek(options: { position: number; }) => any
ParamType
options{ position: number; }

Returns: any

addButton(...)

addButton(img: string, tooltip: string, callback: () => void, id: string, btnClass: string) => void
ParamType
imgstring
tooltipstring
callback() => void
idstring
btnClassstring

addCuePoints(...)

addCuePoints(options: { cuePoints: JWPlayerCuePoint[]; }) => void
ParamType
options{ cuePoints: {}; }

playlistItem(...)

playlistItem(options: { index: number; }) => any
ParamType
options{ index: number; }

Returns: any

addListener(...)

addListener(eventName: 'playerEvent', listenerFunc: EventChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle

Listen for events in player

ParamType
eventName"playerEvent"
listenerFunc(event: JWPlayerEvent) => void

Returns: any

Since: 1.0.0

addListener(...)

addListener(eventName: 'fullScreenPlayerEvent', listenerFunc: EventChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName"fullScreenPlayerEvent"
listenerFunc(event: JWPlayerEvent) => void

Returns: any

addListener(...)

addListener(eventName: 'readyPlayerEvent', listenerFunc: EventChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName"readyPlayerEvent"
listenerFunc(event: JWPlayerEvent) => void

Returns: any

removeAllListeners()

removeAllListeners() => any

Remove all listeners (including the network status changes) for this plugin.

Returns: any

Since: 1.0.0

Interfaces

JWPlayerNativeConfiguration
PropType
widthnumber
heightnumber
xnumber
ynumber
googleCastIdstring
frontboolean
autostartboolean
forceFullScreenOnLandscapeboolean
forceFullScreenboolean
playlist{}
JWPlayerAd
PropType
typestring
schedule{}
JWPlayerAdSchedule
PropType
urlstring
beginnumber
JWPlayerCuePoint
PropType
typestring
textstring
beginnumber
PluginListenerHandle
PropType
remove() => any

Keywords

capacitor

FAQs

Package last updated on 07 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts