@remotion/media 4.0.440 → 4.0.441
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
CHANGED
|
@@ -2136,6 +2136,7 @@ var AudioForPreviewAssertedShowing = ({
|
|
|
2136
2136
|
const initialGlobalPlaybackRate = useRef(globalPlaybackRate);
|
|
2137
2137
|
const initialPlaybackRate = useRef(playbackRate);
|
|
2138
2138
|
const initialMuted = useRef(effectiveMuted);
|
|
2139
|
+
const initialDurationInFrames = useRef(videoConfig.durationInFrames);
|
|
2139
2140
|
const initialSequenceOffset = useRef(sequenceOffset);
|
|
2140
2141
|
useCommonEffects({
|
|
2141
2142
|
mediaPlayerRef,
|
|
@@ -2186,7 +2187,7 @@ var AudioForPreviewAssertedShowing = ({
|
|
|
2186
2187
|
isPostmounting: initialIsPostmounting.current,
|
|
2187
2188
|
isPremounting: initialIsPremounting.current,
|
|
2188
2189
|
globalPlaybackRate: initialGlobalPlaybackRate.current,
|
|
2189
|
-
durationInFrames:
|
|
2190
|
+
durationInFrames: initialDurationInFrames.current,
|
|
2190
2191
|
onVideoFrameCallback: null,
|
|
2191
2192
|
playing: initialPlaying.current,
|
|
2192
2193
|
sequenceOffset: initialSequenceOffset.current,
|
|
@@ -2282,7 +2283,6 @@ var AudioForPreviewAssertedShowing = ({
|
|
|
2282
2283
|
debugAudioScheduling,
|
|
2283
2284
|
buffer,
|
|
2284
2285
|
onError,
|
|
2285
|
-
videoConfig.durationInFrames,
|
|
2286
2286
|
credentials
|
|
2287
2287
|
]);
|
|
2288
2288
|
if (shouldFallbackToNativeAudio && !disallowFallbackToHtml5Audio) {
|
|
@@ -4622,6 +4622,7 @@ var VideoForPreviewAssertedShowing = ({
|
|
|
4622
4622
|
const initialGlobalPlaybackRate = useRef2(globalPlaybackRate);
|
|
4623
4623
|
const initialPlaybackRate = useRef2(playbackRate);
|
|
4624
4624
|
const initialMuted = useRef2(effectiveMuted);
|
|
4625
|
+
const initialDurationInFrames = useRef2(videoConfig.durationInFrames);
|
|
4625
4626
|
const initialSequenceOffset = useRef2(sequenceOffset);
|
|
4626
4627
|
useEffect3(() => {
|
|
4627
4628
|
if (!sharedAudioContext)
|
|
@@ -4647,7 +4648,7 @@ var VideoForPreviewAssertedShowing = ({
|
|
|
4647
4648
|
isPremounting: initialIsPremounting.current,
|
|
4648
4649
|
isPostmounting: initialIsPostmounting.current,
|
|
4649
4650
|
globalPlaybackRate: initialGlobalPlaybackRate.current,
|
|
4650
|
-
durationInFrames:
|
|
4651
|
+
durationInFrames: initialDurationInFrames.current,
|
|
4651
4652
|
onVideoFrameCallback: initialOnVideoFrameRef.current ?? null,
|
|
4652
4653
|
playing: initialPlaying.current,
|
|
4653
4654
|
sequenceOffset: initialSequenceOffset.current,
|
|
@@ -4741,7 +4742,6 @@ var VideoForPreviewAssertedShowing = ({
|
|
|
4741
4742
|
sharedAudioContext,
|
|
4742
4743
|
videoConfig.fps,
|
|
4743
4744
|
onError,
|
|
4744
|
-
videoConfig.durationInFrames,
|
|
4745
4745
|
credentials
|
|
4746
4746
|
]);
|
|
4747
4747
|
const classNameValue = useMemo4(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/media",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.441",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"module": "dist/esm/index.mjs",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"mediabunny": "1.39.2",
|
|
26
|
-
"remotion": "4.0.
|
|
26
|
+
"remotion": "4.0.441",
|
|
27
27
|
"zod": "4.3.6"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"react-dom": ">=16.8.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
34
|
+
"@remotion/eslint-config-internal": "4.0.441",
|
|
35
35
|
"@vitest/browser-webdriverio": "4.0.9",
|
|
36
36
|
"eslint": "9.19.0",
|
|
37
37
|
"react": "19.2.3",
|