@micromag/screen-video 0.3.120 → 0.3.124
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 +1 -1
- package/lib/index.js +1 -1
- package/package.json +11 -11
package/es/index.js
CHANGED
|
@@ -165,7 +165,7 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
165
165
|
|
|
166
166
|
var onTimeUpdate = useCallback(function (time) {
|
|
167
167
|
setCurrentTime(time);
|
|
168
|
-
}, [
|
|
168
|
+
}, [duration, setCurrentTime]);
|
|
169
169
|
var onProgressStep = useCallback(function (step) {
|
|
170
170
|
trackScreenMedia(video, "progress_".concat(Math.round(step * 100, 10), "%"));
|
|
171
171
|
}, [trackScreenMedia, video]);
|
package/lib/index.js
CHANGED
|
@@ -186,7 +186,7 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
186
186
|
|
|
187
187
|
var onTimeUpdate = React.useCallback(function (time) {
|
|
188
188
|
setCurrentTime(time);
|
|
189
|
-
}, [
|
|
189
|
+
}, [duration, setCurrentTime]);
|
|
190
190
|
var onProgressStep = React.useCallback(function (step) {
|
|
191
191
|
trackScreenMedia(video, "progress_".concat(Math.round(step * 100, 10), "%"));
|
|
192
192
|
}, [trackScreenMedia, video]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-video",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.124",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -50,15 +50,15 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@babel/runtime": "^7.13.10",
|
|
52
52
|
"@folklore/size": "^0.1.20",
|
|
53
|
-
"@micromag/core": "^0.3.
|
|
54
|
-
"@micromag/element-background": "^0.3.
|
|
55
|
-
"@micromag/element-call-to-action": "^0.3.
|
|
56
|
-
"@micromag/element-closed-captions": "^0.3.
|
|
57
|
-
"@micromag/element-container": "^0.3.
|
|
58
|
-
"@micromag/element-image": "^0.3.
|
|
59
|
-
"@micromag/element-media-controls": "^0.3.
|
|
60
|
-
"@micromag/element-video": "^0.3.
|
|
61
|
-
"@micromag/transforms": "^0.3.
|
|
53
|
+
"@micromag/core": "^0.3.124",
|
|
54
|
+
"@micromag/element-background": "^0.3.124",
|
|
55
|
+
"@micromag/element-call-to-action": "^0.3.124",
|
|
56
|
+
"@micromag/element-closed-captions": "^0.3.124",
|
|
57
|
+
"@micromag/element-container": "^0.3.124",
|
|
58
|
+
"@micromag/element-image": "^0.3.124",
|
|
59
|
+
"@micromag/element-media-controls": "^0.3.124",
|
|
60
|
+
"@micromag/element-video": "^0.3.124",
|
|
61
|
+
"@micromag/transforms": "^0.3.124",
|
|
62
62
|
"classnames": "^2.2.6",
|
|
63
63
|
"lodash": "^4.17.21",
|
|
64
64
|
"prop-types": "^15.7.2",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "9050944df1d66cae14e04a771f739e2743894fb8"
|
|
72
72
|
}
|