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

react-player

Package Overview
Dependencies
Maintainers
1
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-player - npm Package Compare versions

Comparing version 0.24.1 to 0.24.2

.codecov.yml

0

bower.json

@@ -0,0 +0,0 @@ {

@@ -7,2 +7,10 @@ # Change Log

#### [v0.24.2](https://github.com/CookPete/react-player/compare/v0.24.1...v0.24.2)
> 11 September 2017
* Add codecov support [`bc30340`](https://github.com/CookPete/react-player/commit/bc30340ce5da9299635bda0a1ad8560af9214516)
* Add getConfig tests [`f7eb2b5`](https://github.com/CookPete/react-player/commit/f7eb2b55929842523377bda20d80b62eb6c9a7d1)
* Player test tweaks [`c0ee179`](https://github.com/CookPete/react-player/commit/c0ee179cc61e316ca2f1f705bf53c65b304206a0)
#### [v0.24.1](https://github.com/CookPete/react-player/compare/v0.24.0...v0.24.1)

@@ -9,0 +17,0 @@ > 9 September 2017

@@ -0,0 +0,0 @@ # Contributing to ReactPlayer

@@ -0,0 +0,0 @@ import * as React from 'react';

2

lib/players/DailyMotion.js

@@ -130,2 +130,3 @@ 'use strict';

_this2.loadingSDK = false;
_this2.onReady();
},

@@ -140,3 +141,2 @@ seeked: function seeked() {

waiting: _this2.props.onBuffer,
loadedmetadata: _this2.onReady,
error: function error(event) {

@@ -143,0 +143,0 @@ return onError(event);

@@ -119,3 +119,2 @@ 'use strict';

params: {
autoplay: 0,
api: 1,

@@ -122,0 +121,0 @@ 'endscreen-enable': false

@@ -127,8 +127,10 @@ 'use strict';

return _react2['default'].createElement(Player, _extends({}, _this.props, {
ref: _this.ref,
ref: _this.activePlayerRef,
key: Player.displayName,
config: _this.config
}));
}, _this.ref = function (player) {
}, _this.activePlayerRef = function (player) {
_this.player = player;
}, _this.wrapperRef = function (wrapper) {
_this.wrapper = wrapper;
}, _this.renderPreloadPlayer = function (Player) {

@@ -194,3 +196,2 @@ return _react2['default'].createElement(Player, {

value: function renderPreloadPlayers(url) {
if (!url) return null;
// Render additional players if preload config is set

@@ -223,3 +224,3 @@ var preloadPlayers = [];

'div',
_extends({ style: _extends({}, style, { width: width, height: height }) }, otherProps),
_extends({ ref: this.wrapperRef, style: _extends({}, style, { width: width, height: height }) }, otherProps),
activePlayer,

@@ -226,0 +227,0 @@ preloadPlayers

{
"name": "react-player",
"version": "0.24.1",
"version": "0.24.2",
"description": "A react component for playing a variety of URLs, including file paths, YouTube, Facebook, SoundCloud, Streamable, Vidme, Vimeo and Wistia",

@@ -14,3 +14,4 @@ "main": "lib/ReactPlayer.js",

"lint": "standard --verbose | snazzy",
"test": "babel-node ./node_modules/karma/bin/karma start test/karma.config.js",
"test": "cross-env NODE_ENV=test babel-node ./node_modules/karma/bin/karma start test/karma.config.js",
"coverage": "codecov",
"preversion": "npm run lint",

@@ -55,2 +56,3 @@ "version": "npm run update-changelog && npm run build:browser && git add CHANGELOG.md dist",

"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-transform-es3-member-expression-literals": "^6.8.0",

@@ -62,2 +64,3 @@ "babel-plugin-transform-es3-property-literals": "^6.8.0",

"chai": "^4.0.2",
"codecov": "^2.3.0",
"cross-env": "^5.0.1",

@@ -73,2 +76,3 @@ "css-loader": "^0.28.0",

"karma-cli": "^1.0.1",
"karma-coverage": "^1.1.1",
"karma-firefox-launcher": "^1.0.0",

@@ -114,2 +118,7 @@ "karma-mocha": "^1.2.0",

]
},
"test": {
"plugins": [
"istanbul"
]
}

@@ -116,0 +125,0 @@ }

@@ -8,2 +8,3 @@ ReactPlayer

[![devDependency Status](https://img.shields.io/david/dev/CookPete/react-player.svg)](https://david-dm.org/CookPete/react-player?type=dev)
[![Test Coverage](https://img.shields.io/codecov/c/github/cookpete/react-player.svg)](https://codecov.io/gh/CookPete/react-player)
[![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/ckpt)

@@ -10,0 +11,0 @@

@@ -0,0 +0,0 @@ import path from 'path'

@@ -0,0 +0,0 @@ import webpack from 'webpack'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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