@micromag/element-video 0.3.196 → 0.3.198
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 -2
- package/lib/index.js +1 -2
- package/package.json +2 -2
package/es/index.js
CHANGED
|
@@ -275,7 +275,6 @@ var Video = function Video(_ref) {
|
|
|
275
275
|
if (paused && !isPaused) {
|
|
276
276
|
element.pause();
|
|
277
277
|
} else if (!paused && isPaused) {
|
|
278
|
-
// element.muted = muted;
|
|
279
278
|
element.play();
|
|
280
279
|
}
|
|
281
280
|
}, [paused]);
|
|
@@ -306,7 +305,7 @@ var Video = function Video(_ref) {
|
|
|
306
305
|
mediaRef.current = newRef;
|
|
307
306
|
}
|
|
308
307
|
},
|
|
309
|
-
src: sourceFiles === null || sourceFiles.length === 0 ? mediaUrl : null,
|
|
308
|
+
src: sourceFiles === null || sourceFiles.length === 0 ? "".concat(mediaUrl, "#t=0.1") : null,
|
|
310
309
|
autoPlay: autoPlay && !paused,
|
|
311
310
|
loop: loop,
|
|
312
311
|
muted: muted,
|
package/lib/index.js
CHANGED
|
@@ -287,7 +287,6 @@ var Video = function Video(_ref) {
|
|
|
287
287
|
if (paused && !isPaused) {
|
|
288
288
|
element.pause();
|
|
289
289
|
} else if (!paused && isPaused) {
|
|
290
|
-
// element.muted = muted;
|
|
291
290
|
element.play();
|
|
292
291
|
}
|
|
293
292
|
}, [paused]);
|
|
@@ -318,7 +317,7 @@ var Video = function Video(_ref) {
|
|
|
318
317
|
mediaRef.current = newRef;
|
|
319
318
|
}
|
|
320
319
|
},
|
|
321
|
-
src: sourceFiles === null || sourceFiles.length === 0 ? mediaUrl : null,
|
|
320
|
+
src: sourceFiles === null || sourceFiles.length === 0 ? "".concat(mediaUrl, "#t=0.1") : null,
|
|
322
321
|
autoPlay: autoPlay && !paused,
|
|
323
322
|
loop: loop,
|
|
324
323
|
muted: muted,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@micromag/element-video",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.198",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript"
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"publishConfig": {
|
|
65
65
|
"access": "public"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "1aba9d8d7585194940b790d71203dff154831f74"
|
|
68
68
|
}
|