Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-jplayer

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-jplayer - npm Package Compare versions

Comparing version 5.0.2 to 5.0.3

2

lib/components/bar.js

@@ -64,3 +64,3 @@ 'use strict';

}, _this.setBar = function (ref) {
return _this.bar = ref;
_this.bar = ref;
}, _temp), _possibleConstructorReturn(_this, _ret);

@@ -67,0 +67,0 @@ }

@@ -157,3 +157,3 @@ 'use strict';

}, _this.setJPlayer = function (ref) {
return _this.jPlayer = ref;
_this.jPlayer = ref;
}, _this.requestFullScreen = function () {

@@ -160,0 +160,0 @@ if (_this.props.fullScreen) {

@@ -358,6 +358,8 @@ 'use strict';

if (nextProps.paused) {
this.currentMedia.pause();
} else {
this.currentMedia.play();
if (nextProps.paused !== this.props.paused) {
if (nextProps.paused) {
this.currentMedia.pause();
} else {
this.currentMedia.play();
}
}

@@ -364,0 +366,0 @@ }

{
"name": "react-jplayer",
"version": "5.0.2",
"version": "5.0.3",
"description": "Html5 audio and video player library for React",

@@ -5,0 +5,0 @@ "author": "Martin Dawson <u1356770@gmail.com>",

@@ -14,3 +14,2 @@ [![Build Status](https://travis-ci.org/jplayer/react-jPlayer.svg?branch=master)](https://travis-ci.org/jplayer/react-jPlayer)

* [Live Demo](#live-demo)
* [Examples](#examples)

@@ -20,3 +19,2 @@ * [Installation](#installation)

+ [UMD](#umd)
* [Examples](#examples-1)
* [Features](#features)

@@ -108,5 +106,2 @@ * [To Note](#to-note)

### Live Demo
http://react-jplayer.azurewebsites.net/
### Examples

@@ -132,5 +127,2 @@ https://github.com/jplayer/react-jPlayer-examples

### Examples
https://github.com/jplayer/react-jPlayer-examples
### Features

@@ -137,0 +129,0 @@ * Cross compatible with many legacy different Html5 browsers

@@ -47,3 +47,5 @@ import React from 'react';

}
setBar = ref => (this.bar = ref)
setBar = (ref) => {
this.bar = ref;
}
render() {

@@ -50,0 +52,0 @@ return React.cloneElement(React.Children.only(this.props.children), {

@@ -155,3 +155,5 @@ import React from 'react';

}
setJPlayer = ref => (this.jPlayer = ref)
setJPlayer = (ref) => {
this.jPlayer = ref;
}
requestFullScreen = () => {

@@ -158,0 +160,0 @@ if (this.props.fullScreen) {

@@ -397,2 +397,2 @@ /* import React from 'react';

});
});*/
}); */

@@ -241,6 +241,8 @@ import React from 'react';

if (nextProps.paused) {
this.currentMedia.pause();
} else {
this.currentMedia.play();
if (nextProps.paused !== this.props.paused) {
if (nextProps.paused) {
this.currentMedia.pause();
} else {
this.currentMedia.play();
}
}

@@ -247,0 +249,0 @@ }

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

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