react-player
Advanced tools
Comparing version 2.8.0 to 2.8.1
@@ -204,2 +204,6 @@ "use strict"; | ||
} | ||
if (this.props.url !== prevProps.url && !(0, _utils.isMediaStream)(this.props.url)) { | ||
this.player.removeAttribute('srcObject'); | ||
} | ||
} | ||
@@ -206,0 +210,0 @@ }, { |
@@ -204,2 +204,6 @@ "use strict"; | ||
} | ||
if (this.props.url !== prevProps.url && !(0, _utils.isMediaStream)(this.props.url)) { | ||
this.player.removeAttribute('srcObject'); | ||
} | ||
} | ||
@@ -206,0 +210,0 @@ }, { |
{ | ||
"name": "react-player", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"description": "A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion", | ||
@@ -8,3 +8,3 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"clean": "rimraf lib lazy demo coverage", | ||
"clean": "rimraf lib lazy demo coverage *.d.ts", | ||
"start": "webpack-dev-server --config webpack/config.babel.js", | ||
@@ -11,0 +11,0 @@ "lint": "standard --verbose | snazzy", |
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1430357
9106