@desynova-digital/player 3.11.4 → 3.11.5

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.
@@ -116,12 +116,7 @@ var PointersBar = /*#__PURE__*/function (_Component) {
116
116
  zoom = _this$props2.zoom;
117
117
  var left = leftMarker / player.duration * 100;
118
118
  var right = rightMarker / player.duration * 100;
119
- var width = 0;
120
- if (zoom > 0) {
121
- width = right - left * zoom * 20;
122
- } else {
123
- width = right - left;
124
- }
119
+ var width = right - left;
125
120
  var style = {
126
121
  left: "".concat(left, "%"),
127
122
  position: 'absolute',
@@ -53,17 +53,15 @@ var ZoomMenuButton = /*#__PURE__*/function (_Component) {
53
53
  _createClass(ZoomMenuButton, [{
54
54
  key: "handleClick",
55
55
  value: function handleClick() {
56
- var _this$props = this.props,
57
- player = _this$props.player,
58
- actions = _this$props.actions;
59
- actions.mute(!player.muted);
56
+ // const { player, actions } = this.props;
57
+ // actions.mute(!player.muted);
60
58
  }
61
59
  }, {
62
60
  key: "render",
63
61
  value: function render() {
64
- var _this$props2 = this.props,
65
- style = _this$props2.style,
66
- playerType = _this$props2.playerType;
62
+ var _this$props = this.props,
63
+ style = _this$props.style,
64
+ playerType = _this$props.playerType;
67
65
  var vertical = false;
68
66
  return playerType === 'subtitle' && /*#__PURE__*/_react["default"].createElement(ZoomMenu, {
69
67
  style: style
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@desynova-digital/player",
3
- "version": "3.11.4",
3
+ "version": "3.11.5",
4
4
  "description": "Video Player Package for Contido Application",
5
5
  "main": "index.js",
6
6
  "scripts": {