@remotion/media 4.0.404 → 4.0.406
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/esm/index.mjs +4 -6
- package/dist/video/props.d.ts +3 -0
- package/package.json +3 -3
package/dist/esm/index.mjs
CHANGED
|
@@ -4623,14 +4623,12 @@ var VideoForRendering = ({
|
|
|
4623
4623
|
onError: fallbackOffthreadVideoProps?.onError,
|
|
4624
4624
|
toneFrequency,
|
|
4625
4625
|
showInTimeline: false,
|
|
4626
|
-
crossOrigin:
|
|
4627
|
-
onAutoPlayError:
|
|
4628
|
-
|
|
4629
|
-
},
|
|
4630
|
-
pauseWhenBuffering: false,
|
|
4626
|
+
crossOrigin: fallbackOffthreadVideoProps?.crossOrigin,
|
|
4627
|
+
onAutoPlayError: fallbackOffthreadVideoProps?.onAutoPlayError ?? null,
|
|
4628
|
+
pauseWhenBuffering: fallbackOffthreadVideoProps?.pauseWhenBuffering ?? false,
|
|
4631
4629
|
trimAfter: trimAfterValue,
|
|
4632
4630
|
trimBefore: trimBeforeValue,
|
|
4633
|
-
useWebAudioApi: false,
|
|
4631
|
+
useWebAudioApi: fallbackOffthreadVideoProps?.useWebAudioApi ?? false,
|
|
4634
4632
|
startFrom: undefined,
|
|
4635
4633
|
endAt: undefined,
|
|
4636
4634
|
stack,
|
package/dist/video/props.d.ts
CHANGED
|
@@ -9,6 +9,9 @@ export type FallbackOffthreadVideoProps = {
|
|
|
9
9
|
toneMapped?: boolean;
|
|
10
10
|
onError?: (err: Error) => void;
|
|
11
11
|
crossOrigin?: '' | 'anonymous' | 'use-credentials' | undefined;
|
|
12
|
+
useWebAudioApi?: boolean;
|
|
13
|
+
pauseWhenBuffering?: boolean;
|
|
14
|
+
onAutoPlayError?: null | (() => void);
|
|
12
15
|
};
|
|
13
16
|
type MandatoryVideoProps = {
|
|
14
17
|
src: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/media",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.406",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"mediabunny": "1.27.3",
|
|
26
|
-
"remotion": "4.0.
|
|
26
|
+
"remotion": "4.0.406"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"react": ">=16.8.0",
|
|
30
30
|
"react-dom": ">=16.8.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
33
|
+
"@remotion/eslint-config-internal": "4.0.406",
|
|
34
34
|
"@vitest/browser-webdriverio": "4.0.9",
|
|
35
35
|
"eslint": "9.19.0",
|
|
36
36
|
"react": "19.2.3",
|