@micromag/element-background 0.3.105 → 0.3.106

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
@@ -142,7 +142,7 @@ var Background = function Background(_ref) {
142
142
  autoPlay: playing,
143
143
  initialMuted: true,
144
144
  loop: true,
145
- preload: finalShouldLoad ? 'auto' : 'metadata'
145
+ shouldLoad: shouldLoad
146
146
  })) : null, /*#__PURE__*/React.createElement("div", {
147
147
  className: styles.content
148
148
  }, children));
package/lib/index.js CHANGED
@@ -156,7 +156,7 @@ var Background = function Background(_ref) {
156
156
  autoPlay: playing,
157
157
  initialMuted: true,
158
158
  loop: true,
159
- preload: finalShouldLoad ? 'auto' : 'metadata'
159
+ shouldLoad: shouldLoad
160
160
  })) : null, /*#__PURE__*/React__default["default"].createElement("div", {
161
161
  className: styles.content
162
162
  }, children));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-background",
3
- "version": "0.3.105",
3
+ "version": "0.3.106",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -48,8 +48,8 @@
48
48
  "dependencies": {
49
49
  "@babel/runtime": "^7.13.10",
50
50
  "@folklore/size": "^0.1.20",
51
- "@micromag/core": "^0.3.105",
52
- "@micromag/element-video": "^0.3.105",
51
+ "@micromag/core": "^0.3.106",
52
+ "@micromag/element-video": "^0.3.106",
53
53
  "classnames": "^2.2.6",
54
54
  "lodash": "^4.17.21",
55
55
  "prop-types": "^15.7.2",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "fb6c28846c08f30c035ebbc162a4135b8b4d42a5"
62
+ "gitHead": "865842ef7fbdc41f89dd0891857989ded63d44c4"
63
63
  }