byteark-player-react
Advanced tools
Comparing version 1.0.0-beta14 to 1.0.0-beta15
@@ -26,5 +26,15 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
subClass.prototype.constructor = subClass; | ||
subClass.__proto__ = superClass; | ||
_setPrototypeOf(subClass, superClass); | ||
} | ||
function _setPrototypeOf(o, p) { | ||
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { | ||
o.__proto__ = p; | ||
return o; | ||
}; | ||
return _setPrototypeOf(o, p); | ||
} | ||
function _assertThisInitialized(self) { | ||
@@ -159,2 +169,3 @@ if (self === void 0) { | ||
minWidth: '100%', | ||
background: '#000000', | ||
backgroundImage: "url(" + options.poster + ")", | ||
@@ -439,7 +450,5 @@ backgroundSize: 'cover', | ||
_this.onPlayerCreated = function () { | ||
if (_this.props.autoplay) { | ||
_this.setState({ | ||
showPlaceholder: false | ||
}); | ||
} | ||
_this.setState({ | ||
showPlaceholder: false | ||
}); | ||
@@ -555,6 +564,2 @@ if (_this.props.onPlayerCreated) { | ||
try { | ||
var _exit2 = false; | ||
var _this5 = this; | ||
var _temp3 = function _temp3(_result2) { | ||
@@ -566,2 +571,6 @@ if (_exit2) return _result2; | ||
var _exit2 = false; | ||
var _this5 = this; | ||
var _temp4 = _catch(function () { | ||
@@ -568,0 +577,0 @@ var promises = []; |
@@ -24,5 +24,15 @@ import React from 'react'; | ||
subClass.prototype.constructor = subClass; | ||
subClass.__proto__ = superClass; | ||
_setPrototypeOf(subClass, superClass); | ||
} | ||
function _setPrototypeOf(o, p) { | ||
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { | ||
o.__proto__ = p; | ||
return o; | ||
}; | ||
return _setPrototypeOf(o, p); | ||
} | ||
function _assertThisInitialized(self) { | ||
@@ -157,2 +167,3 @@ if (self === void 0) { | ||
minWidth: '100%', | ||
background: '#000000', | ||
backgroundImage: "url(" + options.poster + ")", | ||
@@ -437,7 +448,5 @@ backgroundSize: 'cover', | ||
_this.onPlayerCreated = function () { | ||
if (_this.props.autoplay) { | ||
_this.setState({ | ||
showPlaceholder: false | ||
}); | ||
} | ||
_this.setState({ | ||
showPlaceholder: false | ||
}); | ||
@@ -553,6 +562,2 @@ if (_this.props.onPlayerCreated) { | ||
try { | ||
var _exit2 = false; | ||
var _this5 = this; | ||
var _temp3 = function _temp3(_result2) { | ||
@@ -564,2 +569,6 @@ if (_exit2) return _result2; | ||
var _exit2 = false; | ||
var _this5 = this; | ||
var _temp4 = _catch(function () { | ||
@@ -566,0 +575,0 @@ var promises = []; |
{ | ||
"name": "byteark-player-react", | ||
"version": "1.0.0-beta14", | ||
"version": "1.0.0-beta15", | ||
"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
169315
1248