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.4.7
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

jwplayer-capacitor

Integration of JWPlayer Web and Mobile SDKs with Capacitor

Install

npm install jwplayer-capacitor
npx cap sync

API

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

FAQs

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

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