@lls/lls-audio 0.0.88 → 0.0.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/player/Audio.js +1 -1
package/package.json
CHANGED
package/player/Audio.js
CHANGED
|
@@ -167,7 +167,7 @@ var Player = function (_Component) {
|
|
|
167
167
|
key: 'componentWillReceiveProps',
|
|
168
168
|
value: function componentWillReceiveProps(newProps) {
|
|
169
169
|
if (newProps.src !== this.props.src) {
|
|
170
|
-
if (
|
|
170
|
+
if (newProps.autoPlay) {
|
|
171
171
|
this.play();
|
|
172
172
|
}
|
|
173
173
|
}
|