@desynova-digital/player 3.9.7 → 4.0.1
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.
- package/Player.js +945 -0
- package/control/AudioTracksMenuButton.js +91 -0
- package/control/AudioTracksMenuButton.jsx +80 -0
- package/control/ControlBar.js +303 -0
- package/control/ControlBar.jsx +264 -0
- package/control/CurrentTimeDisplay.js +34 -0
- package/control/CurrentTimeDisplay.jsx +35 -0
- package/control/DurationDisplay.js +38 -0
- package/control/DurationDisplay.jsx +48 -0
- package/control/ForwardBackwardControl.js +76 -0
- package/control/ForwardBackwardControl.jsx +79 -0
- package/control/FullscreenToggle.js +82 -0
- package/control/FullscreenToggle.jsx +83 -0
- package/control/MarkInControl.js +124 -0
- package/control/MarkInControl.jsx +109 -0
- package/control/MarkOutControl.js +137 -0
- package/control/MarkOutControl.jsx +131 -0
- package/control/MarkerBar.js +127 -0
- package/control/MarkerBar.jsx +107 -0
- package/control/MarkingControl.js +82 -0
- package/control/MarkingControl.jsx +143 -0
- package/control/MarkingDuration.js +44 -0
- package/control/MarkingPreview.js +49 -0
- package/control/MarkingPreview.jsx +60 -0
- package/control/PlayBackRateControl.js +106 -0
- package/control/PlayBackRateControl.jsx +106 -0
- package/control/PlayProgressBar.js +61 -0
- package/control/PlayProgressBar.jsx +92 -0
- package/control/PlayToggle.js +56 -0
- package/control/PlayToggle.jsx +57 -0
- package/control/PointersBar.js +231 -0
- package/control/PointersBar.jsx +286 -0
- package/control/ProgressControl.js +127 -0
- package/control/ProgressControl.jsx +155 -0
- package/control/SeekBar.js +204 -0
- package/control/SeekBar.jsx +229 -0
- package/control/SettingsMenuButton.js +63 -0
- package/control/SettingsMenuButton.jsx +69 -0
- package/control/Slider.js +274 -0
- package/control/Slider.jsx +243 -0
- package/control/Timeline.js +118 -0
- package/control/Timeline.jsx +131 -0
- package/control/VolumeBar.js +198 -0
- package/control/VolumeBar.jsx +174 -0
- package/control/VolumeLevel.js +61 -0
- package/control/VolumeLevel.jsx +66 -0
- package/control/VolumneMenuButton.js +112 -0
- package/control/VolumneMenuButton.jsx +111 -0
- package/header/Header.js +309 -0
- package/header/Header.jsx +479 -0
- package/index.js +9 -151
- package/media/AudioMeter.js +381 -0
- package/media/AudioMeter.jsx +411 -0
- package/media/SDOutline.js +82 -0
- package/media/SDOutline.jsx +90 -0
- package/media/Video.js +684 -0
- package/media/Video.jsx +714 -0
- package/package.json +5 -1
- package/playlist/Playlist.js +67 -0
- package/playlist/Playlist.jsx +91 -0
- package/playlist/index.js +13 -0
- package/shortcuts/Shortcut.js +662 -0
- package/utils/Menu.js +50 -0
- package/utils/Menu.jsx +105 -0
- package/{colors.js → utils/colors.js} +13 -13
- package/utils/dom.js +6 -16
- package/utils/index.js +52 -122
- package/Manager.js +0 -124
- package/actions/player.js +0 -375
- package/actions/video.js +0 -230
- package/components/AudioMeter.js +0 -414
- package/components/BigPlayButton.js +0 -110
- package/components/ImageViewer.js +0 -318
- package/components/MarkerBar.js +0 -138
- package/components/Menu.js +0 -77
- package/components/Player.js +0 -821
- package/components/PlayerHeader.js +0 -472
- package/components/Playlist.js +0 -133
- package/components/PointersBar.js +0 -299
- package/components/PosterImage.js +0 -61
- package/components/SDOutline.js +0 -68
- package/components/Shortcut.js +0 -621
- package/components/Slider.js +0 -317
- package/components/TagsBar.js +0 -100
- package/components/Video.js +0 -1431
- package/components/control-bar/AudioTracksMenuButton.js +0 -113
- package/components/control-bar/CameraButton.js +0 -88
- package/components/control-bar/CommentsButton.js +0 -216
- package/components/control-bar/ControlBar.js +0 -260
- package/components/control-bar/EditorControlMenuButton.js +0 -412
- package/components/control-bar/ForwardControl.js +0 -17
- package/components/control-bar/ForwardReplayControl.js +0 -122
- package/components/control-bar/FullscreenToggle.js +0 -101
- package/components/control-bar/PlayToggle.js +0 -98
- package/components/control-bar/ReplayControl.js +0 -17
- package/components/control-bar/SettingsMenuButton.js +0 -43
- package/components/control-bar/SubtitleLanguagesMenuButton.js +0 -174
- package/components/control-bar/VolumeMenuButton.js +0 -134
- package/components/control-bar/ZoomMenuButton.js +0 -116
- package/components/marking-controls/MarkInControl.js +0 -140
- package/components/marking-controls/MarkOutControl.js +0 -155
- package/components/marking-controls/MarkingAddButton.js +0 -94
- package/components/marking-controls/MarkingControl.js +0 -135
- package/components/marking-controls/MarkingDeleteButton.js +0 -84
- package/components/marking-controls/MarkingDuration.js +0 -77
- package/components/marking-controls/MarkingPreview.js +0 -86
- package/components/progress-bar/AudioWaveform.js +0 -144
- package/components/progress-bar/LoadProgressBar.js +0 -90
- package/components/progress-bar/MouseTimeDisplay.js +0 -53
- package/components/progress-bar/PlayProgressBar.js +0 -79
- package/components/progress-bar/ProgressControl.js +0 -222
- package/components/progress-bar/SeekBar.js +0 -261
- package/components/progress-bar/Timeline.js +0 -134
- package/components/settings-menu-control/PlaybackRateControl.js +0 -147
- package/components/settings-menu-control/SafeAreaControl.js +0 -92
- package/components/settings-menu-control/SettingsMenu.js +0 -68
- package/components/settings-menu-control/SubtitleControl.js +0 -1
- package/components/time-controls/CurrentTimeDisplay.js +0 -53
- package/components/time-controls/DurationDisplay.js +0 -51
- package/components/time-controls/TimeDivider.js +0 -41
- package/components/volume-control/VolumeBar.js +0 -216
- package/components/volume-control/VolumeControl.js +0 -35
- package/components/volume-control/VolumeLevel.js +0 -78
- package/components/zoom-control/ZoomBar.js +0 -189
- package/components/zoom-control/ZoomLevel.js +0 -68
- package/reducers/index.js +0 -23
- package/reducers/operation.js +0 -36
- package/reducers/player.js +0 -222
- package/utils/browser.js +0 -29
- package/utils/fullscreen.js +0 -73
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8
|
-
|
|
9
|
-
var _react = require('react');
|
|
10
|
-
|
|
11
|
-
var _react2 = _interopRequireDefault(_react);
|
|
12
|
-
|
|
13
|
-
var _propTypes = require('prop-types');
|
|
14
|
-
|
|
15
|
-
var _styledComponents = require('styled-components');
|
|
16
|
-
|
|
17
|
-
var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
18
|
-
|
|
19
|
-
var _components = require('@desynova-digital/components');
|
|
20
|
-
|
|
21
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
|
-
|
|
23
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
24
|
-
|
|
25
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
26
|
-
|
|
27
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
28
|
-
|
|
29
|
-
var propTypes = {
|
|
30
|
-
actions: _propTypes.PropTypes.instanceOf(Object),
|
|
31
|
-
player: _propTypes.PropTypes.instanceOf(Object),
|
|
32
|
-
markers: _propTypes.PropTypes.instanceOf(Object),
|
|
33
|
-
leftMarker: _propTypes.PropTypes.number,
|
|
34
|
-
allowMarkerOverlap: _propTypes.PropTypes.bool
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
var defaultProps = {
|
|
38
|
-
actions: {},
|
|
39
|
-
player: {},
|
|
40
|
-
leftMarker: -1,
|
|
41
|
-
allowMarkerOverlap: false
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
var MarkInButton = (0, _styledComponents2.default)(_components.Button).withConfig({
|
|
45
|
-
displayName: 'MarkInControl__MarkInButton',
|
|
46
|
-
componentId: 'sc-15q0p12-0'
|
|
47
|
-
})(['background:transparent;border:none;margin:0px 10px;pointer-events:', ';', '{svg path{fill:', ';}}&:hover{background:transparent;', '{svg path{fill:#00cec6;}}}&:focus{background:transparent;}'], function (props) {
|
|
48
|
-
return props.leftMarker > -1 ? 'none' : 'all';
|
|
49
|
-
}, _components.Icon.Element, function (props) {
|
|
50
|
-
return props.leftMarker > -1 ? '#00cec6' : '#ffffff';
|
|
51
|
-
}, _components.Icon.Element);
|
|
52
|
-
|
|
53
|
-
var MarkInControl = function (_Component) {
|
|
54
|
-
_inherits(MarkInControl, _Component);
|
|
55
|
-
|
|
56
|
-
function MarkInControl(props) {
|
|
57
|
-
_classCallCheck(this, MarkInControl);
|
|
58
|
-
|
|
59
|
-
var _this = _possibleConstructorReturn(this, (MarkInControl.__proto__ || Object.getPrototypeOf(MarkInControl)).call(this, props));
|
|
60
|
-
|
|
61
|
-
_this.handleClick = _this.handleClick.bind(_this);
|
|
62
|
-
return _this;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
_createClass(MarkInControl, [{
|
|
66
|
-
key: 'getStyle',
|
|
67
|
-
value: function getStyle() {
|
|
68
|
-
var _props = this.props,
|
|
69
|
-
currentTime = _props.player.currentTime,
|
|
70
|
-
markers = _props.markers,
|
|
71
|
-
leftMarker = _props.leftMarker,
|
|
72
|
-
allowMarkerOverlap = _props.allowMarkerOverlap;
|
|
73
|
-
|
|
74
|
-
var style = {
|
|
75
|
-
pointerEvents: 'all',
|
|
76
|
-
opacity: 1
|
|
77
|
-
};
|
|
78
|
-
if (markers && markers.length && markers[0].values && markers[0].values.length && !allowMarkerOverlap) {
|
|
79
|
-
markers[0].values.filter(function (marker) {
|
|
80
|
-
if (currentTime >= marker.start_time && currentTime <= marker.end_time || leftMarker > -1 && currentTime > marker.start_time && leftMarker < marker.start_time || leftMarker > -1 && currentTime < marker.start_time && leftMarker > marker.end_time) {
|
|
81
|
-
style = {
|
|
82
|
-
pointerEvents: 'none',
|
|
83
|
-
opacity: 0.6
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return style;
|
|
90
|
-
}
|
|
91
|
-
}, {
|
|
92
|
-
key: 'handleClick',
|
|
93
|
-
value: function handleClick() {
|
|
94
|
-
var _props2 = this.props,
|
|
95
|
-
player = _props2.player,
|
|
96
|
-
actions = _props2.actions,
|
|
97
|
-
onAddMarker = _props2.onAddMarker;
|
|
98
|
-
// actions.handleMarkerPointChange('add', 'left', player.currentTime);
|
|
99
|
-
|
|
100
|
-
if (onAddMarker) {
|
|
101
|
-
var data = {
|
|
102
|
-
markerType: player.markerType !== 'update' ? 'add' : 'update',
|
|
103
|
-
markerPos: 'left',
|
|
104
|
-
currentTime: player.currentTime
|
|
105
|
-
};
|
|
106
|
-
onAddMarker(player.currentTime, -1, '', true, data);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}, {
|
|
110
|
-
key: 'render',
|
|
111
|
-
value: function render() {
|
|
112
|
-
var _props3 = this.props,
|
|
113
|
-
leftMarker = _props3.leftMarker,
|
|
114
|
-
markers = _props3.markers;
|
|
115
|
-
|
|
116
|
-
return _react2.default.createElement(MarkInButton, {
|
|
117
|
-
leftMarker: leftMarker,
|
|
118
|
-
markers: markers,
|
|
119
|
-
display: 'rounded',
|
|
120
|
-
appearance: 'cta',
|
|
121
|
-
icon: 'in-marker',
|
|
122
|
-
iconWidth: 10,
|
|
123
|
-
iconHeight: 18,
|
|
124
|
-
width: 10,
|
|
125
|
-
height: 20,
|
|
126
|
-
onClick: this.handleClick,
|
|
127
|
-
style: this.getStyle()
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
}]);
|
|
131
|
-
|
|
132
|
-
return MarkInControl;
|
|
133
|
-
}(_react.Component);
|
|
134
|
-
|
|
135
|
-
exports.default = MarkInControl;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
MarkInControl.propTypes = propTypes;
|
|
139
|
-
MarkInControl.defaultProps = defaultProps;
|
|
140
|
-
MarkInControl.displayName = 'MarkInControl';
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8
|
-
|
|
9
|
-
var _react = require('react');
|
|
10
|
-
|
|
11
|
-
var _react2 = _interopRequireDefault(_react);
|
|
12
|
-
|
|
13
|
-
var _styledComponents = require('styled-components');
|
|
14
|
-
|
|
15
|
-
var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
16
|
-
|
|
17
|
-
var _propTypes = require('prop-types');
|
|
18
|
-
|
|
19
|
-
var _components = require('@desynova-digital/components');
|
|
20
|
-
|
|
21
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
|
-
|
|
23
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
24
|
-
|
|
25
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
26
|
-
|
|
27
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
28
|
-
|
|
29
|
-
var propTypes = {
|
|
30
|
-
player: _propTypes.PropTypes.instanceOf(Object),
|
|
31
|
-
actions: _propTypes.PropTypes.instanceOf(Object),
|
|
32
|
-
markers: _propTypes.PropTypes.instanceOf(Object),
|
|
33
|
-
leftMarker: _propTypes.PropTypes.number,
|
|
34
|
-
rightMarker: _propTypes.PropTypes.number,
|
|
35
|
-
controlType: _propTypes.PropTypes.string,
|
|
36
|
-
onMarkerSelect: _propTypes.PropTypes.func,
|
|
37
|
-
allowMarkerOverlap: _propTypes.PropTypes.bool
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
var defaultProps = {
|
|
41
|
-
player: {},
|
|
42
|
-
actions: {},
|
|
43
|
-
leftMarker: -1,
|
|
44
|
-
rightMarker: -1,
|
|
45
|
-
allowMarkerOverlap: false
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
var MarkOutButton = (0, _styledComponents2.default)(_components.Button).withConfig({
|
|
49
|
-
displayName: 'MarkOutControl__MarkOutButton',
|
|
50
|
-
componentId: 'sc-1lgtop1-0'
|
|
51
|
-
})(['background:transparent;border:none;margin:0px 10px;pointer-events:', ';', '{svg path{fill:', ';}}&:hover{background:transparent;', '{svg path{fill:#00cec6;}}}&:focus{background:transparent;}'], function (props) {
|
|
52
|
-
return props.leftMarker > -1 && props.currentTime < props.leftMarker || props.leftMarker < 0 ? 'none' : 'all';
|
|
53
|
-
}, _components.Icon.Element, function (props) {
|
|
54
|
-
return props.rightMarker > -1 ? '#00cec6' : props.leftMarker > -1 && props.currentTime < props.leftMarker || props.leftMarker < 0 ? '#ffffff88' : '#ffffff';
|
|
55
|
-
}, _components.Icon.Element);
|
|
56
|
-
|
|
57
|
-
var MarkOutControl = function (_Component) {
|
|
58
|
-
_inherits(MarkOutControl, _Component);
|
|
59
|
-
|
|
60
|
-
function MarkOutControl(props) {
|
|
61
|
-
_classCallCheck(this, MarkOutControl);
|
|
62
|
-
|
|
63
|
-
var _this = _possibleConstructorReturn(this, (MarkOutControl.__proto__ || Object.getPrototypeOf(MarkOutControl)).call(this, props));
|
|
64
|
-
|
|
65
|
-
_this.handleClick = _this.handleClick.bind(_this);
|
|
66
|
-
return _this;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
_createClass(MarkOutControl, [{
|
|
70
|
-
key: 'getStyle',
|
|
71
|
-
value: function getStyle() {
|
|
72
|
-
var _props = this.props,
|
|
73
|
-
currentTime = _props.player.currentTime,
|
|
74
|
-
markers = _props.markers,
|
|
75
|
-
leftMarker = _props.leftMarker,
|
|
76
|
-
allowMarkerOverlap = _props.allowMarkerOverlap;
|
|
77
|
-
|
|
78
|
-
var style = {
|
|
79
|
-
pointerEvents: 'all',
|
|
80
|
-
opacity: 1
|
|
81
|
-
};
|
|
82
|
-
if (markers && markers.length && markers[0].values && markers[0].values.length && !allowMarkerOverlap) {
|
|
83
|
-
markers[0].values.filter(function (marker) {
|
|
84
|
-
if (currentTime >= marker.start_time && currentTime <= marker.end_time || leftMarker > -1 && currentTime > marker.start_time && leftMarker < marker.start_time || leftMarker > -1 && currentTime < marker.start_time && leftMarker > marker.end_time) {
|
|
85
|
-
style = {
|
|
86
|
-
pointerEvents: 'none',
|
|
87
|
-
opacity: 0.6
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return style;
|
|
94
|
-
}
|
|
95
|
-
}, {
|
|
96
|
-
key: 'handleClick',
|
|
97
|
-
value: function handleClick() {
|
|
98
|
-
var _props2 = this.props,
|
|
99
|
-
player = _props2.player,
|
|
100
|
-
actions = _props2.actions,
|
|
101
|
-
leftMarker = _props2.leftMarker,
|
|
102
|
-
controlType = _props2.controlType,
|
|
103
|
-
onMarkerSelect = _props2.onMarkerSelect,
|
|
104
|
-
onAddMarker = _props2.onAddMarker;
|
|
105
|
-
|
|
106
|
-
if (leftMarker > -1 && player.currentTime > leftMarker) {
|
|
107
|
-
// actions.handleMarkerPointChange('add', 'right', player.currentTime);
|
|
108
|
-
//Commented for CN-632.
|
|
109
|
-
// if (controlType === 'default') {
|
|
110
|
-
// onMarkerSelect(leftMarker, player.currentTime);
|
|
111
|
-
// }
|
|
112
|
-
// actions.handleMarkerPointChange('create');
|
|
113
|
-
var data = {
|
|
114
|
-
markerType: player.markerType !== 'update' ? 'add' : 'update',
|
|
115
|
-
markerPos: 'right',
|
|
116
|
-
currentTime: player.currentTime
|
|
117
|
-
};
|
|
118
|
-
onAddMarker(leftMarker, player.currentTime, 'update', false, data);
|
|
119
|
-
// onAddMarker(leftMarker, player.currentTime);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}, {
|
|
123
|
-
key: 'render',
|
|
124
|
-
value: function render() {
|
|
125
|
-
var _props3 = this.props,
|
|
126
|
-
rightMarker = _props3.rightMarker,
|
|
127
|
-
leftMarker = _props3.leftMarker,
|
|
128
|
-
currentTime = _props3.player.currentTime;
|
|
129
|
-
|
|
130
|
-
return _react2.default.createElement(MarkOutButton, {
|
|
131
|
-
rightMarker: rightMarker,
|
|
132
|
-
leftMarker: leftMarker,
|
|
133
|
-
currentTime: currentTime,
|
|
134
|
-
display: 'rounded',
|
|
135
|
-
appearance: 'cta',
|
|
136
|
-
icon: 'out-marker',
|
|
137
|
-
iconWidth: 10,
|
|
138
|
-
iconHeight: 18,
|
|
139
|
-
width: 10,
|
|
140
|
-
height: 20,
|
|
141
|
-
onClick: this.handleClick,
|
|
142
|
-
style: this.getStyle()
|
|
143
|
-
});
|
|
144
|
-
}
|
|
145
|
-
}]);
|
|
146
|
-
|
|
147
|
-
return MarkOutControl;
|
|
148
|
-
}(_react.Component);
|
|
149
|
-
|
|
150
|
-
exports.default = MarkOutControl;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
MarkOutControl.propTypes = propTypes;
|
|
154
|
-
MarkOutControl.defaultProps = defaultProps;
|
|
155
|
-
MarkOutControl.displayName = 'MarkOutControl';
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8
|
-
|
|
9
|
-
var _react = require('react');
|
|
10
|
-
|
|
11
|
-
var _react2 = _interopRequireDefault(_react);
|
|
12
|
-
|
|
13
|
-
var _propTypes = require('prop-types');
|
|
14
|
-
|
|
15
|
-
var _styledComponents = require('styled-components');
|
|
16
|
-
|
|
17
|
-
var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
18
|
-
|
|
19
|
-
var _components = require('@desynova-digital/components');
|
|
20
|
-
|
|
21
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
|
-
|
|
23
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
24
|
-
|
|
25
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
26
|
-
|
|
27
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
28
|
-
|
|
29
|
-
var propTypes = {
|
|
30
|
-
rightMarker: _propTypes.PropTypes.number,
|
|
31
|
-
leftMarker: _propTypes.PropTypes.number,
|
|
32
|
-
onAddMarker: _propTypes.PropTypes.func,
|
|
33
|
-
actions: _propTypes.PropTypes.instanceOf(Object)
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
var defaultProps = {
|
|
37
|
-
rightMarker: -1,
|
|
38
|
-
leftMarker: -1
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
var AddButton = (0, _styledComponents2.default)(_components.Button).withConfig({
|
|
42
|
-
displayName: 'MarkingAddButton__AddButton',
|
|
43
|
-
componentId: 'sc-14u5yxm-0'
|
|
44
|
-
})(['background:transparent;border-color:#00cec6;border-width:1px;margin:0 5px 0 15px;&:hover,&:focus{background:transparent;border-color:#00cec6;}', '{svg path{fill:#00cec6;}}'], _components.Icon.Element);
|
|
45
|
-
|
|
46
|
-
var MarkingAddButton = function (_Component) {
|
|
47
|
-
_inherits(MarkingAddButton, _Component);
|
|
48
|
-
|
|
49
|
-
function MarkingAddButton(props) {
|
|
50
|
-
_classCallCheck(this, MarkingAddButton);
|
|
51
|
-
|
|
52
|
-
var _this = _possibleConstructorReturn(this, (MarkingAddButton.__proto__ || Object.getPrototypeOf(MarkingAddButton)).call(this, props));
|
|
53
|
-
|
|
54
|
-
_this.handleClick = _this.handleClick.bind(_this);
|
|
55
|
-
return _this;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
_createClass(MarkingAddButton, [{
|
|
59
|
-
key: 'handleClick',
|
|
60
|
-
value: function handleClick() {
|
|
61
|
-
var _props = this.props,
|
|
62
|
-
onAddMarker = _props.onAddMarker,
|
|
63
|
-
leftMarker = _props.leftMarker,
|
|
64
|
-
rightMarker = _props.rightMarker,
|
|
65
|
-
actions = _props.actions;
|
|
66
|
-
|
|
67
|
-
actions.handleMarkerPointChange('create');
|
|
68
|
-
onAddMarker(leftMarker, rightMarker);
|
|
69
|
-
}
|
|
70
|
-
}, {
|
|
71
|
-
key: 'render',
|
|
72
|
-
value: function render() {
|
|
73
|
-
return _react2.default.createElement(AddButton, {
|
|
74
|
-
display: 'rounded',
|
|
75
|
-
appearance: 'cta',
|
|
76
|
-
icon: 'add',
|
|
77
|
-
iconWidth: 8,
|
|
78
|
-
iconHeight: 8,
|
|
79
|
-
width: 20,
|
|
80
|
-
height: 20,
|
|
81
|
-
onClick: this.handleClick
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
}]);
|
|
85
|
-
|
|
86
|
-
return MarkingAddButton;
|
|
87
|
-
}(_react.Component);
|
|
88
|
-
|
|
89
|
-
exports.default = MarkingAddButton;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
MarkingAddButton.propTypes = propTypes;
|
|
93
|
-
MarkingAddButton.defaultProps = defaultProps;
|
|
94
|
-
MarkingAddButton.displayName = 'MarkingAddButton';
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = MarkingControl;
|
|
7
|
-
|
|
8
|
-
var _react = require('react');
|
|
9
|
-
|
|
10
|
-
var _react2 = _interopRequireDefault(_react);
|
|
11
|
-
|
|
12
|
-
var _styledComponents = require('styled-components');
|
|
13
|
-
|
|
14
|
-
var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
15
|
-
|
|
16
|
-
var _propTypes = require('prop-types');
|
|
17
|
-
|
|
18
|
-
var _MarkInControl = require('./MarkInControl');
|
|
19
|
-
|
|
20
|
-
var _MarkInControl2 = _interopRequireDefault(_MarkInControl);
|
|
21
|
-
|
|
22
|
-
var _MarkOutControl = require('./MarkOutControl');
|
|
23
|
-
|
|
24
|
-
var _MarkOutControl2 = _interopRequireDefault(_MarkOutControl);
|
|
25
|
-
|
|
26
|
-
var _MarkingAddButton = require('./MarkingAddButton');
|
|
27
|
-
|
|
28
|
-
var _MarkingAddButton2 = _interopRequireDefault(_MarkingAddButton);
|
|
29
|
-
|
|
30
|
-
var _MarkingDeleteButton = require('./MarkingDeleteButton');
|
|
31
|
-
|
|
32
|
-
var _MarkingDeleteButton2 = _interopRequireDefault(_MarkingDeleteButton);
|
|
33
|
-
|
|
34
|
-
var _MarkingPreview = require('./MarkingPreview');
|
|
35
|
-
|
|
36
|
-
var _MarkingPreview2 = _interopRequireDefault(_MarkingPreview);
|
|
37
|
-
|
|
38
|
-
var _MarkingDuration = require('./MarkingDuration');
|
|
39
|
-
|
|
40
|
-
var _MarkingDuration2 = _interopRequireDefault(_MarkingDuration);
|
|
41
|
-
|
|
42
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
43
|
-
|
|
44
|
-
var propTypes = {
|
|
45
|
-
frameRate: _propTypes.PropTypes.number,
|
|
46
|
-
player: _propTypes.PropTypes.instanceOf(Object),
|
|
47
|
-
actions: _propTypes.PropTypes.instanceOf(Object),
|
|
48
|
-
markers: _propTypes.PropTypes.instanceOf(Object),
|
|
49
|
-
controlType: _propTypes.PropTypes.string,
|
|
50
|
-
playerType: _propTypes.PropTypes.oneOf(['dubbing_review', 'clipping_default', 'default', 'tagging', 'qc', 'subtitle', 'snp_edit', 'archive', 'restore', 'clipping', 'storyboard', 'panel']),
|
|
51
|
-
onAddMarker: _propTypes.PropTypes.func,
|
|
52
|
-
onMarkerSelect: _propTypes.PropTypes.func,
|
|
53
|
-
onDeleteMarker: _propTypes.PropTypes.func,
|
|
54
|
-
initialTime: _propTypes.PropTypes.number,
|
|
55
|
-
allowMarkerOverlap: _propTypes.PropTypes.bool
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
var defaultProps = {
|
|
59
|
-
frameRate: 0,
|
|
60
|
-
player: {},
|
|
61
|
-
actions: {}
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
var MarkingBlock = _styledComponents2.default.div.withConfig({
|
|
65
|
-
displayName: 'MarkingControl__MarkingBlock',
|
|
66
|
-
componentId: 'sc-zeqqs4-0'
|
|
67
|
-
})(['min-width:300px;margin:0 15px;display:flex;justify-content:flex-start;align-items:center;']);
|
|
68
|
-
|
|
69
|
-
function MarkingControl(_ref) {
|
|
70
|
-
var player = _ref.player,
|
|
71
|
-
frameRate = _ref.frameRate,
|
|
72
|
-
initialTime = _ref.initialTime,
|
|
73
|
-
actions = _ref.actions,
|
|
74
|
-
onAddMarker = _ref.onAddMarker,
|
|
75
|
-
onMarkerSelect = _ref.onMarkerSelect,
|
|
76
|
-
onDeleteMarker = _ref.onDeleteMarker,
|
|
77
|
-
markers = _ref.markers,
|
|
78
|
-
controlType = _ref.controlType,
|
|
79
|
-
playerType = _ref.playerType,
|
|
80
|
-
allowMarkerOverlap = _ref.allowMarkerOverlap,
|
|
81
|
-
playerReadOnlyMode = _ref.playerReadOnlyMode,
|
|
82
|
-
_ref$disablePlayerAct = _ref.disablePlayerActions,
|
|
83
|
-
disablePlayerActions = _ref$disablePlayerAct === undefined ? [] : _ref$disablePlayerAct,
|
|
84
|
-
playerSelectedMarker = _ref.playerSelectedMarker;
|
|
85
|
-
|
|
86
|
-
return _react2.default.createElement(
|
|
87
|
-
_react2.default.Fragment,
|
|
88
|
-
null,
|
|
89
|
-
playerType !== 'panel' && playerType !== 'default' && playerType !== 'clipping_default' ? _react2.default.createElement(
|
|
90
|
-
MarkingBlock,
|
|
91
|
-
null,
|
|
92
|
-
(!(playerSelectedMarker.leftMarker > -1) || !(playerSelectedMarker.rightMarker > -1)) && playerType !== 'panel' && playerType !== 'default' && playerType !== 'clipping_default' && !playerReadOnlyMode && !disablePlayerActions.includes("marking_controls") ? _react2.default.createElement(
|
|
93
|
-
_react2.default.Fragment,
|
|
94
|
-
null,
|
|
95
|
-
_react2.default.createElement(_MarkInControl2.default, {
|
|
96
|
-
leftMarker: playerSelectedMarker.leftMarker,
|
|
97
|
-
actions: actions,
|
|
98
|
-
player: player,
|
|
99
|
-
markers: markers,
|
|
100
|
-
allowMarkerOverlap: allowMarkerOverlap,
|
|
101
|
-
onAddMarker: onAddMarker
|
|
102
|
-
}),
|
|
103
|
-
_react2.default.createElement(_MarkOutControl2.default, {
|
|
104
|
-
leftMarker: playerSelectedMarker.leftMarker,
|
|
105
|
-
rightMarker: playerSelectedMarker.rightMarker,
|
|
106
|
-
actions: actions,
|
|
107
|
-
player: player,
|
|
108
|
-
markers: markers,
|
|
109
|
-
controlType: controlType,
|
|
110
|
-
onMarkerSelect: onMarkerSelect,
|
|
111
|
-
allowMarkerOverlap: allowMarkerOverlap,
|
|
112
|
-
onAddMarker: onAddMarker
|
|
113
|
-
})
|
|
114
|
-
) : null,
|
|
115
|
-
playerSelectedMarker.leftMarker > -1 || playerSelectedMarker.rightMarker > -1 ? _react2.default.createElement(_MarkingDuration2.default, {
|
|
116
|
-
leftMarker: playerSelectedMarker.leftMarker,
|
|
117
|
-
rightMarker: playerSelectedMarker.rightMarker,
|
|
118
|
-
frameRate: frameRate,
|
|
119
|
-
initialTime: initialTime
|
|
120
|
-
}) : null,
|
|
121
|
-
playerSelectedMarker.leftMarker > -1 && playerSelectedMarker.rightMarker > -1 ? _react2.default.createElement(_MarkingPreview2.default, {
|
|
122
|
-
actions: actions,
|
|
123
|
-
leftMarker: playerSelectedMarker.leftMarker
|
|
124
|
-
}) : null,
|
|
125
|
-
(playerSelectedMarker.leftMarker > -1 || playerSelectedMarker.rightMarker > -1) && playerSelectedMarker.markerType === 'create' && playerSelectedMarker.markerCreate && !playerReadOnlyMode && !disablePlayerActions.includes("marking_controls") ? _react2.default.createElement(_MarkingDeleteButton2.default, {
|
|
126
|
-
actions: actions,
|
|
127
|
-
onDeleteMarker: onDeleteMarker
|
|
128
|
-
}) : null
|
|
129
|
-
) : null
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
MarkingControl.propTypes = propTypes;
|
|
134
|
-
MarkingControl.defaultProps = defaultProps;
|
|
135
|
-
MarkingControl.displayName = 'MarkingControl';
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
|
|
7
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8
|
-
|
|
9
|
-
var _react = require('react');
|
|
10
|
-
|
|
11
|
-
var _react2 = _interopRequireDefault(_react);
|
|
12
|
-
|
|
13
|
-
var _styledComponents = require('styled-components');
|
|
14
|
-
|
|
15
|
-
var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
16
|
-
|
|
17
|
-
var _propTypes = require('prop-types');
|
|
18
|
-
|
|
19
|
-
var _components = require('@desynova-digital/components');
|
|
20
|
-
|
|
21
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
|
-
|
|
23
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
24
|
-
|
|
25
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
26
|
-
|
|
27
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
28
|
-
|
|
29
|
-
var propTypes = {
|
|
30
|
-
actions: _propTypes.PropTypes.instanceOf(Object),
|
|
31
|
-
onDeleteMarker: _propTypes.PropTypes.func
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
var DeleteButton = (0, _styledComponents2.default)(_components.Button).withConfig({
|
|
35
|
-
displayName: 'MarkingDeleteButton__DeleteButton',
|
|
36
|
-
componentId: 'sc-5dkwj5-0'
|
|
37
|
-
})(['margin:0 10px 0 5px;background:transparent;border:none;&:hover{margin:0 10px 0 5px;background:transparent;border:none;}', '{svg path{fill:#303f51;}}'], _components.Icon.Element);
|
|
38
|
-
|
|
39
|
-
var MarkingDeleteButton = function (_Component) {
|
|
40
|
-
_inherits(MarkingDeleteButton, _Component);
|
|
41
|
-
|
|
42
|
-
function MarkingDeleteButton(props) {
|
|
43
|
-
_classCallCheck(this, MarkingDeleteButton);
|
|
44
|
-
|
|
45
|
-
var _this = _possibleConstructorReturn(this, (MarkingDeleteButton.__proto__ || Object.getPrototypeOf(MarkingDeleteButton)).call(this, props));
|
|
46
|
-
|
|
47
|
-
_this.handleClick = _this.handleClick.bind(_this);
|
|
48
|
-
return _this;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
_createClass(MarkingDeleteButton, [{
|
|
52
|
-
key: 'handleClick',
|
|
53
|
-
value: function handleClick() {
|
|
54
|
-
var _props = this.props,
|
|
55
|
-
actions = _props.actions,
|
|
56
|
-
onDeleteMarker = _props.onDeleteMarker;
|
|
57
|
-
|
|
58
|
-
actions.handleMarkerPointChange('delete');
|
|
59
|
-
onDeleteMarker();
|
|
60
|
-
}
|
|
61
|
-
}, {
|
|
62
|
-
key: 'render',
|
|
63
|
-
value: function render() {
|
|
64
|
-
return _react2.default.createElement(DeleteButton, {
|
|
65
|
-
display: 'rounded',
|
|
66
|
-
appearance: 'cta',
|
|
67
|
-
icon: 'delete',
|
|
68
|
-
iconWidth: 12,
|
|
69
|
-
iconHeight: 13,
|
|
70
|
-
width: 12,
|
|
71
|
-
height: 13,
|
|
72
|
-
onClick: this.handleClick
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
}]);
|
|
76
|
-
|
|
77
|
-
return MarkingDeleteButton;
|
|
78
|
-
}(_react.Component);
|
|
79
|
-
|
|
80
|
-
exports.default = MarkingDeleteButton;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
MarkingDeleteButton.propTypes = propTypes;
|
|
84
|
-
MarkingDeleteButton.displayName = 'MarkingDeleteButton';
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = MarkingDuration;
|
|
7
|
-
|
|
8
|
-
var _react = require('react');
|
|
9
|
-
|
|
10
|
-
var _react2 = _interopRequireDefault(_react);
|
|
11
|
-
|
|
12
|
-
var _styledComponents = require('styled-components');
|
|
13
|
-
|
|
14
|
-
var _styledComponents2 = _interopRequireDefault(_styledComponents);
|
|
15
|
-
|
|
16
|
-
var _propTypes = require('prop-types');
|
|
17
|
-
|
|
18
|
-
var _components = require('@desynova-digital/components');
|
|
19
|
-
|
|
20
|
-
var _utils = require('../../utils');
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
23
|
-
|
|
24
|
-
var propTypes = {
|
|
25
|
-
leftMarker: _propTypes.PropTypes.number,
|
|
26
|
-
rightMarker: _propTypes.PropTypes.number,
|
|
27
|
-
frameRate: _propTypes.PropTypes.number,
|
|
28
|
-
initialTime: _propTypes.PropTypes.number
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
var defaultProps = {
|
|
32
|
-
leftMarker: -1,
|
|
33
|
-
rightMarker: -1,
|
|
34
|
-
frameRate: 0
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
var MarkingDurationBlock = _styledComponents2.default.div.withConfig({
|
|
38
|
-
displayName: 'MarkingDuration__MarkingDurationBlock',
|
|
39
|
-
componentId: 'sc-1pme7zn-0'
|
|
40
|
-
})(['display:flex;justify-content:center;align-items:center;border-radius:100px;background:rgba(255,255,255,0.3);padding:5px;', '{margin:0 10px;box-shadow:0 0 14px 1px rgba(0,206,198,0.5);background:rgba(0,206,198,0.2);svg path{fill:#00cec6;}}p{font-family:SFUIText-Medium;font-size:9px;color:#ffffff;}'], _components.Icon.Element);
|
|
41
|
-
|
|
42
|
-
function MarkingDuration(_ref) {
|
|
43
|
-
var leftMarker = _ref.leftMarker,
|
|
44
|
-
rightMarker = _ref.rightMarker,
|
|
45
|
-
initialTime = _ref.initialTime,
|
|
46
|
-
frameRate = _ref.frameRate;
|
|
47
|
-
|
|
48
|
-
return _react2.default.createElement(
|
|
49
|
-
_react2.default.Fragment,
|
|
50
|
-
null,
|
|
51
|
-
leftMarker > -1 || rightMarker > -1 ? _react2.default.createElement(
|
|
52
|
-
MarkingDurationBlock,
|
|
53
|
-
null,
|
|
54
|
-
_react2.default.createElement(_components.Icon, { name: 'in-marker', width: 6, height: 18 }),
|
|
55
|
-
leftMarker > -1 ? _react2.default.createElement(
|
|
56
|
-
'p',
|
|
57
|
-
null,
|
|
58
|
-
(0, _utils.secondsToTime)(leftMarker, frameRate, initialTime)
|
|
59
|
-
) : null,
|
|
60
|
-
leftMarker > -1 && rightMarker > -1 ? _react2.default.createElement(
|
|
61
|
-
'p',
|
|
62
|
-
null,
|
|
63
|
-
'{',
|
|
64
|
-
' Dur: ',
|
|
65
|
-
(0, _utils.secondsToTime)(rightMarker - leftMarker, frameRate),
|
|
66
|
-
'}',
|
|
67
|
-
' ',
|
|
68
|
-
(0, _utils.secondsToTime)(rightMarker, frameRate, initialTime)
|
|
69
|
-
) : null,
|
|
70
|
-
_react2.default.createElement(_components.Icon, { name: 'out-marker', width: 6, height: 18 })
|
|
71
|
-
) : null
|
|
72
|
-
);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
MarkingDuration.propTypes = propTypes;
|
|
76
|
-
MarkingDuration.defaultProps = defaultProps;
|
|
77
|
-
MarkingDuration.displayName = 'MarkingDuration';
|