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 - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

36

dist/docs.json

@@ -96,2 +96,38 @@ {

{
"name": "addButton",
"signature": "(img: string, tooltip: string, callback: () => void, id: string, btnClass: string) => void",
"parameters": [
{
"name": "img",
"docs": "",
"type": "string"
},
{
"name": "tooltip",
"docs": "",
"type": "string"
},
{
"name": "callback",
"docs": "",
"type": "() => void"
},
{
"name": "id",
"docs": "",
"type": "string"
},
{
"name": "btnClass",
"docs": "",
"type": "string"
}
],
"returns": "void",
"tags": [],
"docs": "",
"complexTypes": [],
"slug": "addbutton"
},
{
"name": "addListener",

@@ -98,0 +134,0 @@ "signature": "(eventName: 'playerEvent', listenerFunc: EventChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle",

1

dist/esm/definitions.d.ts

@@ -40,2 +40,3 @@ import type { PluginListenerHandle } from '@capacitor/core';

}): Promise<any>;
addButton(img: string, tooltip: string, callback: () => void, id: string, btnClass: string): void;
/**

@@ -42,0 +43,0 @@ * Listen for events in player

@@ -34,2 +34,3 @@ import { WebPlugin } from '@capacitor/core';

}): Promise<any>;
addButton(img: string, tooltip: string, callback: () => void, id: string, btnClass: string): void;
}

@@ -144,3 +144,6 @@ import { WebPlugin } from '@capacitor/core';

}
addButton(img, tooltip, callback, id, btnClass) {
this.playerInstance.addButton(img, tooltip, callback, id, btnClass);
}
}
//# sourceMappingURL=web.js.map

2

package.json
{
"name": "jwplayer-capacitor",
"version": "0.1.2",
"version": "0.1.3",
"description": "Integration of JWPlayer Web and Mobile SDKs with Capacitor",

@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js",

@@ -22,2 +22,3 @@ # jwplayer-capacitor

* [`seek(...)`](#seek)
* [`addButton(...)`](#addbutton)
* [`addListener(...)`](#addlistener)

@@ -116,2 +117,19 @@ * [`addListener(...)`](#addlistener)

### addButton(...)
```typescript
addButton(img: string, tooltip: string, callback: () => void, id: string, btnClass: string) => void
```
| Param | Type |
| -------------- | -------------------------- |
| **`img`** | <code>string</code> |
| **`tooltip`** | <code>string</code> |
| **`callback`** | <code>() =&gt; void</code> |
| **`id`** | <code>string</code> |
| **`btnClass`** | <code>string</code> |
--------------------
### addListener(...)

@@ -118,0 +136,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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