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

react-soundplayer

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-soundplayer - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

14

lib/addons/SoundPlayerContainer.js

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

soundCloudAudio.on('seeked', this.onSeekedTrack.bind(this));
soundCloudAudio.on('pause', this.onAudioEnded.bind(this));
soundCloudAudio.on('pause', this.onAudioPaused.bind(this));
soundCloudAudio.on('ended', this.onAudioEnded.bind(this));

@@ -151,2 +151,11 @@ }

}, {
key: 'onAudioPaused',
value: function onAudioPaused() {
var onPauseTrack = this.props.onPauseTrack;
this.setState({ playing: false });
onPauseTrack && onPauseTrack(this.soundCloudAudio);
}
}, {
key: 'onAudioEnded',

@@ -206,3 +215,4 @@ value: function onAudioEnded() {

onStartTrack: PropTypes.func,
onStopTrack: PropTypes.func
onStopTrack: PropTypes.func,
onPauseTrack: PropTypes.func
};

@@ -209,0 +219,0 @@

2

package.json
{
"name": "react-soundplayer",
"version": "0.2.2",
"version": "0.2.3",
"description": "Create custom SoundCloud players with React",

@@ -5,0 +5,0 @@ "main": "index.js",

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