@remotion/promo-pages 4.0.397 → 4.0.398
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 +10 -1
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/Homepage.js +10 -1
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/design.js +10 -1
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/homepage/Pricing.js +10 -1
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/template-modal-content.js +10 -1
- package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/templates.js +10 -1
- package/dist/design.js +10 -1
- package/dist/homepage/Pricing.js +10 -1
- package/dist/template-modal-content.js +10 -1
- package/dist/templates.js +10 -1
- 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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
|
@@ -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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
|
@@ -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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
|
@@ -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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
|
@@ -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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
|
@@ -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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
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.398", checkMultipleRemotionVersions = () => {
|
|
759
759
|
if (typeof globalThis === "undefined") {
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
@@ -4742,6 +4742,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
4742
4742
|
const { loop, ...propsOtherThanLoop } = props;
|
|
4743
4743
|
const { fps } = useVideoConfig();
|
|
4744
4744
|
const environment = useRemotionEnvironment();
|
|
4745
|
+
if (environment.isClientSideRendering) {
|
|
4746
|
+
throw new Error("<Html5Audio> is not supported in @remotion/web-renderer. Use <Audio> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
4747
|
+
}
|
|
4745
4748
|
const { durations, setDurations } = useContext27(DurationsContext);
|
|
4746
4749
|
if (typeof props.src !== "string") {
|
|
4747
4750
|
throw new TypeError(`The \`<Html5Audio>\` tag requires a string for \`src\`, but got ${JSON.stringify(props.src)} instead.`);
|
|
@@ -5987,6 +5990,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
5987
5990
|
...otherProps
|
|
5988
5991
|
} = props2;
|
|
5989
5992
|
const environment = useRemotionEnvironment();
|
|
5993
|
+
if (environment.isClientSideRendering) {
|
|
5994
|
+
throw new Error("<OffthreadVideo> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
5995
|
+
}
|
|
5990
5996
|
const onDuration = useCallback16(() => {
|
|
5991
5997
|
return;
|
|
5992
5998
|
}, []);
|
|
@@ -6704,6 +6710,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
|
|
|
6704
6710
|
const { loop, ...propsOtherThanLoop } = props2;
|
|
6705
6711
|
const { fps } = useVideoConfig();
|
|
6706
6712
|
const environment = useRemotionEnvironment();
|
|
6713
|
+
if (environment.isClientSideRendering) {
|
|
6714
|
+
throw new Error("<Html5Video> is not supported in @remotion/web-renderer. Use <Video> from @remotion/media instead. See https://remotion.dev/docs/client-side-rendering/limitations");
|
|
6715
|
+
}
|
|
6707
6716
|
const { durations, setDurations } = useContext35(DurationsContext);
|
|
6708
6717
|
if (typeof ref === "string") {
|
|
6709
6718
|
throw new Error("string refs are not supported");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/promo-pages",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.398",
|
|
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.398",
|
|
15
|
+
"@remotion/design": "4.0.398",
|
|
16
|
+
"@remotion/lambda": "4.0.398",
|
|
17
|
+
"@remotion/lottie": "4.0.398",
|
|
18
|
+
"@remotion/paths": "4.0.398",
|
|
19
|
+
"@remotion/player": "4.0.398",
|
|
20
|
+
"@remotion/shapes": "4.0.398",
|
|
21
|
+
"@remotion/svg-3d-engine": "4.0.398",
|
|
22
|
+
"create-video": "4.0.398",
|
|
23
23
|
"hls.js": "1.5.19",
|
|
24
24
|
"polished": "4.3.1",
|
|
25
|
-
"remotion": "4.0.
|
|
25
|
+
"remotion": "4.0.398",
|
|
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.398",
|
|
31
31
|
"@eslint/eslintrc": "3.1.0",
|
|
32
32
|
"@types/react": "19.2.7",
|
|
33
33
|
"@types/react-dom": "19.2.3",
|