@micromag/screen-video 0.2.406 → 0.2.407

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 CHANGED
@@ -277,7 +277,8 @@ var VideoScreen = function VideoScreen(_ref) {
277
277
  onDurationChanged: onDurationChanged,
278
278
  onSeeked: onSeeked,
279
279
  onVolumeChanged: onVolumeChanged,
280
- focusable: current && isView // onPosterLoaded={onPosterLoaded}
280
+ focusable: current && isView,
281
+ preload: current || active ? 'auto' : 'metadata' // onPosterLoaded={onPosterLoaded}
281
282
 
282
283
  }))) : null), !isPlaceholder ? /*#__PURE__*/React.createElement("div", {
283
284
  key: "bottom-content",
package/lib/index.js CHANGED
@@ -298,7 +298,8 @@ var VideoScreen = function VideoScreen(_ref) {
298
298
  onDurationChanged: onDurationChanged,
299
299
  onSeeked: onSeeked,
300
300
  onVolumeChanged: onVolumeChanged,
301
- focusable: current && isView // onPosterLoaded={onPosterLoaded}
301
+ focusable: current && isView,
302
+ preload: current || active ? 'auto' : 'metadata' // onPosterLoaded={onPosterLoaded}
302
303
 
303
304
  }))) : null), !isPlaceholder ? /*#__PURE__*/React__default["default"].createElement("div", {
304
305
  key: "bottom-content",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/screen-video",
3
- "version": "0.2.406",
3
+ "version": "0.2.407",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -51,13 +51,13 @@
51
51
  "@babel/runtime": "^7.13.10",
52
52
  "@folklore/size": "^0.1.15",
53
53
  "@micromag/core": "^0.2.405",
54
- "@micromag/element-background": "^0.2.406",
54
+ "@micromag/element-background": "^0.2.407",
55
55
  "@micromag/element-call-to-action": "^0.2.405",
56
56
  "@micromag/element-closed-captions": "^0.2.405",
57
57
  "@micromag/element-container": "^0.2.405",
58
58
  "@micromag/element-image": "^0.2.406",
59
59
  "@micromag/element-media-controls": "^0.2.405",
60
- "@micromag/element-video": "^0.2.405",
60
+ "@micromag/element-video": "^0.2.407",
61
61
  "@micromag/transforms": "^0.2.405",
62
62
  "classnames": "^2.2.6",
63
63
  "lodash": "^4.17.21",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "5e1a6de73674624b0cb3f9701140ea8850e6f35e"
71
+ "gitHead": "6e9f2acd39ad4982b571b91c406d30c59f4be473"
72
72
  }