@micromag/element-video 0.3.67 → 0.3.71
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 +5 -3
- package/lib/index.js +5 -3
- package/package.json +5 -5
package/es/index.js
CHANGED
|
@@ -98,7 +98,9 @@ var Video = function Video(_ref) {
|
|
|
98
98
|
_ref2$files = _ref2.files,
|
|
99
99
|
files = _ref2$files === void 0 ? null : _ref2$files,
|
|
100
100
|
_ref2$metadata = _ref2.metadata,
|
|
101
|
-
metadata = _ref2$metadata === void 0 ? null : _ref2$metadata
|
|
101
|
+
metadata = _ref2$metadata === void 0 ? null : _ref2$metadata,
|
|
102
|
+
_ref2$thumbnail_url = _ref2.thumbnail_url,
|
|
103
|
+
thumbnailUrl = _ref2$thumbnail_url === void 0 ? null : _ref2$thumbnail_url;
|
|
102
104
|
|
|
103
105
|
var _ref3 = metadata || {},
|
|
104
106
|
_ref3$description = _ref3.description,
|
|
@@ -243,8 +245,8 @@ var Video = function Video(_ref) {
|
|
|
243
245
|
src: sourceFiles === null ? mediaUrl : null,
|
|
244
246
|
autoPlay: autoPlay,
|
|
245
247
|
loop: loop,
|
|
246
|
-
muted: muted
|
|
247
|
-
,
|
|
248
|
+
muted: muted,
|
|
249
|
+
poster: thumbnailUrl,
|
|
248
250
|
preload: preload,
|
|
249
251
|
playsInline: playsInline,
|
|
250
252
|
crossOrigin: withoutCors ? 'anonymous' : null,
|
package/lib/index.js
CHANGED
|
@@ -109,7 +109,9 @@ var Video = function Video(_ref) {
|
|
|
109
109
|
_ref2$files = _ref2.files,
|
|
110
110
|
files = _ref2$files === void 0 ? null : _ref2$files,
|
|
111
111
|
_ref2$metadata = _ref2.metadata,
|
|
112
|
-
metadata = _ref2$metadata === void 0 ? null : _ref2$metadata
|
|
112
|
+
metadata = _ref2$metadata === void 0 ? null : _ref2$metadata,
|
|
113
|
+
_ref2$thumbnail_url = _ref2.thumbnail_url,
|
|
114
|
+
thumbnailUrl = _ref2$thumbnail_url === void 0 ? null : _ref2$thumbnail_url;
|
|
113
115
|
|
|
114
116
|
var _ref3 = metadata || {},
|
|
115
117
|
_ref3$description = _ref3.description,
|
|
@@ -254,8 +256,8 @@ var Video = function Video(_ref) {
|
|
|
254
256
|
src: sourceFiles === null ? mediaUrl : null,
|
|
255
257
|
autoPlay: autoPlay,
|
|
256
258
|
loop: loop,
|
|
257
|
-
muted: muted
|
|
258
|
-
,
|
|
259
|
+
muted: muted,
|
|
260
|
+
poster: thumbnailUrl,
|
|
259
261
|
preload: preload,
|
|
260
262
|
playsInline: playsInline,
|
|
261
263
|
crossOrigin: withoutCors ? 'anonymous' : null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-video",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.71",
|
|
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.71",
|
|
56
|
+
"@micromag/element-closed-captions": "^0.3.71",
|
|
57
|
+
"@micromag/element-media-controls": "^0.3.71",
|
|
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": "50093d0adc731dfb58656015179c4ac0b1c6765f"
|
|
67
67
|
}
|