@desynova-digital/player 3.9.10 → 3.9.11
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.
|
@@ -128,7 +128,8 @@ var ProgressControl = /*#__PURE__*/function (_Component) {
|
|
|
128
128
|
playerType = _this$props2.playerType,
|
|
129
129
|
_this$props2$player = _this$props2.player,
|
|
130
130
|
userActivity = _this$props2$player.userActivity,
|
|
131
|
-
isFullscreen = _this$props2$player.isFullscreen
|
|
131
|
+
isFullscreen = _this$props2$player.isFullscreen,
|
|
132
|
+
duration = _this$props2$player.duration;
|
|
132
133
|
var mouseTime = this.state.mouseTime;
|
|
133
134
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(ProgressControlBlock, {
|
|
134
135
|
controlType: controlType,
|
|
@@ -152,7 +153,7 @@ var ProgressControl = /*#__PURE__*/function (_Component) {
|
|
|
152
153
|
}
|
|
153
154
|
}, this.props))), controlType === 'advanced' && !isFullscreen ? /*#__PURE__*/_react["default"].createElement(MarkerTagsBlock, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
154
155
|
className: "empty-block"
|
|
155
|
-
})) : null), controlType === 'advanced' && !isFullscreen ? /*#__PURE__*/_react["default"].createElement(_PointersBar["default"], this.props) : null);
|
|
156
|
+
})) : null), controlType === 'advanced' && !isFullscreen && duration ? /*#__PURE__*/_react["default"].createElement(_PointersBar["default"], this.props) : null);
|
|
156
157
|
}
|
|
157
158
|
}]);
|
|
158
159
|
return ProgressControl;
|