@remotion/promo-pages 4.0.394 → 4.0.395
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/Homepage.js +32 -9
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/Homepage.js +32 -9
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/design.js +29 -6
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/homepage/Pricing.js +29 -6
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/template-modal-content.js +29 -6
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/templates.js +35 -12
- package/dist/design.js +29 -6
- package/dist/homepage/Pricing.js +29 -6
- package/dist/template-modal-content.js +29 -6
- package/dist/templates.js +35 -12
- package/package.json +12 -12
package/dist/Homepage.js
CHANGED
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
|
@@ -20323,7 +20346,7 @@ var GitHubStars = () => {
|
|
|
20323
20346
|
width: "45px"
|
|
20324
20347
|
}),
|
|
20325
20348
|
/* @__PURE__ */ jsx47(StatItemContent, {
|
|
20326
|
-
content: "
|
|
20349
|
+
content: "25k",
|
|
20327
20350
|
width: "80px",
|
|
20328
20351
|
fontSize: "2.5rem",
|
|
20329
20352
|
fontWeight: "bold"
|
|
@@ -28992,7 +29015,7 @@ var FEATURED_TEMPLATES = [
|
|
|
28992
29015
|
contributedBy: null
|
|
28993
29016
|
},
|
|
28994
29017
|
{
|
|
28995
|
-
homePageLabel: "Prompt to Motion
|
|
29018
|
+
homePageLabel: "Prompt to Motion Graphics",
|
|
28996
29019
|
shortName: "Prompt to Motion Graphics (Next.js)",
|
|
28997
29020
|
org: "remotion-dev",
|
|
28998
29021
|
repoName: "template-prompt-to-motion-graphics",
|
|
@@ -30063,7 +30086,7 @@ var GithubButton = () => {
|
|
|
30063
30086
|
" ",
|
|
30064
30087
|
/* @__PURE__ */ jsx151("div", {
|
|
30065
30088
|
className: "text-xs inline-block ml-2 leading-none mt-[3px] self-center",
|
|
30066
|
-
children: "
|
|
30089
|
+
children: "25k"
|
|
30067
30090
|
})
|
|
30068
30091
|
]
|
|
30069
30092
|
});
|
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
|
@@ -20323,7 +20346,7 @@ var GitHubStars = () => {
|
|
|
20323
20346
|
width: "45px"
|
|
20324
20347
|
}),
|
|
20325
20348
|
/* @__PURE__ */ jsx47(StatItemContent, {
|
|
20326
|
-
content: "
|
|
20349
|
+
content: "25k",
|
|
20327
20350
|
width: "80px",
|
|
20328
20351
|
fontSize: "2.5rem",
|
|
20329
20352
|
fontWeight: "bold"
|
|
@@ -28992,7 +29015,7 @@ var FEATURED_TEMPLATES = [
|
|
|
28992
29015
|
contributedBy: null
|
|
28993
29016
|
},
|
|
28994
29017
|
{
|
|
28995
|
-
homePageLabel: "Prompt to Motion
|
|
29018
|
+
homePageLabel: "Prompt to Motion Graphics",
|
|
28996
29019
|
shortName: "Prompt to Motion Graphics (Next.js)",
|
|
28997
29020
|
org: "remotion-dev",
|
|
28998
29021
|
repoName: "template-prompt-to-motion-graphics",
|
|
@@ -30063,7 +30086,7 @@ var GithubButton = () => {
|
|
|
30063
30086
|
" ",
|
|
30064
30087
|
/* @__PURE__ */ jsx151("div", {
|
|
30065
30088
|
className: "text-xs inline-block ml-2 leading-none mt-[3px] self-center",
|
|
30066
|
-
children: "
|
|
30089
|
+
children: "25k"
|
|
30067
30090
|
})
|
|
30068
30091
|
]
|
|
30069
30092
|
});
|
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/template-modal-content.js
CHANGED
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
|
@@ -18328,7 +18351,7 @@ var FEATURED_TEMPLATES = [
|
|
|
18328
18351
|
contributedBy: null
|
|
18329
18352
|
},
|
|
18330
18353
|
{
|
|
18331
|
-
homePageLabel: "Prompt to Motion
|
|
18354
|
+
homePageLabel: "Prompt to Motion Graphics",
|
|
18332
18355
|
shortName: "Prompt to Motion Graphics (Next.js)",
|
|
18333
18356
|
org: "remotion-dev",
|
|
18334
18357
|
repoName: "template-prompt-to-motion-graphics",
|
|
@@ -19408,7 +19431,7 @@ var Templates = () => {
|
|
|
19408
19431
|
className: "no-underline",
|
|
19409
19432
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19410
19433
|
depth: 0.5,
|
|
19411
|
-
className: "items-start justify-start text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19434
|
+
className: "items-start justify-start text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19412
19435
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19413
19436
|
label: template.homePageLabel,
|
|
19414
19437
|
description: template.description,
|
|
@@ -19434,7 +19457,7 @@ var Templates = () => {
|
|
|
19434
19457
|
href: `https://www.remotion.pro/editor-starter`,
|
|
19435
19458
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19436
19459
|
depth: 0.5,
|
|
19437
|
-
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19460
|
+
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19438
19461
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19439
19462
|
label: "Editor Starter",
|
|
19440
19463
|
description: "A boilerplate for starting your own video editor",
|
|
@@ -19452,7 +19475,7 @@ var Templates = () => {
|
|
|
19452
19475
|
href: `https://www.remotion.pro/mapbox-globe`,
|
|
19453
19476
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19454
19477
|
depth: 0.5,
|
|
19455
|
-
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19478
|
+
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19456
19479
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19457
19480
|
label: "Mapbox Globe",
|
|
19458
19481
|
description: "A rotateable and zoomeable 3D Globe",
|
|
@@ -19472,7 +19495,7 @@ var Templates = () => {
|
|
|
19472
19495
|
href: `https://www.remotion.pro/watercolor-map`,
|
|
19473
19496
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19474
19497
|
depth: 0.5,
|
|
19475
|
-
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19498
|
+
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19476
19499
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19477
19500
|
label: "Watercolor Map",
|
|
19478
19501
|
description: "A beautiful 2D map for travel videos",
|
|
@@ -19490,7 +19513,7 @@ var Templates = () => {
|
|
|
19490
19513
|
href: `https://www.remotion.pro/timeline`,
|
|
19491
19514
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19492
19515
|
depth: 0.5,
|
|
19493
|
-
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19516
|
+
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19494
19517
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19495
19518
|
label: "<Timeline />",
|
|
19496
19519
|
description: "A copy pasteable component for timeline-based editing",
|
package/dist/design.js
CHANGED
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
package/dist/homepage/Pricing.js
CHANGED
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
package/dist/templates.js
CHANGED
|
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
|
|
|
755
755
|
});
|
|
756
756
|
}, useIsPlayer = () => {
|
|
757
757
|
return useContext(IsPlayerContext);
|
|
758
|
-
}, VERSION = "4.0.
|
|
758
|
+
}, VERSION = "4.0.395", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -2929,11 +2929,15 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
2929
2929
|
});
|
|
2930
2930
|
}, getCrossOriginValue = ({
|
|
2931
2931
|
crossOrigin,
|
|
2932
|
-
requestsVideoFrame
|
|
2932
|
+
requestsVideoFrame,
|
|
2933
|
+
isClientSideRendering
|
|
2933
2934
|
}) => {
|
|
2934
2935
|
if (crossOrigin !== undefined && crossOrigin !== null) {
|
|
2935
2936
|
return crossOrigin;
|
|
2936
2937
|
}
|
|
2938
|
+
if (isClientSideRendering) {
|
|
2939
|
+
return "anonymous";
|
|
2940
|
+
}
|
|
2937
2941
|
if (requestsVideoFrame) {
|
|
2938
2942
|
return "anonymous";
|
|
2939
2943
|
}
|
|
@@ -3638,8 +3642,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3638
3642
|
const [blocks, setBlocks] = useState13([]);
|
|
3639
3643
|
const [onBufferingCallbacks, setOnBufferingCallbacks] = useState13([]);
|
|
3640
3644
|
const [onResumeCallbacks, setOnResumeCallbacks] = useState13([]);
|
|
3645
|
+
const env = useRemotionEnvironment();
|
|
3646
|
+
const rendering = env.isRendering;
|
|
3641
3647
|
const buffering = useRef9(false);
|
|
3642
3648
|
const addBlock = useCallback8((block) => {
|
|
3649
|
+
if (rendering) {
|
|
3650
|
+
return {
|
|
3651
|
+
unblock: () => {
|
|
3652
|
+
return;
|
|
3653
|
+
}
|
|
3654
|
+
};
|
|
3655
|
+
}
|
|
3643
3656
|
setBlocks((b) => [...b, block]);
|
|
3644
3657
|
return {
|
|
3645
3658
|
unblock: () => {
|
|
@@ -3652,7 +3665,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3652
3665
|
});
|
|
3653
3666
|
}
|
|
3654
3667
|
};
|
|
3655
|
-
}, []);
|
|
3668
|
+
}, [rendering]);
|
|
3656
3669
|
const listenForBuffering = useCallback8((callback) => {
|
|
3657
3670
|
setOnBufferingCallbacks((c) => [...c, callback]);
|
|
3658
3671
|
return {
|
|
@@ -3670,6 +3683,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3670
3683
|
};
|
|
3671
3684
|
}, []);
|
|
3672
3685
|
useEffect7(() => {
|
|
3686
|
+
if (rendering) {
|
|
3687
|
+
return;
|
|
3688
|
+
}
|
|
3673
3689
|
if (blocks.length > 0) {
|
|
3674
3690
|
onBufferingCallbacks.forEach((c) => c());
|
|
3675
3691
|
playbackLogging({
|
|
@@ -3682,6 +3698,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
3682
3698
|
}, [blocks]);
|
|
3683
3699
|
if (typeof window !== "undefined") {
|
|
3684
3700
|
useLayoutEffect6(() => {
|
|
3701
|
+
if (rendering) {
|
|
3702
|
+
return;
|
|
3703
|
+
}
|
|
3685
3704
|
if (blocks.length === 0) {
|
|
3686
3705
|
onResumeCallbacks.forEach((c) => c());
|
|
3687
3706
|
playbackLogging({
|
|
@@ -4465,7 +4484,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4465
4484
|
warnAboutTooHighVolume(userPreferredVolume);
|
|
4466
4485
|
const crossOriginValue = getCrossOriginValue({
|
|
4467
4486
|
crossOrigin,
|
|
4468
|
-
requestsVideoFrame: false
|
|
4487
|
+
requestsVideoFrame: false,
|
|
4488
|
+
isClientSideRendering: false
|
|
4469
4489
|
});
|
|
4470
4490
|
const propsToPass = useMemo21(() => {
|
|
4471
4491
|
return {
|
|
@@ -5202,9 +5222,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5202
5222
|
delayRender2
|
|
5203
5223
|
]);
|
|
5204
5224
|
}
|
|
5225
|
+
const { isClientSideRendering } = useRemotionEnvironment();
|
|
5205
5226
|
const crossOriginValue = getCrossOriginValue({
|
|
5206
5227
|
crossOrigin,
|
|
5207
|
-
requestsVideoFrame: false
|
|
5228
|
+
requestsVideoFrame: false,
|
|
5229
|
+
isClientSideRendering
|
|
5208
5230
|
});
|
|
5209
5231
|
return /* @__PURE__ */ jsx25("img", {
|
|
5210
5232
|
...props2,
|
|
@@ -5929,7 +5951,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5929
5951
|
}, [isSequenceHidden, style]);
|
|
5930
5952
|
const crossOriginValue = getCrossOriginValue({
|
|
5931
5953
|
crossOrigin,
|
|
5932
|
-
requestsVideoFrame: Boolean(onVideoFrame)
|
|
5954
|
+
requestsVideoFrame: Boolean(onVideoFrame),
|
|
5955
|
+
isClientSideRendering: false
|
|
5933
5956
|
});
|
|
5934
5957
|
return /* @__PURE__ */ jsx30("video", {
|
|
5935
5958
|
ref: videoRef,
|
|
@@ -18328,7 +18351,7 @@ var FEATURED_TEMPLATES = [
|
|
|
18328
18351
|
contributedBy: null
|
|
18329
18352
|
},
|
|
18330
18353
|
{
|
|
18331
|
-
homePageLabel: "Prompt to Motion
|
|
18354
|
+
homePageLabel: "Prompt to Motion Graphics",
|
|
18332
18355
|
shortName: "Prompt to Motion Graphics (Next.js)",
|
|
18333
18356
|
org: "remotion-dev",
|
|
18334
18357
|
repoName: "template-prompt-to-motion-graphics",
|
|
@@ -19408,7 +19431,7 @@ var Templates = () => {
|
|
|
19408
19431
|
className: "no-underline",
|
|
19409
19432
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19410
19433
|
depth: 0.5,
|
|
19411
|
-
className: "items-start justify-start text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19434
|
+
className: "items-start justify-start text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19412
19435
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19413
19436
|
label: template.homePageLabel,
|
|
19414
19437
|
description: template.description,
|
|
@@ -19434,7 +19457,7 @@ var Templates = () => {
|
|
|
19434
19457
|
href: `https://www.remotion.pro/editor-starter`,
|
|
19435
19458
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19436
19459
|
depth: 0.5,
|
|
19437
|
-
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19460
|
+
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19438
19461
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19439
19462
|
label: "Editor Starter",
|
|
19440
19463
|
description: "A boilerplate for starting your own video editor",
|
|
@@ -19452,7 +19475,7 @@ var Templates = () => {
|
|
|
19452
19475
|
href: `https://www.remotion.pro/mapbox-globe`,
|
|
19453
19476
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19454
19477
|
depth: 0.5,
|
|
19455
|
-
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19478
|
+
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19456
19479
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19457
19480
|
label: "Mapbox Globe",
|
|
19458
19481
|
description: "A rotateable and zoomeable 3D Globe",
|
|
@@ -19472,7 +19495,7 @@ var Templates = () => {
|
|
|
19472
19495
|
href: `https://www.remotion.pro/watercolor-map`,
|
|
19473
19496
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19474
19497
|
depth: 0.5,
|
|
19475
|
-
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19498
|
+
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19476
19499
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19477
19500
|
label: "Watercolor Map",
|
|
19478
19501
|
description: "A beautiful 2D map for travel videos",
|
|
@@ -19490,7 +19513,7 @@ var Templates = () => {
|
|
|
19490
19513
|
href: `https://www.remotion.pro/timeline`,
|
|
19491
19514
|
children: /* @__PURE__ */ jsx70(Button, {
|
|
19492
19515
|
depth: 0.5,
|
|
19493
|
-
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full",
|
|
19516
|
+
className: "text-left p-3.5 flex flex-col relative cursor-pointer text-[var(--text-color)] no-underline h-full w-full items-start",
|
|
19494
19517
|
children: /* @__PURE__ */ jsx70(Item2, {
|
|
19495
19518
|
label: "<Timeline />",
|
|
19496
19519
|
description: "A copy pasteable component for timeline-based editing",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/promo-pages",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.395",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -11,23 +11,23 @@
|
|
|
11
11
|
},
|
|
12
12
|
"type": "module",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@remotion/animated-emoji": "4.0.
|
|
15
|
-
"@remotion/design": "4.0.
|
|
16
|
-
"@remotion/lambda": "4.0.
|
|
17
|
-
"@remotion/lottie": "4.0.
|
|
18
|
-
"@remotion/paths": "4.0.
|
|
19
|
-
"@remotion/player": "4.0.
|
|
20
|
-
"@remotion/shapes": "4.0.
|
|
21
|
-
"@remotion/svg-3d-engine": "4.0.
|
|
22
|
-
"create-video": "4.0.
|
|
14
|
+
"@remotion/animated-emoji": "4.0.395",
|
|
15
|
+
"@remotion/design": "4.0.395",
|
|
16
|
+
"@remotion/lambda": "4.0.395",
|
|
17
|
+
"@remotion/lottie": "4.0.395",
|
|
18
|
+
"@remotion/paths": "4.0.395",
|
|
19
|
+
"@remotion/player": "4.0.395",
|
|
20
|
+
"@remotion/shapes": "4.0.395",
|
|
21
|
+
"@remotion/svg-3d-engine": "4.0.395",
|
|
22
|
+
"create-video": "4.0.395",
|
|
23
23
|
"hls.js": "1.5.19",
|
|
24
24
|
"polished": "4.3.1",
|
|
25
|
-
"remotion": "4.0.
|
|
25
|
+
"remotion": "4.0.395",
|
|
26
26
|
"zod": "3.22.3",
|
|
27
27
|
"bun-plugin-tailwind": "0.1.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
30
|
+
"@remotion/eslint-config-internal": "4.0.395",
|
|
31
31
|
"@eslint/eslintrc": "3.1.0",
|
|
32
32
|
"@types/react": "19.2.7",
|
|
33
33
|
"@types/react-dom": "19.2.3",
|