Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
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(...)
addButton(...)
addCuePoints(...)
playlistItem(...)
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?: JWPlayerNativeConfiguration; advertisingConfig?: JWPlayerAd; }) => any
Param | Type |
---|---|
options | { webConfiguration?: { container: string; properties?: any; }; nativeConfiguration?: JWPlayerNativeConfiguration; advertisingConfig?: JWPlayerAd; } |
Returns: any
remove() => any
Returns: any
getPosition() => any
Returns: any
seek(options: { position: number; }) => any
Param | Type |
---|---|
options | { position: number; } |
Returns: any
addButton(img: string, tooltip: string, callback: () => void, id: string, btnClass: string) => void
Param | Type |
---|---|
img | string |
tooltip | string |
callback | () => void |
id | string |
btnClass | string |
addCuePoints(options: { cuePoints: JWPlayerCuePoint[]; }) => void
Param | Type |
---|---|
options | { cuePoints: {}; } |
playlistItem(options: { index: number; }) => any
Param | Type |
---|---|
options | { index: number; } |
Returns: any
addListener(eventName: 'playerEvent', listenerFunc: EventChangeListener) => any
Listen for events in player
Param | Type |
---|---|
eventName | "playerEvent" |
listenerFunc | (event: JWPlayerEvent) => void |
Returns: any
Since: 1.0.0
addListener(eventName: 'fullScreenPlayerEvent', listenerFunc: EventChangeListener) => any
Param | Type |
---|---|
eventName | "fullScreenPlayerEvent" |
listenerFunc | (event: JWPlayerEvent) => void |
Returns: any
addListener(eventName: 'readyPlayerEvent', listenerFunc: EventChangeListener) => any
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 |
---|---|
width | number |
height | number |
x | number |
y | number |
googleCastId | string |
front | boolean |
autostart | boolean |
forceFullScreenOnLandscape | boolean |
forceFullScreen | boolean |
playlist | {} |
Prop | Type |
---|---|
type | string |
schedule | {} |
Prop | Type |
---|---|
url | string |
begin | number |
Prop | Type |
---|---|
type | string |
text | string |
begin | number |
Prop | Type |
---|---|
remove | () => any |
FAQs
Integration of JWPlayer Web and Mobile SDKs with Capacitor
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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.