react-jw-player
Advanced tools
Comparing version 1.16.1 to 1.17.0
@@ -19,4 +19,4 @@ 'use strict'; | ||
player.on('ready', component.props.onReady); | ||
player.on('setupError', component.eventHandlers.onError); | ||
player.on('error', component.eventHandlers.onError); | ||
player.on('setupError', component.props.onSetupError); | ||
player.on('error', component.props.onError); | ||
player.on('adPlay', component.eventHandlers.onAdPlay); | ||
@@ -23,0 +23,0 @@ player.on('adPause', component.props.onAdPause); |
{ | ||
"name": "react-jw-player", | ||
"version": "1.16.1", | ||
"version": "1.17.0", | ||
"description": "A React component for launching JW Player instances on the client.", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-jw-player.js", |
@@ -231,2 +231,8 @@ # react-jw-player :movie_camera: [![Build Status](https://travis-ci.com/micnews/react-jw-player.svg?token=oCXvx519mb3xud77T3xi&branch=master)](https://travis-ci.com/micnews/react-jw-player) | ||
* This is the event object passed back from JW Player itself. | ||
* `onSetupError(event)` | ||
* A function that is run when the player errors during setup. | ||
* Type: `function` | ||
* Arguments: | ||
* `event` | ||
* This is the event object passed back from JW Player itself. | ||
* `onTime(event)` | ||
@@ -233,0 +239,0 @@ * A function that is run whenever the playback position gets updated. |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
33563
376
0