@micromag/element-video 0.3.180 → 0.3.184

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
@@ -248,8 +248,7 @@ var Video = function Video(_ref) {
248
248
  useEffect(function () {
249
249
  var _ref$current2 = _ref9.current,
250
250
  element = _ref$current2 === void 0 ? null : _ref$current2;
251
- var canLoad = preload !== 'none' && preload !== 'metadata' && shouldLoad; // @todo
252
-
251
+ var canLoad = preload !== 'none' && preload !== 'metadata' && shouldLoad;
253
252
  var preloadHasChanged = firstPreloadRef.current !== preload;
254
253
  var shouldLoadHasChanged = firstShouldLoadRef.current !== shouldLoad;
255
254
 
package/lib/index.js CHANGED
@@ -260,8 +260,7 @@ var Video = function Video(_ref) {
260
260
  React.useEffect(function () {
261
261
  var _ref$current2 = _ref9.current,
262
262
  element = _ref$current2 === void 0 ? null : _ref$current2;
263
- var canLoad = preload !== 'none' && preload !== 'metadata' && shouldLoad; // @todo
264
-
263
+ var canLoad = preload !== 'none' && preload !== 'metadata' && shouldLoad;
265
264
  var preloadHasChanged = firstPreloadRef.current !== preload;
266
265
  var shouldLoadHasChanged = firstShouldLoadRef.current !== shouldLoad;
267
266
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-video",
3
- "version": "0.3.180",
3
+ "version": "0.3.184",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -52,9 +52,9 @@
52
52
  "@fortawesome/fontawesome-svg-core": "^1.2.32",
53
53
  "@fortawesome/free-solid-svg-icons": "^5.15.1",
54
54
  "@fortawesome/react-fontawesome": "^0.1.13",
55
- "@micromag/core": "^0.3.180",
56
- "@micromag/element-closed-captions": "^0.3.180",
57
- "@micromag/element-media-controls": "^0.3.180",
55
+ "@micromag/core": "^0.3.184",
56
+ "@micromag/element-closed-captions": "^0.3.184",
57
+ "@micromag/element-media-controls": "^0.3.184",
58
58
  "classnames": "^2.2.6",
59
59
  "lodash": "^4.17.21",
60
60
  "prop-types": "^15.7.2",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "5f49e01759f3350db673329db30ca542b9d2fa6e"
67
+ "gitHead": "c3a7e9c33338debc3ee2e2f37635ca66ad7c4c30"
68
68
  }