remotion 4.0.67 → 4.0.69
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/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.0.
|
|
1
|
+
export declare const VERSION = "4.0.69";
|
package/dist/cjs/version.js
CHANGED
|
@@ -7,11 +7,13 @@ const toSeconds = (time, fps) => {
|
|
|
7
7
|
};
|
|
8
8
|
// https://github.com/remotion-dev/remotion/issues/1655
|
|
9
9
|
const isIOSSafariCase = (actualSrc) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
if (typeof window === 'undefined') {
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
const isIpadIPodIPhone = /iP(ad|od|hone)/i.test(window.navigator.userAgent);
|
|
14
|
+
const isSafari = Boolean(navigator.userAgent.match(/Version\/[\d.]+.*Safari/));
|
|
15
|
+
const isChrome = Boolean(navigator.userAgent.match(/CriOS\//));
|
|
16
|
+
return (isIpadIPodIPhone && (isSafari || isChrome) && actualSrc.startsWith('blob:'));
|
|
15
17
|
};
|
|
16
18
|
const appendVideoFragment = ({ actualSrc, actualFrom, duration, fps, }) => {
|
|
17
19
|
var _a;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -59,7 +59,7 @@ function truthy(value) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
// Automatically generated on publish
|
|
62
|
-
const VERSION = '4.0.
|
|
62
|
+
const VERSION = '4.0.69';
|
|
63
63
|
|
|
64
64
|
const checkMultipleRemotionVersions = () => {
|
|
65
65
|
if (typeof globalThis === 'undefined') {
|
|
@@ -1803,11 +1803,13 @@ const toSeconds = (time, fps) => {
|
|
|
1803
1803
|
};
|
|
1804
1804
|
// https://github.com/remotion-dev/remotion/issues/1655
|
|
1805
1805
|
const isIOSSafariCase = (actualSrc) => {
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1806
|
+
if (typeof window === 'undefined') {
|
|
1807
|
+
return false;
|
|
1808
|
+
}
|
|
1809
|
+
const isIpadIPodIPhone = /iP(ad|od|hone)/i.test(window.navigator.userAgent);
|
|
1810
|
+
const isSafari = Boolean(navigator.userAgent.match(/Version\/[\d.]+.*Safari/));
|
|
1811
|
+
const isChrome = Boolean(navigator.userAgent.match(/CriOS\//));
|
|
1812
|
+
return (isIpadIPodIPhone && (isSafari || isChrome) && actualSrc.startsWith('blob:'));
|
|
1811
1813
|
};
|
|
1812
1814
|
const appendVideoFragment = ({ actualSrc, actualFrom, duration, fps, }) => {
|
|
1813
1815
|
var _a;
|
package/dist/esm/version.mjs
CHANGED