byteark-player-react
Advanced tools
Comparing version 1.0.0-beta17 to 1.0.0-beta18
@@ -27,5 +27,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) { | ||
@@ -173,3 +183,3 @@ if (self === void 0) { | ||
marginLeft: '-2.75em', | ||
background: 'rgba(0, 0, 0, 0.7)', | ||
background: 'rgba(0, 0, 0, 0.85)', | ||
borderRadius: '50%' | ||
@@ -199,2 +209,3 @@ }; | ||
var shouldShowPlayIcon = options.controls === undefined || options.controls === null || options.controls === true; | ||
return /*#__PURE__*/React.createElement("div", { | ||
@@ -204,3 +215,3 @@ onClick: props.onClick, | ||
style: placeholderCustomStyle | ||
}, /*#__PURE__*/React.createElement("svg", { | ||
}, shouldShowPlayIcon ? /*#__PURE__*/React.createElement("svg", { | ||
className: "play-icon", | ||
@@ -213,3 +224,3 @@ width: "90", | ||
d: "M47.43,27.26,14.11,5.87A3.34,3.34,0,0,0,9,8.79V51.56a3.34,3.34,0,0,0,5.11,2.91L47.43,33.09A3.49,3.49,0,0,0,47.43,27.26Z" | ||
})), props.error ? /*#__PURE__*/React.createElement(ErrorMessage, props.error) : null); | ||
})) : null, props.error ? /*#__PURE__*/React.createElement(ErrorMessage, props.error) : null); | ||
} | ||
@@ -560,6 +571,2 @@ | ||
try { | ||
var _exit2 = false; | ||
var _this5 = this; | ||
var _temp3 = function _temp3(_result2) { | ||
@@ -571,2 +578,6 @@ if (_exit2) return _result2; | ||
var _exit2 = false; | ||
var _this5 = this; | ||
var _temp4 = _catch(function () { | ||
@@ -573,0 +584,0 @@ var promises = []; |
@@ -25,5 +25,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) { | ||
@@ -171,3 +181,3 @@ if (self === void 0) { | ||
marginLeft: '-2.75em', | ||
background: 'rgba(0, 0, 0, 0.7)', | ||
background: 'rgba(0, 0, 0, 0.85)', | ||
borderRadius: '50%' | ||
@@ -197,2 +207,3 @@ }; | ||
var shouldShowPlayIcon = options.controls === undefined || options.controls === null || options.controls === true; | ||
return /*#__PURE__*/React.createElement("div", { | ||
@@ -202,3 +213,3 @@ onClick: props.onClick, | ||
style: placeholderCustomStyle | ||
}, /*#__PURE__*/React.createElement("svg", { | ||
}, shouldShowPlayIcon ? /*#__PURE__*/React.createElement("svg", { | ||
className: "play-icon", | ||
@@ -211,3 +222,3 @@ width: "90", | ||
d: "M47.43,27.26,14.11,5.87A3.34,3.34,0,0,0,9,8.79V51.56a3.34,3.34,0,0,0,5.11,2.91L47.43,33.09A3.49,3.49,0,0,0,47.43,27.26Z" | ||
})), props.error ? /*#__PURE__*/React.createElement(ErrorMessage, props.error) : null); | ||
})) : null, props.error ? /*#__PURE__*/React.createElement(ErrorMessage, props.error) : null); | ||
} | ||
@@ -558,6 +569,2 @@ | ||
try { | ||
var _exit2 = false; | ||
var _this5 = this; | ||
var _temp3 = function _temp3(_result2) { | ||
@@ -569,2 +576,6 @@ if (_exit2) return _result2; | ||
var _exit2 = false; | ||
var _this5 = this; | ||
var _temp4 = _catch(function () { | ||
@@ -571,0 +582,0 @@ var promises = []; |
{ | ||
"name": "byteark-player-react", | ||
"version": "1.0.0-beta17", | ||
"version": "1.0.0-beta18", | ||
"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
171241
1256