Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
jwplayer-capacitor
Advanced tools
Integration of JWPlayer Web and Mobile SDKs with Capacitor
npm install jwplayer-capacitor
npx cap sync
echo(...)
initialize(...)
create(...)
remove()
getPosition()
seek(...)
addListener(...)
addListener(...)
addListener(...)
removeAllListeners()
echo(options: { value: string; }) => any
Param | Type |
---|---|
options | { value: string; } |
Returns: any
initialize(options: { webLicenseKey?: string; androidLicenseKey?: string; iosLicenseKey?: string; googleCastId?: string; debug?: boolean; }) => any
Param | Type |
---|---|
options | { webLicenseKey?: string; androidLicenseKey?: string; iosLicenseKey?: string; googleCastId?: string; debug?: boolean; } |
Returns: any
create(options: { webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: any; captions?: JWPlayerMediaCaption[]; tracks?: JWPlayerMediaTrack[]; }) => any
Param | Type |
---|---|
options | { webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: any; captions?: {}; tracks?: {}; } |
Returns: any
remove() => any
Returns: any
getPosition() => any
Returns: any
seek(options: { position: number; }) => any
Param | Type |
---|---|
options | { position: number; } |
Returns: any
addListener(eventName: 'playerEvent', listenerFunc: EventChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle
Listen for events in player
Param | Type |
---|---|
eventName | "playerEvent" |
listenerFunc | (event: JWPlayerEvent) => void |
Returns: any
Since: 1.0.0
addListener(eventName: 'fullScreenPlayerEvent', listenerFunc: EventChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle
Param | Type |
---|---|
eventName | "fullScreenPlayerEvent" |
listenerFunc | (event: JWPlayerEvent) => void |
Returns: any
addListener(eventName: 'readyPlayerEvent', listenerFunc: EventChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle
Param | Type |
---|---|
eventName | "readyPlayerEvent" |
listenerFunc | (event: JWPlayerEvent) => void |
Returns: any
removeAllListeners() => any
Remove all listeners (including the network status changes) for this plugin.
Returns: any
Since: 1.0.0
Prop | Type |
---|---|
file | string |
label | string |
Prop | Type |
---|---|
file | string |
label | string |
default | boolean |
Prop | Type |
---|---|
remove | () => any |
FAQs
Integration of JWPlayer Web and Mobile SDKs with Capacitor
The npm package jwplayer-capacitor receives a total of 90 weekly downloads. As such, jwplayer-capacitor popularity was classified as not popular.
We found that jwplayer-capacitor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.