@micromag/element-video 0.3.212 → 0.3.217

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
@@ -6,7 +6,7 @@ import isFunction from 'lodash/isFunction';
6
6
  import PropTypes$1 from 'prop-types';
7
7
  import React, { useMemo, useRef, useEffect, useCallback, useState } from 'react';
8
8
  import { PropTypes } from '@micromag/core';
9
- import { useMediaThumbnail, useMediaCurrentTime, useMediaDuration, useMediaReady, useMediaLoad, useProgressSteps } from '@micromag/core/hooks';
9
+ import { useMediaThumbnail, useMediaCurrentTime, useMediaDuration, useMediaReady, useProgressSteps } from '@micromag/core/hooks';
10
10
  import { getMediaFilesAsArray } from '@micromag/core/utils';
11
11
 
12
12
  var styles = {"container":"micromag-element-video-container","withSize":"micromag-element-video-withSize","video":"micromag-element-video-video"};
@@ -140,11 +140,11 @@ var Video = function Video(_ref) {
140
140
  });
141
141
  var ready = useMediaReady(_ref9.current, {
142
142
  id: mediaUrl
143
- });
144
- useMediaLoad(_ref9.current, {
145
- preload: preload,
146
- shouldLoad: shouldLoad
147
- }); // Get source files with supported mimes
143
+ }); // useMediaLoad(ref.current, {
144
+ // preload,
145
+ // shouldLoad,
146
+ // });
147
+ // Get source files with supported mimes
148
148
 
149
149
  var sourceFiles = useMemo(function () {
150
150
  if (filesArray.length === 0) {
package/lib/index.js CHANGED
@@ -152,11 +152,11 @@ var Video = function Video(_ref) {
152
152
  });
153
153
  var ready = hooks.useMediaReady(_ref9.current, {
154
154
  id: mediaUrl
155
- });
156
- hooks.useMediaLoad(_ref9.current, {
157
- preload: preload,
158
- shouldLoad: shouldLoad
159
- }); // Get source files with supported mimes
155
+ }); // useMediaLoad(ref.current, {
156
+ // preload,
157
+ // shouldLoad,
158
+ // });
159
+ // Get source files with supported mimes
160
160
 
161
161
  var sourceFiles = React.useMemo(function () {
162
162
  if (filesArray.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@micromag/element-video",
3
- "version": "0.3.212",
3
+ "version": "0.3.217",
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.212",
56
- "@micromag/element-closed-captions": "^0.3.212",
57
- "@micromag/element-media-controls": "^0.3.212",
55
+ "@micromag/core": "^0.3.217",
56
+ "@micromag/element-closed-captions": "^0.3.217",
57
+ "@micromag/element-media-controls": "^0.3.217",
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": "3fb94576fbb93024e0935e6b97c2cd1b26c9779e"
67
+ "gitHead": "2750ca00051185b241ed98606700aab9d596326c"
68
68
  }