react-player
Advanced tools
Comparing version 1.9.1 to 1.9.2
@@ -6,2 +6,7 @@ ### Changelog | ||
#### [v1.9.2](https://github.com/CookPete/react-player/compare/v1.9.1...v1.9.2) | ||
> 27 January 2019 | ||
- Support player setLoop methods [`#560`](https://github.com/CookPete/react-player/issues/560) | ||
- Upgrade screenfull [`#560`](https://github.com/CookPete/react-player/issues/560) | ||
#### [v1.9.1](https://github.com/CookPete/react-player/compare/v1.9.0...v1.9.1) | ||
@@ -8,0 +13,0 @@ > 25 January 2019 |
@@ -185,3 +185,4 @@ 'use strict'; | ||
playbackRate = _props.playbackRate, | ||
pip = _props.pip; | ||
pip = _props.pip, | ||
loop = _props.loop; | ||
@@ -229,2 +230,5 @@ if (!(0, _utils.isEqual)(url, nextProps.url)) { | ||
} | ||
if (loop !== nextProps.loop && this.player.setLoop) { | ||
this.player.setLoop(nextProps.loop); | ||
} | ||
} | ||
@@ -231,0 +235,0 @@ }, { |
@@ -153,2 +153,3 @@ 'use strict'; | ||
Mixcloud.loopOnEnded = true; | ||
exports['default'] = (0, _singlePlayer2['default'])(Mixcloud); |
@@ -115,2 +115,7 @@ 'use strict'; | ||
}, { | ||
key: 'setLoop', | ||
value: function setLoop(loop) { | ||
this.callPlayer('setLoop', loop); | ||
} | ||
}, { | ||
key: 'getDuration', | ||
@@ -117,0 +122,0 @@ value: function getDuration() { |
@@ -140,2 +140,7 @@ 'use strict'; | ||
}, { | ||
key: 'setLoop', | ||
value: function setLoop(loop) { | ||
this.callPlayer('setLoop', loop); | ||
} | ||
}, { | ||
key: 'getDuration', | ||
@@ -142,0 +147,0 @@ value: function getDuration() { |
@@ -197,2 +197,7 @@ 'use strict'; | ||
}, { | ||
key: 'setLoop', | ||
value: function setLoop(loop) { | ||
this.callPlayer('setLoop', loop); | ||
} | ||
}, { | ||
key: 'getDuration', | ||
@@ -199,0 +204,0 @@ value: function getDuration() { |
@@ -126,3 +126,3 @@ 'use strict'; | ||
iv_load_policy: 3, | ||
modestbranding: 1 | ||
modestbranding: 0 | ||
}, | ||
@@ -129,0 +129,0 @@ embedOptions: {}, |
{ | ||
"name": "react-player", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"description": "A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia and DailyMotion", | ||
@@ -86,3 +86,3 @@ "main": "lib/ReactPlayer.js", | ||
"rimraf": "^2.5.4", | ||
"screenfull": "^3.3.2", | ||
"screenfull": "^4.0.0", | ||
"sinon": "^5.0.3", | ||
@@ -89,0 +89,0 @@ "snazzy": "^7.0.0", |
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
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
1723008
4027
1