byteark-player-react
Advanced tools
Comparing version 1.0.0-beta12 to 1.0.0-beta13
@@ -392,2 +392,8 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
_this.onPlayerCreated = function () { | ||
if (_this.props.autoplay) { | ||
_this.setState({ | ||
showPlaceholder: false | ||
}); | ||
} | ||
if (_this.props.onPlayerCreated) { | ||
@@ -394,0 +400,0 @@ _this.props.onPlayerCreated(_this.player); |
@@ -390,2 +390,8 @@ import React from 'react'; | ||
_this.onPlayerCreated = function () { | ||
if (_this.props.autoplay) { | ||
_this.setState({ | ||
showPlaceholder: false | ||
}); | ||
} | ||
if (_this.props.onPlayerCreated) { | ||
@@ -392,0 +398,0 @@ _this.props.onPlayerCreated(_this.player); |
{ | ||
"name": "byteark-player-react", | ||
"version": "1.0.0-beta12", | ||
"version": "1.0.0-beta13", | ||
"description": "ByteArk Player Container for React", | ||
@@ -5,0 +5,0 @@ "author": "byteark", |
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
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
158718
1153