Huge News!Announcing our $40M Series B led by Abstract Ventures.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.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
90
increased by136.84%
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(...)
  • 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?: any; captions?: JWPlayerMediaCaption[]; tracks?: JWPlayerMediaTrack[]; }) => any
ParamType
options{ webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: any; captions?: {}; tracks?: {}; }

Returns: any


remove()

remove() => any

Returns: any


getPosition()

getPosition() => any

Returns: any


seek(...)

seek(options: { position: number; }) => any
ParamType
options{ position: 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

JWPlayerMediaCaption
PropType
filestring
labelstring
JWPlayerMediaTrack
PropType
filestring
labelstring
defaultboolean
PluginListenerHandle
PropType
remove() => any

Keywords

FAQs

Package last updated on 18 May 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc