@remotion/promo-pages 4.0.390 → 4.0.392

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.
@@ -755,7 +755,7 @@ var __defProp2, __export2 = (target, all) => {
755
755
  });
756
756
  }, useIsPlayer = () => {
757
757
  return useContext(IsPlayerContext);
758
- }, VERSION = "4.0.390", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.392", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -1647,7 +1647,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
1647
1647
  }
1648
1648
  }, error = (options, ...args) => {
1649
1649
  return console.error(...transformArgs({ args, logLevel: "error", tag: options.tag }));
1650
- }, Log, handles, DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:", DELAY_RENDER_RETRIES_LEFT = "Retries left: ", DELAY_RENDER_RETRY_TOKEN = "- Rendering the frame will be retried.", DELAY_RENDER_CLEAR_TOKEN = "handle was cleared after", defaultTimeout = 30000, delayRenderInternal = ({
1650
+ }, Log, DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:", DELAY_RENDER_RETRIES_LEFT = "Retries left: ", DELAY_RENDER_RETRY_TOKEN = "- Rendering the frame will be retried.", DELAY_RENDER_CLEAR_TOKEN = "handle was cleared after", defaultTimeout = 30000, delayRenderInternal = ({
1651
1651
  scope,
1652
1652
  environment,
1653
1653
  label,
@@ -1657,33 +1657,29 @@ Check that all your Remotion packages are on the same version. If your dependenc
1657
1657
  throw new Error("The label parameter of delayRender() must be a string or undefined, got: " + JSON.stringify(label));
1658
1658
  }
1659
1659
  const handle = Math.random();
1660
- handles.push(handle);
1660
+ scope.remotion_delayRenderHandles.push(handle);
1661
1661
  const called = Error().stack?.replace(/^Error/g, "") ?? "";
1662
1662
  if (environment.isRendering) {
1663
- const timeoutToUse = (options?.timeoutInMilliseconds ?? (typeof scope === "undefined" ? defaultTimeout : scope.remotion_puppeteerTimeout ?? defaultTimeout)) - 2000;
1664
- if (typeof scope !== "undefined") {
1665
- const retriesLeft = (options?.retries ?? 0) - (scope.remotion_attempt - 1);
1666
- scope.remotion_delayRenderTimeouts[handle] = {
1667
- label: label ?? null,
1668
- startTime: Date.now(),
1669
- timeout: setTimeout(() => {
1670
- const message = [
1671
- `A delayRender()`,
1672
- label ? `"${label}"` : null,
1673
- `was called but not cleared after ${timeoutToUse}ms. See https://remotion.dev/docs/timeout for help.`,
1674
- retriesLeft > 0 ? DELAY_RENDER_RETRIES_LEFT + retriesLeft : null,
1675
- retriesLeft > 0 ? DELAY_RENDER_RETRY_TOKEN : null,
1676
- DELAY_RENDER_CALLSTACK_TOKEN,
1677
- called
1678
- ].filter(truthy2).join(" ");
1679
- cancelRenderInternal(scope, Error(message));
1680
- }, timeoutToUse)
1681
- };
1682
- }
1683
- }
1684
- if (typeof scope !== "undefined") {
1685
- scope.remotion_renderReady = false;
1663
+ const timeoutToUse = (options?.timeoutInMilliseconds ?? scope.remotion_puppeteerTimeout ?? defaultTimeout) - 2000;
1664
+ const retriesLeft = (options?.retries ?? 0) - (scope.remotion_attempt - 1);
1665
+ scope.remotion_delayRenderTimeouts[handle] = {
1666
+ label: label ?? null,
1667
+ startTime: Date.now(),
1668
+ timeout: setTimeout(() => {
1669
+ const message = [
1670
+ `A delayRender()`,
1671
+ label ? `"${label}"` : null,
1672
+ `was called but not cleared after ${timeoutToUse}ms. See https://remotion.dev/docs/timeout for help.`,
1673
+ retriesLeft > 0 ? DELAY_RENDER_RETRIES_LEFT + retriesLeft : null,
1674
+ retriesLeft > 0 ? DELAY_RENDER_RETRY_TOKEN : null,
1675
+ DELAY_RENDER_CALLSTACK_TOKEN,
1676
+ called
1677
+ ].filter(truthy2).join(" ");
1678
+ cancelRenderInternal(scope, Error(message));
1679
+ }, timeoutToUse)
1680
+ };
1686
1681
  }
1682
+ scope.remotion_renderReady = false;
1687
1683
  return handle;
1688
1684
  }, continueRenderInternal = ({
1689
1685
  scope,
@@ -1697,7 +1693,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
1697
1693
  if (typeof handle !== "number") {
1698
1694
  throw new TypeError("The parameter passed into continueRender() must be the return value of delayRender() which is a number. Got: " + JSON.stringify(handle));
1699
1695
  }
1700
- handles = handles.filter((h) => {
1696
+ scope.remotion_delayRenderHandles = scope.remotion_delayRenderHandles.filter((h) => {
1701
1697
  if (h === handle) {
1702
1698
  if (environment.isRendering && scope !== undefined) {
1703
1699
  if (!scope.remotion_delayRenderTimeouts[handle]) {
@@ -1717,7 +1713,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
1717
1713
  }
1718
1714
  return true;
1719
1715
  });
1720
- if (handles.length === 0 && typeof scope !== "undefined") {
1716
+ if (scope.remotion_delayRenderHandles.length === 0) {
1721
1717
  scope.remotion_renderReady = true;
1722
1718
  }
1723
1719
  }, LogLevelContext, useLogLevel = () => {
@@ -1734,19 +1730,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
1734
1730
  return mountTime;
1735
1731
  }, DelayRenderContextType, useDelayRender = () => {
1736
1732
  const environment = useRemotionEnvironment();
1737
- const scope = useContext8(DelayRenderContextType);
1733
+ const scope = useContext8(DelayRenderContextType) ?? (typeof window !== "undefined" ? window : undefined);
1738
1734
  const logLevel = useLogLevel();
1739
1735
  const delayRender2 = useCallback4((label, options) => {
1736
+ if (!scope) {
1737
+ return Math.random();
1738
+ }
1740
1739
  return delayRenderInternal({
1741
- scope: scope ?? (typeof window !== "undefined" ? window : undefined),
1740
+ scope,
1742
1741
  environment,
1743
1742
  label: label ?? null,
1744
1743
  options: options ?? {}
1745
1744
  });
1746
1745
  }, [environment, scope]);
1747
1746
  const continueRender2 = useCallback4((handle) => {
1747
+ if (!scope) {
1748
+ return;
1749
+ }
1748
1750
  continueRenderInternal({
1749
- scope: scope ?? (typeof window !== "undefined" ? window : undefined),
1751
+ scope,
1750
1752
  handle,
1751
1753
  environment,
1752
1754
  logLevel
@@ -3105,7 +3107,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3105
3107
  });
3106
3108
  }, [refs]);
3107
3109
  const registerAudio = useCallback7((options) => {
3108
- const { aud, audioId, premounting } = options;
3110
+ const { aud, audioId, premounting, postmounting } = options;
3109
3111
  const found = audios.current?.find((a) => a.audioId === audioId);
3110
3112
  if (found) {
3111
3113
  return found;
@@ -3124,7 +3126,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
3124
3126
  el: ref,
3125
3127
  audioId,
3126
3128
  mediaElementSourceNode,
3127
- premounting
3129
+ premounting,
3130
+ audioMounted: Boolean(ref.current),
3131
+ postmounting
3128
3132
  };
3129
3133
  audios.current?.push(newElem);
3130
3134
  rerenderAudios();
@@ -3145,12 +3149,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
3145
3149
  aud,
3146
3150
  audioId,
3147
3151
  id,
3148
- premounting
3152
+ premounting,
3153
+ postmounting
3149
3154
  }) => {
3150
3155
  let changed = false;
3151
3156
  audios.current = audios.current?.map((prevA) => {
3157
+ const audioMounted = Boolean(prevA.el.current);
3158
+ if (prevA.audioMounted !== audioMounted) {
3159
+ changed = true;
3160
+ }
3152
3161
  if (prevA.id === id) {
3153
- const isTheSame = compareProps(aud, prevA.props) && prevA.premounting === premounting;
3162
+ const isTheSame = compareProps(aud, prevA.props) && prevA.premounting === premounting && prevA.postmounting === postmounting;
3154
3163
  if (isTheSame) {
3155
3164
  return prevA;
3156
3165
  }
@@ -3159,7 +3168,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
3159
3168
  ...prevA,
3160
3169
  props: aud,
3161
3170
  premounting,
3162
- audioId
3171
+ postmounting,
3172
+ audioId,
3173
+ audioMounted
3163
3174
  };
3164
3175
  }
3165
3176
  return prevA;
@@ -3221,12 +3232,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
3221
3232
  }, useSharedAudio = ({
3222
3233
  aud,
3223
3234
  audioId,
3224
- premounting
3235
+ premounting,
3236
+ postmounting
3225
3237
  }) => {
3226
3238
  const ctx = useContext16(SharedAudioContext);
3227
3239
  const [elem] = useState11(() => {
3228
3240
  if (ctx && ctx.numberOfAudioTags > 0) {
3229
- return ctx.registerAudio({ aud, audioId, premounting });
3241
+ return ctx.registerAudio({ aud, audioId, premounting, postmounting });
3230
3242
  }
3231
3243
  const el = React15.createRef();
3232
3244
  const mediaElementSourceNode = ctx?.audioContext ? makeSharedElementSourceNode({
@@ -3239,16 +3251,18 @@ Check that all your Remotion packages are on the same version. If your dependenc
3239
3251
  props: aud,
3240
3252
  audioId,
3241
3253
  mediaElementSourceNode,
3242
- premounting
3254
+ premounting,
3255
+ audioMounted: Boolean(el.current),
3256
+ postmounting
3243
3257
  };
3244
3258
  });
3245
3259
  const effectToUse = React15.useInsertionEffect ?? React15.useLayoutEffect;
3246
3260
  if (typeof document !== "undefined") {
3247
3261
  effectToUse(() => {
3248
3262
  if (ctx && ctx.numberOfAudioTags > 0) {
3249
- ctx.updateAudio({ id: elem.id, aud, audioId, premounting });
3263
+ ctx.updateAudio({ id: elem.id, aud, audioId, premounting, postmounting });
3250
3264
  }
3251
- }, [aud, ctx, elem.id, audioId, premounting]);
3265
+ }, [aud, ctx, elem.id, audioId, premounting, postmounting]);
3252
3266
  effectToUse(() => {
3253
3267
  return () => {
3254
3268
  if (ctx && ctx.numberOfAudioTags > 0) {
@@ -4486,7 +4500,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
4486
4500
  const { el: audioRef, mediaElementSourceNode } = useSharedAudio({
4487
4501
  aud: propsToPass,
4488
4502
  audioId: id,
4489
- premounting: Boolean(sequenceContext?.premounting)
4503
+ premounting: Boolean(sequenceContext?.premounting),
4504
+ postmounting: Boolean(sequenceContext?.postmounting)
4490
4505
  });
4491
4506
  useMediaInTimeline({
4492
4507
  volume,
@@ -6855,12 +6870,12 @@ var init_esm = __esm(() => {
6855
6870
  warn,
6856
6871
  error
6857
6872
  };
6858
- handles = [];
6859
6873
  if (typeof window !== "undefined") {
6860
6874
  window.remotion_renderReady = false;
6861
6875
  if (!window.remotion_delayRenderTimeouts) {
6862
6876
  window.remotion_delayRenderTimeouts = {};
6863
6877
  }
6878
+ window.remotion_delayRenderHandles = [];
6864
6879
  }
6865
6880
  LogLevelContext = createContext8({
6866
6881
  logLevel: "info",
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.390", checkMultipleRemotionVersions = () => {
758
+ }, VERSION = "4.0.392", checkMultipleRemotionVersions = () => {
759
759
  if (typeof globalThis === "undefined") {
760
760
  return;
761
761
  }
@@ -1647,7 +1647,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
1647
1647
  }
1648
1648
  }, error = (options, ...args) => {
1649
1649
  return console.error(...transformArgs({ args, logLevel: "error", tag: options.tag }));
1650
- }, Log, handles, DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:", DELAY_RENDER_RETRIES_LEFT = "Retries left: ", DELAY_RENDER_RETRY_TOKEN = "- Rendering the frame will be retried.", DELAY_RENDER_CLEAR_TOKEN = "handle was cleared after", defaultTimeout = 30000, delayRenderInternal = ({
1650
+ }, Log, DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:", DELAY_RENDER_RETRIES_LEFT = "Retries left: ", DELAY_RENDER_RETRY_TOKEN = "- Rendering the frame will be retried.", DELAY_RENDER_CLEAR_TOKEN = "handle was cleared after", defaultTimeout = 30000, delayRenderInternal = ({
1651
1651
  scope,
1652
1652
  environment,
1653
1653
  label,
@@ -1657,33 +1657,29 @@ Check that all your Remotion packages are on the same version. If your dependenc
1657
1657
  throw new Error("The label parameter of delayRender() must be a string or undefined, got: " + JSON.stringify(label));
1658
1658
  }
1659
1659
  const handle = Math.random();
1660
- handles.push(handle);
1660
+ scope.remotion_delayRenderHandles.push(handle);
1661
1661
  const called = Error().stack?.replace(/^Error/g, "") ?? "";
1662
1662
  if (environment.isRendering) {
1663
- const timeoutToUse = (options?.timeoutInMilliseconds ?? (typeof scope === "undefined" ? defaultTimeout : scope.remotion_puppeteerTimeout ?? defaultTimeout)) - 2000;
1664
- if (typeof scope !== "undefined") {
1665
- const retriesLeft = (options?.retries ?? 0) - (scope.remotion_attempt - 1);
1666
- scope.remotion_delayRenderTimeouts[handle] = {
1667
- label: label ?? null,
1668
- startTime: Date.now(),
1669
- timeout: setTimeout(() => {
1670
- const message = [
1671
- `A delayRender()`,
1672
- label ? `"${label}"` : null,
1673
- `was called but not cleared after ${timeoutToUse}ms. See https://remotion.dev/docs/timeout for help.`,
1674
- retriesLeft > 0 ? DELAY_RENDER_RETRIES_LEFT + retriesLeft : null,
1675
- retriesLeft > 0 ? DELAY_RENDER_RETRY_TOKEN : null,
1676
- DELAY_RENDER_CALLSTACK_TOKEN,
1677
- called
1678
- ].filter(truthy2).join(" ");
1679
- cancelRenderInternal(scope, Error(message));
1680
- }, timeoutToUse)
1681
- };
1682
- }
1683
- }
1684
- if (typeof scope !== "undefined") {
1685
- scope.remotion_renderReady = false;
1663
+ const timeoutToUse = (options?.timeoutInMilliseconds ?? scope.remotion_puppeteerTimeout ?? defaultTimeout) - 2000;
1664
+ const retriesLeft = (options?.retries ?? 0) - (scope.remotion_attempt - 1);
1665
+ scope.remotion_delayRenderTimeouts[handle] = {
1666
+ label: label ?? null,
1667
+ startTime: Date.now(),
1668
+ timeout: setTimeout(() => {
1669
+ const message = [
1670
+ `A delayRender()`,
1671
+ label ? `"${label}"` : null,
1672
+ `was called but not cleared after ${timeoutToUse}ms. See https://remotion.dev/docs/timeout for help.`,
1673
+ retriesLeft > 0 ? DELAY_RENDER_RETRIES_LEFT + retriesLeft : null,
1674
+ retriesLeft > 0 ? DELAY_RENDER_RETRY_TOKEN : null,
1675
+ DELAY_RENDER_CALLSTACK_TOKEN,
1676
+ called
1677
+ ].filter(truthy2).join(" ");
1678
+ cancelRenderInternal(scope, Error(message));
1679
+ }, timeoutToUse)
1680
+ };
1686
1681
  }
1682
+ scope.remotion_renderReady = false;
1687
1683
  return handle;
1688
1684
  }, continueRenderInternal = ({
1689
1685
  scope,
@@ -1697,7 +1693,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
1697
1693
  if (typeof handle !== "number") {
1698
1694
  throw new TypeError("The parameter passed into continueRender() must be the return value of delayRender() which is a number. Got: " + JSON.stringify(handle));
1699
1695
  }
1700
- handles = handles.filter((h) => {
1696
+ scope.remotion_delayRenderHandles = scope.remotion_delayRenderHandles.filter((h) => {
1701
1697
  if (h === handle) {
1702
1698
  if (environment.isRendering && scope !== undefined) {
1703
1699
  if (!scope.remotion_delayRenderTimeouts[handle]) {
@@ -1717,7 +1713,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
1717
1713
  }
1718
1714
  return true;
1719
1715
  });
1720
- if (handles.length === 0 && typeof scope !== "undefined") {
1716
+ if (scope.remotion_delayRenderHandles.length === 0) {
1721
1717
  scope.remotion_renderReady = true;
1722
1718
  }
1723
1719
  }, LogLevelContext, useLogLevel = () => {
@@ -1734,19 +1730,25 @@ Check that all your Remotion packages are on the same version. If your dependenc
1734
1730
  return mountTime;
1735
1731
  }, DelayRenderContextType, useDelayRender = () => {
1736
1732
  const environment = useRemotionEnvironment();
1737
- const scope = useContext8(DelayRenderContextType);
1733
+ const scope = useContext8(DelayRenderContextType) ?? (typeof window !== "undefined" ? window : undefined);
1738
1734
  const logLevel = useLogLevel();
1739
1735
  const delayRender2 = useCallback4((label, options) => {
1736
+ if (!scope) {
1737
+ return Math.random();
1738
+ }
1740
1739
  return delayRenderInternal({
1741
- scope: scope ?? (typeof window !== "undefined" ? window : undefined),
1740
+ scope,
1742
1741
  environment,
1743
1742
  label: label ?? null,
1744
1743
  options: options ?? {}
1745
1744
  });
1746
1745
  }, [environment, scope]);
1747
1746
  const continueRender2 = useCallback4((handle) => {
1747
+ if (!scope) {
1748
+ return;
1749
+ }
1748
1750
  continueRenderInternal({
1749
- scope: scope ?? (typeof window !== "undefined" ? window : undefined),
1751
+ scope,
1750
1752
  handle,
1751
1753
  environment,
1752
1754
  logLevel
@@ -3105,7 +3107,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
3105
3107
  });
3106
3108
  }, [refs]);
3107
3109
  const registerAudio = useCallback7((options) => {
3108
- const { aud, audioId, premounting } = options;
3110
+ const { aud, audioId, premounting, postmounting } = options;
3109
3111
  const found = audios.current?.find((a) => a.audioId === audioId);
3110
3112
  if (found) {
3111
3113
  return found;
@@ -3124,7 +3126,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
3124
3126
  el: ref,
3125
3127
  audioId,
3126
3128
  mediaElementSourceNode,
3127
- premounting
3129
+ premounting,
3130
+ audioMounted: Boolean(ref.current),
3131
+ postmounting
3128
3132
  };
3129
3133
  audios.current?.push(newElem);
3130
3134
  rerenderAudios();
@@ -3145,12 +3149,17 @@ Check that all your Remotion packages are on the same version. If your dependenc
3145
3149
  aud,
3146
3150
  audioId,
3147
3151
  id,
3148
- premounting
3152
+ premounting,
3153
+ postmounting
3149
3154
  }) => {
3150
3155
  let changed = false;
3151
3156
  audios.current = audios.current?.map((prevA) => {
3157
+ const audioMounted = Boolean(prevA.el.current);
3158
+ if (prevA.audioMounted !== audioMounted) {
3159
+ changed = true;
3160
+ }
3152
3161
  if (prevA.id === id) {
3153
- const isTheSame = compareProps(aud, prevA.props) && prevA.premounting === premounting;
3162
+ const isTheSame = compareProps(aud, prevA.props) && prevA.premounting === premounting && prevA.postmounting === postmounting;
3154
3163
  if (isTheSame) {
3155
3164
  return prevA;
3156
3165
  }
@@ -3159,7 +3168,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
3159
3168
  ...prevA,
3160
3169
  props: aud,
3161
3170
  premounting,
3162
- audioId
3171
+ postmounting,
3172
+ audioId,
3173
+ audioMounted
3163
3174
  };
3164
3175
  }
3165
3176
  return prevA;
@@ -3221,12 +3232,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
3221
3232
  }, useSharedAudio = ({
3222
3233
  aud,
3223
3234
  audioId,
3224
- premounting
3235
+ premounting,
3236
+ postmounting
3225
3237
  }) => {
3226
3238
  const ctx = useContext16(SharedAudioContext);
3227
3239
  const [elem] = useState11(() => {
3228
3240
  if (ctx && ctx.numberOfAudioTags > 0) {
3229
- return ctx.registerAudio({ aud, audioId, premounting });
3241
+ return ctx.registerAudio({ aud, audioId, premounting, postmounting });
3230
3242
  }
3231
3243
  const el = React15.createRef();
3232
3244
  const mediaElementSourceNode = ctx?.audioContext ? makeSharedElementSourceNode({
@@ -3239,16 +3251,18 @@ Check that all your Remotion packages are on the same version. If your dependenc
3239
3251
  props: aud,
3240
3252
  audioId,
3241
3253
  mediaElementSourceNode,
3242
- premounting
3254
+ premounting,
3255
+ audioMounted: Boolean(el.current),
3256
+ postmounting
3243
3257
  };
3244
3258
  });
3245
3259
  const effectToUse = React15.useInsertionEffect ?? React15.useLayoutEffect;
3246
3260
  if (typeof document !== "undefined") {
3247
3261
  effectToUse(() => {
3248
3262
  if (ctx && ctx.numberOfAudioTags > 0) {
3249
- ctx.updateAudio({ id: elem.id, aud, audioId, premounting });
3263
+ ctx.updateAudio({ id: elem.id, aud, audioId, premounting, postmounting });
3250
3264
  }
3251
- }, [aud, ctx, elem.id, audioId, premounting]);
3265
+ }, [aud, ctx, elem.id, audioId, premounting, postmounting]);
3252
3266
  effectToUse(() => {
3253
3267
  return () => {
3254
3268
  if (ctx && ctx.numberOfAudioTags > 0) {
@@ -4486,7 +4500,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
4486
4500
  const { el: audioRef, mediaElementSourceNode } = useSharedAudio({
4487
4501
  aud: propsToPass,
4488
4502
  audioId: id,
4489
- premounting: Boolean(sequenceContext?.premounting)
4503
+ premounting: Boolean(sequenceContext?.premounting),
4504
+ postmounting: Boolean(sequenceContext?.postmounting)
4490
4505
  });
4491
4506
  useMediaInTimeline({
4492
4507
  volume,
@@ -6855,12 +6870,12 @@ var init_esm = __esm(() => {
6855
6870
  warn,
6856
6871
  error
6857
6872
  };
6858
- handles = [];
6859
6873
  if (typeof window !== "undefined") {
6860
6874
  window.remotion_renderReady = false;
6861
6875
  if (!window.remotion_delayRenderTimeouts) {
6862
6876
  window.remotion_delayRenderTimeouts = {};
6863
6877
  }
6878
+ window.remotion_delayRenderHandles = [];
6864
6879
  }
6865
6880
  LogLevelContext = createContext8({
6866
6881
  logLevel: "info",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/promo-pages",
3
- "version": "4.0.390",
3
+ "version": "4.0.392",
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.390",
15
- "@remotion/design": "4.0.390",
16
- "@remotion/lambda": "4.0.390",
17
- "@remotion/lottie": "4.0.390",
18
- "@remotion/paths": "4.0.390",
19
- "@remotion/player": "4.0.390",
20
- "@remotion/shapes": "4.0.390",
21
- "@remotion/svg-3d-engine": "4.0.390",
22
- "create-video": "4.0.390",
14
+ "@remotion/animated-emoji": "4.0.392",
15
+ "@remotion/design": "4.0.392",
16
+ "@remotion/lambda": "4.0.392",
17
+ "@remotion/lottie": "4.0.392",
18
+ "@remotion/paths": "4.0.392",
19
+ "@remotion/player": "4.0.392",
20
+ "@remotion/shapes": "4.0.392",
21
+ "@remotion/svg-3d-engine": "4.0.392",
22
+ "create-video": "4.0.392",
23
23
  "hls.js": "1.5.19",
24
24
  "polished": "4.3.1",
25
- "remotion": "4.0.390",
25
+ "remotion": "4.0.392",
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.390",
30
+ "@remotion/eslint-config-internal": "4.0.392",
31
31
  "@eslint/eslintrc": "3.1.0",
32
32
  "@types/react": "19.2.7",
33
33
  "@types/react-dom": "19.2.3",