jwplayer-capacitor
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -42,3 +42,3 @@ { | ||
"name": "create", | ||
"signature": "(options: { webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: JWPlayerNativeConfiguration; }) => any", | ||
"signature": "(options: { webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: JWPlayerNativeConfiguration; advertisingConfig?: JWPlayerAd[]; }) => any", | ||
"parameters": [ | ||
@@ -48,3 +48,3 @@ { | ||
"docs": "", | ||
"type": "{ webConfiguration?: { container: string; properties?: any; } | undefined; nativeConfiguration?: JWPlayerNativeConfiguration | undefined; }" | ||
"type": "{ webConfiguration?: { container: string; properties?: any; } | undefined; nativeConfiguration?: JWPlayerNativeConfiguration | undefined; advertisingConfig?: {} | undefined; }" | ||
} | ||
@@ -56,3 +56,4 @@ ], | ||
"complexTypes": [ | ||
"JWPlayerNativeConfiguration" | ||
"JWPlayerNativeConfiguration", | ||
"JWPlayerAd" | ||
], | ||
@@ -343,2 +344,25 @@ "slug": "create" | ||
{ | ||
"name": "JWPlayerAd", | ||
"slug": "jwplayerad", | ||
"docs": "", | ||
"tags": [], | ||
"methods": [], | ||
"properties": [ | ||
{ | ||
"name": "url", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "begin", | ||
"tags": [], | ||
"docs": "", | ||
"complexTypes": [], | ||
"type": "number" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "JWPlayerCuePoint", | ||
@@ -345,0 +369,0 @@ "slug": "jwplayercuepoint", |
@@ -16,2 +16,6 @@ import type { PluginListenerHandle } from '@capacitor/core'; | ||
} | ||
export interface JWPlayerAd { | ||
url: string; | ||
begin: number; | ||
} | ||
export interface JWPlayerNativeConfiguration { | ||
@@ -59,2 +63,3 @@ width: number; | ||
nativeConfiguration?: JWPlayerNativeConfiguration; | ||
advertisingConfig?: JWPlayerAd[]; | ||
}): Promise<any>; | ||
@@ -61,0 +66,0 @@ remove(): Promise<any>; |
{ | ||
"name": "jwplayer-capacitor", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "Integration of JWPlayer Web and Mobile SDKs with Capacitor", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
@@ -69,8 +69,8 @@ # jwplayer-capacitor | ||
```typescript | ||
create(options: { webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: JWPlayerNativeConfiguration; }) => any | ||
create(options: { webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: JWPlayerNativeConfiguration; advertisingConfig?: JWPlayerAd[]; }) => any | ||
``` | ||
| Param | Type | | ||
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| **`options`** | <code>{ webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: <a href="#jwplayernativeconfiguration">JWPlayerNativeConfiguration</a>; }</code> | | ||
| Param | Type | | ||
| ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| **`options`** | <code>{ webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: <a href="#jwplayernativeconfiguration">JWPlayerNativeConfiguration</a>; advertisingConfig?: {}; }</code> | | ||
@@ -250,2 +250,10 @@ **Returns:** <code>any</code> | ||
#### JWPlayerAd | ||
| Prop | Type | | ||
| ----------- | ------------------- | | ||
| **`url`** | <code>string</code> | | ||
| **`begin`** | <code>number</code> | | ||
#### JWPlayerCuePoint | ||
@@ -252,0 +260,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1674608
5883
273