remotion 4.0.163 → 4.0.164
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.
|
@@ -58,7 +58,10 @@ const useMediaBuffering = ({ element, shouldBuffer, isPremounting, }) => {
|
|
|
58
58
|
// reset if a video is already playing.
|
|
59
59
|
// Therefore only calling it after checking if the video
|
|
60
60
|
// has no future data.
|
|
61
|
-
|
|
61
|
+
// Breaks on Firefox though: https://github.com/remotion-dev/remotion/issues/3915
|
|
62
|
+
if (!navigator.userAgent.includes('Firefox/')) {
|
|
63
|
+
current.load();
|
|
64
|
+
}
|
|
62
65
|
}
|
|
63
66
|
else {
|
|
64
67
|
current.addEventListener('waiting', onWaiting);
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -138,7 +138,7 @@ function truthy(value) {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
// src/version.ts
|
|
141
|
-
var VERSION = "4.0.
|
|
141
|
+
var VERSION = "4.0.164";
|
|
142
142
|
|
|
143
143
|
// src/multiple-versions-warning.ts
|
|
144
144
|
var checkMultipleRemotionVersions = () => {
|
|
@@ -2042,7 +2042,9 @@ var useMediaBuffering = ({
|
|
|
2042
2042
|
const init = () => {
|
|
2043
2043
|
if (current.readyState < current.HAVE_FUTURE_DATA) {
|
|
2044
2044
|
onWaiting();
|
|
2045
|
-
|
|
2045
|
+
if (!navigator.userAgent.includes("Firefox/")) {
|
|
2046
|
+
current.load();
|
|
2047
|
+
}
|
|
2046
2048
|
} else {
|
|
2047
2049
|
current.addEventListener("waiting", onWaiting);
|
|
2048
2050
|
cleanupFns.push(() => {
|
package/dist/esm/version.mjs
CHANGED