@remotion/promo-pages 4.0.310 → 4.0.312
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/.turbo/turbo-make.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @remotion/promo-pages@4.0.
|
|
3
|
+
> @remotion/promo-pages@4.0.312 make /Users/jonathanburger/remotion/packages/promo-pages
|
|
4
4
|
> bun --env-file=../.env.bundle bundle.ts
|
|
5
5
|
|
|
6
6
|
≈ tailwindcss v4.1.1
|
|
7
7
|
|
|
8
|
-
Done in
|
|
8
|
+
Done in 32ms
|
package/dist/Homepage.js
CHANGED
|
@@ -1716,20 +1716,6 @@ var CompanyPricing = () => {
|
|
|
1716
1716
|
text: "Prioritized Support",
|
|
1717
1717
|
checked: true
|
|
1718
1718
|
}),
|
|
1719
|
-
/* @__PURE__ */ jsx4(PricingBulletPoint, {
|
|
1720
|
-
text: /* @__PURE__ */ jsxs4("span", {
|
|
1721
|
-
children: [
|
|
1722
|
-
/* @__PURE__ */ jsx4("a", {
|
|
1723
|
-
href: "https://remotion.dev/recorder",
|
|
1724
|
-
className: "underline underline-offset-4 text-inherit",
|
|
1725
|
-
children: "Remotion Recorder"
|
|
1726
|
-
}),
|
|
1727
|
-
" ",
|
|
1728
|
-
"included"
|
|
1729
|
-
]
|
|
1730
|
-
}),
|
|
1731
|
-
checked: true
|
|
1732
|
-
}),
|
|
1733
1719
|
/* @__PURE__ */ jsx4(PricingBulletPoint, {
|
|
1734
1720
|
text: "$250 Mux credits",
|
|
1735
1721
|
checked: true,
|
|
@@ -5236,7 +5222,7 @@ var useIsPlayer = () => {
|
|
|
5236
5222
|
function truthy(value) {
|
|
5237
5223
|
return Boolean(value);
|
|
5238
5224
|
}
|
|
5239
|
-
var VERSION = "4.0.
|
|
5225
|
+
var VERSION = "4.0.312";
|
|
5240
5226
|
var checkMultipleRemotionVersions = () => {
|
|
5241
5227
|
if (typeof globalThis === "undefined") {
|
|
5242
5228
|
return;
|
|
@@ -7711,7 +7697,8 @@ var SharedAudioContextProvider = ({ children, numberOfAudioTags, component, audi
|
|
|
7711
7697
|
});
|
|
7712
7698
|
});
|
|
7713
7699
|
}, [refs]);
|
|
7714
|
-
const registerAudio = useCallback6((
|
|
7700
|
+
const registerAudio = useCallback6((options) => {
|
|
7701
|
+
const { aud, audioId, premounting } = options;
|
|
7715
7702
|
const found = audios.current?.find((a) => a.audioId === audioId);
|
|
7716
7703
|
if (found) {
|
|
7717
7704
|
return found;
|
|
@@ -7729,7 +7716,8 @@ var SharedAudioContextProvider = ({ children, numberOfAudioTags, component, audi
|
|
|
7729
7716
|
id,
|
|
7730
7717
|
el: ref,
|
|
7731
7718
|
audioId,
|
|
7732
|
-
mediaElementSourceNode
|
|
7719
|
+
mediaElementSourceNode,
|
|
7720
|
+
premounting
|
|
7733
7721
|
};
|
|
7734
7722
|
audios.current?.push(newElem);
|
|
7735
7723
|
rerenderAudios();
|
|
@@ -7749,12 +7737,13 @@ var SharedAudioContextProvider = ({ children, numberOfAudioTags, component, audi
|
|
|
7749
7737
|
const updateAudio = useCallback6(({
|
|
7750
7738
|
aud,
|
|
7751
7739
|
audioId,
|
|
7752
|
-
id
|
|
7740
|
+
id,
|
|
7741
|
+
premounting
|
|
7753
7742
|
}) => {
|
|
7754
7743
|
let changed = false;
|
|
7755
7744
|
audios.current = audios.current?.map((prevA) => {
|
|
7756
7745
|
if (prevA.id === id) {
|
|
7757
|
-
const isTheSame = compareProps(aud, prevA.props);
|
|
7746
|
+
const isTheSame = compareProps(aud, prevA.props) && prevA.premounting === premounting;
|
|
7758
7747
|
if (isTheSame) {
|
|
7759
7748
|
return prevA;
|
|
7760
7749
|
}
|
|
@@ -7762,6 +7751,7 @@ var SharedAudioContextProvider = ({ children, numberOfAudioTags, component, audi
|
|
|
7762
7751
|
return {
|
|
7763
7752
|
...prevA,
|
|
7764
7753
|
props: aud,
|
|
7754
|
+
premounting,
|
|
7765
7755
|
audioId
|
|
7766
7756
|
};
|
|
7767
7757
|
}
|
|
@@ -7774,6 +7764,10 @@ var SharedAudioContextProvider = ({ children, numberOfAudioTags, component, audi
|
|
|
7774
7764
|
const mountTime = useMountTime();
|
|
7775
7765
|
const playAllAudios = useCallback6(() => {
|
|
7776
7766
|
refs.forEach((ref) => {
|
|
7767
|
+
const audio = audios.current.find((a) => a.el === ref.ref);
|
|
7768
|
+
if (audio?.premounting) {
|
|
7769
|
+
return;
|
|
7770
|
+
}
|
|
7777
7771
|
playAndHandleNotAllowedError({
|
|
7778
7772
|
mediaRef: ref.ref,
|
|
7779
7773
|
mediaType: "audio",
|
|
@@ -7826,11 +7820,15 @@ var SharedAudioContextProvider = ({ children, numberOfAudioTags, component, audi
|
|
|
7826
7820
|
]
|
|
7827
7821
|
});
|
|
7828
7822
|
};
|
|
7829
|
-
var useSharedAudio = (
|
|
7823
|
+
var useSharedAudio = ({
|
|
7824
|
+
aud,
|
|
7825
|
+
audioId,
|
|
7826
|
+
premounting
|
|
7827
|
+
}) => {
|
|
7830
7828
|
const ctx = useContext14(SharedAudioContext);
|
|
7831
7829
|
const [elem] = useState9(() => {
|
|
7832
7830
|
if (ctx && ctx.numberOfAudioTags > 0) {
|
|
7833
|
-
return ctx.registerAudio(aud, audioId);
|
|
7831
|
+
return ctx.registerAudio({ aud, audioId, premounting });
|
|
7834
7832
|
}
|
|
7835
7833
|
const el = React13.createRef();
|
|
7836
7834
|
const mediaElementSourceNode = ctx?.audioContext ? makeSharedElementSourceNode({
|
|
@@ -7842,16 +7840,17 @@ var useSharedAudio = (aud, audioId) => {
|
|
|
7842
7840
|
id: Math.random(),
|
|
7843
7841
|
props: aud,
|
|
7844
7842
|
audioId,
|
|
7845
|
-
mediaElementSourceNode
|
|
7843
|
+
mediaElementSourceNode,
|
|
7844
|
+
premounting
|
|
7846
7845
|
};
|
|
7847
7846
|
});
|
|
7848
7847
|
const effectToUse = React13.useInsertionEffect ?? React13.useLayoutEffect;
|
|
7849
7848
|
if (typeof document !== "undefined") {
|
|
7850
7849
|
effectToUse(() => {
|
|
7851
7850
|
if (ctx && ctx.numberOfAudioTags > 0) {
|
|
7852
|
-
ctx.updateAudio({ id: elem.id, aud, audioId });
|
|
7851
|
+
ctx.updateAudio({ id: elem.id, aud, audioId, premounting });
|
|
7853
7852
|
}
|
|
7854
|
-
}, [aud, ctx, elem.id, audioId]);
|
|
7853
|
+
}, [aud, ctx, elem.id, audioId, premounting]);
|
|
7855
7854
|
effectToUse(() => {
|
|
7856
7855
|
return () => {
|
|
7857
7856
|
if (ctx && ctx.numberOfAudioTags > 0) {
|
|
@@ -9155,7 +9154,11 @@ var AudioForDevelopmentForwardRefFunction = (props, ref) => {
|
|
|
9155
9154
|
if (!context) {
|
|
9156
9155
|
throw new Error("SharedAudioContext not found");
|
|
9157
9156
|
}
|
|
9158
|
-
const { el: audioRef, mediaElementSourceNode } = useSharedAudio(
|
|
9157
|
+
const { el: audioRef, mediaElementSourceNode } = useSharedAudio({
|
|
9158
|
+
aud: propsToPass,
|
|
9159
|
+
audioId: id,
|
|
9160
|
+
premounting: Boolean(sequenceContext?.premounting)
|
|
9161
|
+
});
|
|
9159
9162
|
useMediaInTimeline({
|
|
9160
9163
|
volume,
|
|
9161
9164
|
mediaVolume,
|
|
@@ -19963,7 +19966,7 @@ var videoApps = [
|
|
|
19963
19966
|
{
|
|
19964
19967
|
title: "Remotion Recorder",
|
|
19965
19968
|
description: "The Remotion Recorder is a video production tool built entirely in JavaScript. Create high-quality videos that feel native on each platform while only editing them once.",
|
|
19966
|
-
link: "https://www.remotion.
|
|
19969
|
+
link: "https://www.remotion.dev/recorder",
|
|
19967
19970
|
videoWidth: 1080,
|
|
19968
19971
|
videoHeight: 1080,
|
|
19969
19972
|
muxId: "pHlwqDZFUH00Aubo9M001ty3gZ6YW8z689XTd9R479ayE",
|
package/dist/homepage/Pricing.js
CHANGED
|
@@ -1716,20 +1716,6 @@ var CompanyPricing = () => {
|
|
|
1716
1716
|
text: "Prioritized Support",
|
|
1717
1717
|
checked: true
|
|
1718
1718
|
}),
|
|
1719
|
-
/* @__PURE__ */ jsx4(PricingBulletPoint, {
|
|
1720
|
-
text: /* @__PURE__ */ jsxs4("span", {
|
|
1721
|
-
children: [
|
|
1722
|
-
/* @__PURE__ */ jsx4("a", {
|
|
1723
|
-
href: "https://remotion.dev/recorder",
|
|
1724
|
-
className: "underline underline-offset-4 text-inherit",
|
|
1725
|
-
children: "Remotion Recorder"
|
|
1726
|
-
}),
|
|
1727
|
-
" ",
|
|
1728
|
-
"included"
|
|
1729
|
-
]
|
|
1730
|
-
}),
|
|
1731
|
-
checked: true
|
|
1732
|
-
}),
|
|
1733
1719
|
/* @__PURE__ */ jsx4(PricingBulletPoint, {
|
|
1734
1720
|
text: "$250 Mux credits",
|
|
1735
1721
|
checked: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/promo-pages",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.312",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"polished": "4.3.1",
|
|
11
11
|
"zod": "3.22.3",
|
|
12
12
|
"bun-plugin-tailwind": "0.0.15",
|
|
13
|
-
"@remotion/
|
|
14
|
-
"@remotion/
|
|
15
|
-
"@remotion/
|
|
16
|
-
"@remotion/
|
|
17
|
-
"@remotion/
|
|
18
|
-
"
|
|
19
|
-
"remotion": "4.0.
|
|
20
|
-
"
|
|
13
|
+
"@remotion/animated-emoji": "4.0.312",
|
|
14
|
+
"@remotion/paths": "4.0.312",
|
|
15
|
+
"@remotion/lambda": "4.0.312",
|
|
16
|
+
"@remotion/lottie": "4.0.312",
|
|
17
|
+
"@remotion/shapes": "4.0.312",
|
|
18
|
+
"create-video": "4.0.312",
|
|
19
|
+
"@remotion/player": "4.0.312",
|
|
20
|
+
"remotion": "4.0.312"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@eslint/eslintrc": "3.1.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"tailwind-merge": "2.5.2",
|
|
35
35
|
"bun-plugin-tailwind": "0.0.13",
|
|
36
36
|
"clsx": "2.1.1",
|
|
37
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
37
|
+
"@remotion/eslint-config-internal": "4.0.312"
|
|
38
38
|
},
|
|
39
39
|
"repository": {
|
|
40
40
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/promo-pages"
|
|
@@ -185,20 +185,6 @@ export const CompanyPricing: React.FC = () => {
|
|
|
185
185
|
<PricingBulletPoint text="Commercial use allowed" checked />
|
|
186
186
|
<PricingBulletPoint text="Self-hosted cloud rendering allowed" checked />
|
|
187
187
|
<PricingBulletPoint text="Prioritized Support" checked />
|
|
188
|
-
<PricingBulletPoint
|
|
189
|
-
text={
|
|
190
|
-
<span>
|
|
191
|
-
<a
|
|
192
|
-
href="https://remotion.dev/recorder"
|
|
193
|
-
className="underline underline-offset-4 text-inherit"
|
|
194
|
-
>
|
|
195
|
-
Remotion Recorder
|
|
196
|
-
</a>{' '}
|
|
197
|
-
included
|
|
198
|
-
</span>
|
|
199
|
-
}
|
|
200
|
-
checked
|
|
201
|
-
/>
|
|
202
188
|
<PricingBulletPoint text="$250 Mux credits" checked>
|
|
203
189
|
<InfoTooltip text="Credits for Mux.com. Applies only to new Mux customers." />
|
|
204
190
|
</PricingBulletPoint>
|
|
@@ -37,8 +37,7 @@ const videoApps = [
|
|
|
37
37
|
title: 'Remotion Recorder',
|
|
38
38
|
description:
|
|
39
39
|
'The Remotion Recorder is a video production tool built entirely in JavaScript. Create high-quality videos that feel native on each platform while only editing them once.',
|
|
40
|
-
|
|
41
|
-
link: 'https://www.remotion.pro/recorder',
|
|
40
|
+
link: 'https://www.remotion.dev/recorder',
|
|
42
41
|
videoWidth: 1080,
|
|
43
42
|
videoHeight: 1080,
|
|
44
43
|
muxId: 'pHlwqDZFUH00Aubo9M001ty3gZ6YW8z689XTd9R479ayE',
|
|
@@ -173,7 +172,11 @@ const VideoAppsShowcase: React.FC = () => {
|
|
|
173
172
|
return (
|
|
174
173
|
<div ref={containerRef}>
|
|
175
174
|
<SectionTitle>Use Cases</SectionTitle>
|
|
176
|
-
<div
|
|
175
|
+
<div
|
|
176
|
+
className={
|
|
177
|
+
'grid justify-center grid-flow-col grid-rows-1 gap-2.5 justify-self-center mb-4 w-[90vw] md:w-auto'
|
|
178
|
+
}
|
|
179
|
+
>
|
|
177
180
|
{tabs.map((tab, index) => (
|
|
178
181
|
<button
|
|
179
182
|
key={tab}
|