@remotion/gif 4.0.526 → 4.0.528
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/Gif.js +1 -12
- package/dist/esm/index.mjs +1 -11
- package/package.json +3 -3
package/dist/cjs/Gif.js
CHANGED
|
@@ -17,16 +17,6 @@ const { useMemoizedEffectDefinitions, useMemoizedEffects } = remotion_1.Internal
|
|
|
17
17
|
exports.gifSchema = {
|
|
18
18
|
...remotion_1.Internals.baseSchema,
|
|
19
19
|
...remotion_1.Internals.premountSchema,
|
|
20
|
-
playbackRate: {
|
|
21
|
-
type: 'number',
|
|
22
|
-
min: 0,
|
|
23
|
-
max: 10,
|
|
24
|
-
step: 0.1,
|
|
25
|
-
default: 1,
|
|
26
|
-
description: 'Playback rate',
|
|
27
|
-
hiddenFromList: false,
|
|
28
|
-
keyframable: false,
|
|
29
|
-
},
|
|
30
20
|
...remotion_1.Internals.transformSchema,
|
|
31
21
|
...remotion_1.Interactive.backgroundSchema,
|
|
32
22
|
...remotion_1.Interactive.borderSchema,
|
|
@@ -67,7 +57,6 @@ const GifInner = ({ src, width, height, onLoad, onError, fit, playbackRate, loop
|
|
|
67
57
|
onLoad,
|
|
68
58
|
onError,
|
|
69
59
|
fit,
|
|
70
|
-
playbackRate,
|
|
71
60
|
loopBehavior,
|
|
72
61
|
id,
|
|
73
62
|
delayRenderTimeoutInMilliseconds,
|
|
@@ -76,7 +65,7 @@ const GifInner = ({ src, width, height, onLoad, onError, fit, playbackRate, loop
|
|
|
76
65
|
effects: memoizedEffects,
|
|
77
66
|
};
|
|
78
67
|
const inner = env.isRendering ? (jsx_runtime_1.jsx(GifForRendering_1.GifForRendering, { ...gifProps, ref: ref })) : (jsx_runtime_1.jsx(GifForDevelopment_1.GifForDevelopment, { ...gifProps, ref: ref, refForOutline: refForOutline }));
|
|
79
|
-
return (jsx_runtime_1.jsx(remotion_1.Freeze, { frame: freezeFrame, active: isPremountingOrPostmounting, children: jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", from: from !== null && from !== void 0 ? from : 0, durationInFrames: durationInFrames !== null && durationInFrames !== void 0 ? durationInFrames : Infinity, name: "<Gif>", _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/gif/gif", controls: controls, _remotionInternalEffects: memoizedEffectDefinitions, _remotionInternalPremountDisplay: effectivePremountFor || null, _remotionInternalPostmountDisplay: effectivePostmountFor || null, _remotionInternalIsPremounting: premountingActive, _remotionInternalIsPostmounting: postmountingActive, ...sequenceProps, outlineRef: refForOutline, children: inner }) }));
|
|
68
|
+
return (jsx_runtime_1.jsx(remotion_1.Freeze, { frame: freezeFrame, active: isPremountingOrPostmounting, children: jsx_runtime_1.jsx(remotion_1.Sequence, { layout: "none", from: from !== null && from !== void 0 ? from : 0, playbackRate: playbackRate, durationInFrames: durationInFrames !== null && durationInFrames !== void 0 ? durationInFrames : Infinity, name: "<Gif>", _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/gif/gif", controls: controls, _remotionInternalEffects: memoizedEffectDefinitions, _remotionInternalPremountDisplay: effectivePremountFor || null, _remotionInternalPostmountDisplay: effectivePostmountFor || null, _remotionInternalIsPremounting: premountingActive, _remotionInternalIsPostmounting: postmountingActive, ...sequenceProps, outlineRef: refForOutline, children: inner }) }));
|
|
80
69
|
};
|
|
81
70
|
exports.Gif = remotion_1.Interactive.withSchema({
|
|
82
71
|
Component: GifInner,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1444,16 +1444,6 @@ var { useMemoizedEffectDefinitions, useMemoizedEffects } = Internals3;
|
|
|
1444
1444
|
var gifSchema = {
|
|
1445
1445
|
...Internals3.baseSchema,
|
|
1446
1446
|
...Internals3.premountSchema,
|
|
1447
|
-
playbackRate: {
|
|
1448
|
-
type: "number",
|
|
1449
|
-
min: 0,
|
|
1450
|
-
max: 10,
|
|
1451
|
-
step: 0.1,
|
|
1452
|
-
default: 1,
|
|
1453
|
-
description: "Playback rate",
|
|
1454
|
-
hiddenFromList: false,
|
|
1455
|
-
keyframable: false
|
|
1456
|
-
},
|
|
1457
1447
|
...Internals3.transformSchema,
|
|
1458
1448
|
...Interactive.backgroundSchema,
|
|
1459
1449
|
...Interactive.borderSchema,
|
|
@@ -1528,7 +1518,6 @@ var GifInner = ({
|
|
|
1528
1518
|
onLoad,
|
|
1529
1519
|
onError,
|
|
1530
1520
|
fit,
|
|
1531
|
-
playbackRate,
|
|
1532
1521
|
loopBehavior,
|
|
1533
1522
|
id,
|
|
1534
1523
|
delayRenderTimeoutInMilliseconds,
|
|
@@ -1550,6 +1539,7 @@ var GifInner = ({
|
|
|
1550
1539
|
children: /* @__PURE__ */ jsx4(Sequence, {
|
|
1551
1540
|
layout: "none",
|
|
1552
1541
|
from: from ?? 0,
|
|
1542
|
+
playbackRate,
|
|
1553
1543
|
durationInFrames: durationInFrames ?? Infinity,
|
|
1554
1544
|
name: "<Gif>",
|
|
1555
1545
|
_remotionInternalDocumentationLink: "https://www.remotion.dev/docs/gif/gif",
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/gif"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/gif",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.528",
|
|
7
7
|
"description": "Embed GIFs in a Remotion video",
|
|
8
8
|
"bugs": {
|
|
9
9
|
"url": "https://github.com/remotion-dev/remotion/issues"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"remotion": "4.0.
|
|
33
|
+
"remotion": "4.0.528"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@testing-library/react": "16.1.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react": "19.2.3",
|
|
39
39
|
"react-dom": "19.2.3",
|
|
40
40
|
"webpack": "5.105.0",
|
|
41
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
41
|
+
"@remotion/eslint-config-internal": "4.0.528",
|
|
42
42
|
"eslint": "9.19.0",
|
|
43
43
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
44
44
|
},
|