@micromag/screen-audio 0.3.651 → 0.3.659
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/es/index.js +11 -11
- package/package.json +11 -11
package/es/index.js
CHANGED
|
@@ -96,26 +96,26 @@ var AudioScreen = function AudioScreen(_ref) {
|
|
|
96
96
|
var hasAudio = audio !== null;
|
|
97
97
|
var _ref2 = audio || {},
|
|
98
98
|
_ref2$media = _ref2.media,
|
|
99
|
-
audioMedia = _ref2$media ===
|
|
99
|
+
audioMedia = _ref2$media === void 0 ? null : _ref2$media,
|
|
100
100
|
_ref2$autoPlay = _ref2.autoPlay,
|
|
101
|
-
autoPlay = _ref2$autoPlay ===
|
|
101
|
+
autoPlay = _ref2$autoPlay === void 0 ? true : _ref2$autoPlay,
|
|
102
102
|
_ref2$closedCaptions = _ref2.closedCaptions,
|
|
103
|
-
closedCaptions = _ref2$closedCaptions ===
|
|
103
|
+
closedCaptions = _ref2$closedCaptions === void 0 ? null : _ref2$closedCaptions,
|
|
104
104
|
_ref2$captions = _ref2.captions,
|
|
105
|
-
captions = _ref2$captions ===
|
|
105
|
+
captions = _ref2$captions === void 0 ? null : _ref2$captions,
|
|
106
106
|
_ref2$withWave = _ref2.withWave,
|
|
107
|
-
withWave = _ref2$withWave ===
|
|
107
|
+
withWave = _ref2$withWave === void 0 ? false : _ref2$withWave,
|
|
108
108
|
_ref2$withControls = _ref2.withControls,
|
|
109
|
-
withControls = _ref2$withControls ===
|
|
109
|
+
withControls = _ref2$withControls === void 0 ? false : _ref2$withControls,
|
|
110
110
|
_ref2$withSeekBar = _ref2.withSeekBar,
|
|
111
|
-
withSeekBar = _ref2$withSeekBar ===
|
|
111
|
+
withSeekBar = _ref2$withSeekBar === void 0 ? false : _ref2$withSeekBar,
|
|
112
112
|
_ref2$color = _ref2.color,
|
|
113
|
-
color = _ref2$color ===
|
|
113
|
+
color = _ref2$color === void 0 ? null : _ref2$color,
|
|
114
114
|
_ref2$progressColor = _ref2.progressColor,
|
|
115
|
-
progressColor = _ref2$progressColor ===
|
|
115
|
+
progressColor = _ref2$progressColor === void 0 ? null : _ref2$progressColor;
|
|
116
116
|
var _ref3 = audioMedia || {},
|
|
117
117
|
_ref3$url = _ref3.url,
|
|
118
|
-
audioUrl = _ref3$url ===
|
|
118
|
+
audioUrl = _ref3$url === void 0 ? null : _ref3$url;
|
|
119
119
|
var hasAudioUrl = audioUrl !== null;
|
|
120
120
|
var finalAudio = hasAudio ? _objectSpread(_objectSpread({}, audio), {}, {
|
|
121
121
|
autoPlay: !isPreview && !isStatic && !isCapture && autoPlay && current
|
|
@@ -175,7 +175,7 @@ var AudioScreen = function AudioScreen(_ref) {
|
|
|
175
175
|
}, [current, autoPlay]);
|
|
176
176
|
var onTimeUpdate = useCallback(function (_ref4) {
|
|
177
177
|
var _ref4$timeStamp = _ref4.timeStamp,
|
|
178
|
-
timeStamp = _ref4$timeStamp ===
|
|
178
|
+
timeStamp = _ref4$timeStamp === void 0 ? 0 : _ref4$timeStamp;
|
|
179
179
|
setCurrentTime(timeStamp);
|
|
180
180
|
}, [setCurrentTime, setDuration, duration]);
|
|
181
181
|
var onProgressStep = useCallback(function (step, meta) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-audio",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.659",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [
|
|
@@ -60,15 +60,15 @@
|
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@babel/runtime": "^7.13.10",
|
|
63
|
-
"@micromag/core": "^0.3.
|
|
64
|
-
"@micromag/element-audio": "^0.3.
|
|
65
|
-
"@micromag/element-background": "^0.3.
|
|
66
|
-
"@micromag/element-closed-captions": "^0.3.
|
|
67
|
-
"@micromag/element-container": "^0.3.
|
|
68
|
-
"@micromag/element-footer": "^0.3.
|
|
69
|
-
"@micromag/element-header": "^0.3.
|
|
70
|
-
"@micromag/element-layout": "^0.3.
|
|
71
|
-
"@micromag/transforms": "^0.3.
|
|
63
|
+
"@micromag/core": "^0.3.659",
|
|
64
|
+
"@micromag/element-audio": "^0.3.659",
|
|
65
|
+
"@micromag/element-background": "^0.3.659",
|
|
66
|
+
"@micromag/element-closed-captions": "^0.3.659",
|
|
67
|
+
"@micromag/element-container": "^0.3.659",
|
|
68
|
+
"@micromag/element-footer": "^0.3.659",
|
|
69
|
+
"@micromag/element-header": "^0.3.659",
|
|
70
|
+
"@micromag/element-layout": "^0.3.659",
|
|
71
|
+
"@micromag/transforms": "^0.3.659",
|
|
72
72
|
"classnames": "^2.2.6",
|
|
73
73
|
"lodash": "^4.17.21",
|
|
74
74
|
"prop-types": "^15.7.2",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"access": "public",
|
|
80
80
|
"registry": "https://registry.npmjs.org/"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "7c13dad69a7e377cd2f900d95cb95694a3a8fcbb"
|
|
83
83
|
}
|