@micromag/element-video 0.3.33 → 0.3.36
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 +1 -1
- package/lib/index.js +1 -1
- package/package.json +5 -5
package/es/index.js
CHANGED
|
@@ -139,7 +139,7 @@ var Video = function Video(_ref) {
|
|
|
139
139
|
var finalInitialMuted = initialMuted === true || initialMuted === 'auto' && autoPlay && !userInteracted;
|
|
140
140
|
|
|
141
141
|
var _useMediaApi = useMediaApi({
|
|
142
|
-
url: mediaUrl,
|
|
142
|
+
url: !isImageWithoutSourceFile ? mediaUrl : null,
|
|
143
143
|
initialMuted: finalInitialMuted,
|
|
144
144
|
onPlay: onPlay,
|
|
145
145
|
onPause: onPause,
|
package/lib/index.js
CHANGED
|
@@ -149,7 +149,7 @@ var Video = function Video(_ref) {
|
|
|
149
149
|
var finalInitialMuted = initialMuted === true || initialMuted === 'auto' && autoPlay && !userInteracted;
|
|
150
150
|
|
|
151
151
|
var _useMediaApi = hooks.useMediaApi({
|
|
152
|
-
url: mediaUrl,
|
|
152
|
+
url: !isImageWithoutSourceFile ? mediaUrl : null,
|
|
153
153
|
initialMuted: finalInitialMuted,
|
|
154
154
|
onPlay: onPlay,
|
|
155
155
|
onPause: onPause,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-video",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.36",
|
|
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.
|
|
56
|
-
"@micromag/element-closed-captions": "^0.3.
|
|
57
|
-
"@micromag/element-media-controls": "^0.3.
|
|
55
|
+
"@micromag/core": "^0.3.36",
|
|
56
|
+
"@micromag/element-closed-captions": "^0.3.36",
|
|
57
|
+
"@micromag/element-media-controls": "^0.3.36",
|
|
58
58
|
"classnames": "^2.2.6",
|
|
59
59
|
"prop-types": "^15.7.2",
|
|
60
60
|
"react-intl": "^5.12.1",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "3a430d587a82acb0bf94fe7f842c7f96707a98f4"
|
|
67
67
|
}
|