remotion 4.0.435 → 4.0.437
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.
|
@@ -30,7 +30,7 @@ const useBasicMediaInTimeline = ({ volume, mediaVolume, mediaType, src, displayN
|
|
|
30
30
|
const videoConfig = (0, use_video_config_js_1.useVideoConfig)();
|
|
31
31
|
const [initialVolume] = (0, react_1.useState)(() => volume);
|
|
32
32
|
const mediaDuration = (0, calculate_media_duration_js_1.calculateMediaDuration)({
|
|
33
|
-
mediaDurationInFrames: videoConfig.durationInFrames,
|
|
33
|
+
mediaDurationInFrames: videoConfig.durationInFrames + (trimBefore !== null && trimBefore !== void 0 ? trimBefore : 0),
|
|
34
34
|
playbackRate,
|
|
35
35
|
trimBefore,
|
|
36
36
|
trimAfter,
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -61,7 +61,7 @@ function truthy(value) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
// src/version.ts
|
|
64
|
-
var VERSION = "4.0.
|
|
64
|
+
var VERSION = "4.0.437";
|
|
65
65
|
|
|
66
66
|
// src/multiple-versions-warning.ts
|
|
67
67
|
var checkMultipleRemotionVersions = () => {
|
|
@@ -3425,7 +3425,7 @@ var useBasicMediaInTimeline = ({
|
|
|
3425
3425
|
const videoConfig = useVideoConfig();
|
|
3426
3426
|
const [initialVolume] = useState10(() => volume);
|
|
3427
3427
|
const mediaDuration = calculateMediaDuration({
|
|
3428
|
-
mediaDurationInFrames: videoConfig.durationInFrames,
|
|
3428
|
+
mediaDurationInFrames: videoConfig.durationInFrames + (trimBefore ?? 0),
|
|
3429
3429
|
playbackRate,
|
|
3430
3430
|
trimBefore,
|
|
3431
3431
|
trimAfter
|
package/dist/esm/version.mjs
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/core"
|
|
4
4
|
},
|
|
5
5
|
"name": "remotion",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.437",
|
|
7
7
|
"description": "Make videos programmatically",
|
|
8
8
|
"main": "dist/cjs/index.js",
|
|
9
9
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react-dom": "19.2.3",
|
|
36
36
|
"webpack": "5.105.0",
|
|
37
37
|
"zod": "4.3.6",
|
|
38
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
38
|
+
"@remotion/eslint-config-internal": "4.0.437",
|
|
39
39
|
"eslint": "9.19.0",
|
|
40
40
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
41
41
|
},
|