@micromag/screen-video 0.2.310 → 0.2.315
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 +6 -3
- package/lib/index.js +6 -3
- package/package.json +11 -11
package/es/index.js
CHANGED
|
@@ -268,7 +268,8 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
268
268
|
onProgressStep: onProgressStep,
|
|
269
269
|
onDurationChanged: onDurationChanged,
|
|
270
270
|
onSeeked: onSeeked,
|
|
271
|
-
onVolumeChanged: onVolumeChanged
|
|
271
|
+
onVolumeChanged: onVolumeChanged,
|
|
272
|
+
focusable: current && isView // onPosterLoaded={onPosterLoaded}
|
|
272
273
|
|
|
273
274
|
})))) : null), !isPlaceholder ? /*#__PURE__*/React.createElement("div", {
|
|
274
275
|
key: "bottom-content",
|
|
@@ -291,14 +292,16 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
291
292
|
duration: duration,
|
|
292
293
|
onTogglePlay: togglePlay,
|
|
293
294
|
onToggleMute: onToggleMute,
|
|
294
|
-
onSeek: seek
|
|
295
|
+
onSeek: seek,
|
|
296
|
+
focusable: current && isView
|
|
295
297
|
}) : null, hasCallToAction ? /*#__PURE__*/React.createElement("div", {
|
|
296
298
|
style: {
|
|
297
299
|
marginTop: -spacing
|
|
298
300
|
}
|
|
299
301
|
}, /*#__PURE__*/React.createElement(CallToAction, {
|
|
300
302
|
callToAction: callToAction,
|
|
301
|
-
animationDisabled: isPreview
|
|
303
|
+
animationDisabled: isPreview,
|
|
304
|
+
focusable: current && isView
|
|
302
305
|
})) : null)) : null];
|
|
303
306
|
return /*#__PURE__*/React.createElement("div", Object.assign({
|
|
304
307
|
className: classNames([styles.container, (_ref8 = {}, _defineProperty(_ref8, className, className !== null), _defineProperty(_ref8, styles.fullscreen, fullscreen), _ref8)]),
|
package/lib/index.js
CHANGED
|
@@ -289,7 +289,8 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
289
289
|
onProgressStep: onProgressStep,
|
|
290
290
|
onDurationChanged: onDurationChanged,
|
|
291
291
|
onSeeked: onSeeked,
|
|
292
|
-
onVolumeChanged: onVolumeChanged
|
|
292
|
+
onVolumeChanged: onVolumeChanged,
|
|
293
|
+
focusable: current && isView // onPosterLoaded={onPosterLoaded}
|
|
293
294
|
|
|
294
295
|
})))) : null), !isPlaceholder ? /*#__PURE__*/React__default['default'].createElement("div", {
|
|
295
296
|
key: "bottom-content",
|
|
@@ -312,14 +313,16 @@ var VideoScreen = function VideoScreen(_ref) {
|
|
|
312
313
|
duration: duration,
|
|
313
314
|
onTogglePlay: togglePlay,
|
|
314
315
|
onToggleMute: onToggleMute,
|
|
315
|
-
onSeek: seek
|
|
316
|
+
onSeek: seek,
|
|
317
|
+
focusable: current && isView
|
|
316
318
|
}) : null, hasCallToAction ? /*#__PURE__*/React__default['default'].createElement("div", {
|
|
317
319
|
style: {
|
|
318
320
|
marginTop: -spacing
|
|
319
321
|
}
|
|
320
322
|
}, /*#__PURE__*/React__default['default'].createElement(CallToAction__default['default'], {
|
|
321
323
|
callToAction: callToAction,
|
|
322
|
-
animationDisabled: isPreview
|
|
324
|
+
animationDisabled: isPreview,
|
|
325
|
+
focusable: current && isView
|
|
323
326
|
})) : null)) : null];
|
|
324
327
|
return /*#__PURE__*/React__default['default'].createElement("div", Object.assign({
|
|
325
328
|
className: classNames__default['default']([styles.container, (_ref8 = {}, _defineProperty__default['default'](_ref8, className, className !== null), _defineProperty__default['default'](_ref8, styles.fullscreen, fullscreen), _ref8)]),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/screen-video",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.315",
|
|
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.14",
|
|
53
|
-
"@micromag/core": "^0.2.
|
|
54
|
-
"@micromag/element-background": "^0.2.
|
|
55
|
-
"@micromag/element-call-to-action": "^0.2.
|
|
56
|
-
"@micromag/element-closed-captions": "^0.2.
|
|
57
|
-
"@micromag/element-container": "^0.2.
|
|
58
|
-
"@micromag/element-image": "^0.2.
|
|
59
|
-
"@micromag/element-media-controls": "^0.2.
|
|
60
|
-
"@micromag/element-video": "^0.2.
|
|
61
|
-
"@micromag/transforms": "^0.2.
|
|
53
|
+
"@micromag/core": "^0.2.315",
|
|
54
|
+
"@micromag/element-background": "^0.2.315",
|
|
55
|
+
"@micromag/element-call-to-action": "^0.2.315",
|
|
56
|
+
"@micromag/element-closed-captions": "^0.2.315",
|
|
57
|
+
"@micromag/element-container": "^0.2.315",
|
|
58
|
+
"@micromag/element-image": "^0.2.315",
|
|
59
|
+
"@micromag/element-media-controls": "^0.2.315",
|
|
60
|
+
"@micromag/element-video": "^0.2.315",
|
|
61
|
+
"@micromag/transforms": "^0.2.315",
|
|
62
62
|
"classnames": "^2.2.6",
|
|
63
63
|
"lodash": "^4.17.20",
|
|
64
64
|
"prop-types": "^15.7.2",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"publishConfig": {
|
|
69
69
|
"access": "public"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "a08edd143bdd81de6477f637e08046e0130da237"
|
|
72
72
|
}
|