@remotion/promo-pages 4.0.465 → 4.0.466

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 CHANGED
@@ -2273,7 +2273,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
2273
2273
  var addSequenceStackTraces = (component) => {
2274
2274
  componentsToAddStacksTo.push(component);
2275
2275
  };
2276
- var VERSION = "4.0.465";
2276
+ var VERSION = "4.0.466";
2277
2277
  var checkMultipleRemotionVersions = () => {
2278
2278
  if (typeof globalThis === "undefined") {
2279
2279
  return;
@@ -3321,6 +3321,7 @@ var RegularSequenceRefForwardingFunction = ({
3321
3321
  _remotionInternalEffects,
3322
3322
  _remotionInternalLoopDisplay: loopDisplay,
3323
3323
  _remotionInternalStack: stack,
3324
+ _remotionInternalDocumentationLink: documentationLink,
3324
3325
  _remotionInternalPremountDisplay: premountDisplay,
3325
3326
  _remotionInternalPostmountDisplay: postmountDisplay,
3326
3327
  _remotionInternalIsMedia: isMedia,
@@ -3391,6 +3392,7 @@ var RegularSequenceRefForwardingFunction = ({
3391
3392
  const timelineClipName = useMemo14(() => {
3392
3393
  return name ?? "";
3393
3394
  }, [name]);
3395
+ const resolvedDocumentationLink = documentationLink ?? (name === undefined ? "https://www.remotion.dev/docs/sequence" : null);
3394
3396
  const env = useRemotionEnvironment();
3395
3397
  const inheritedStack = other?.stack ?? null;
3396
3398
  const stackRef = useRef6(null);
@@ -3406,6 +3408,7 @@ var RegularSequenceRefForwardingFunction = ({
3406
3408
  controls: controls ?? null,
3407
3409
  effects: _remotionInternalEffects ?? [],
3408
3410
  displayName: timelineClipName,
3411
+ documentationLink: resolvedDocumentationLink,
3409
3412
  duration: actualDurationInFrames,
3410
3413
  from,
3411
3414
  id,
@@ -3425,6 +3428,7 @@ var RegularSequenceRefForwardingFunction = ({
3425
3428
  controls: controls ?? null,
3426
3429
  effects: _remotionInternalEffects ?? [],
3427
3430
  displayName: timelineClipName,
3431
+ documentationLink: resolvedDocumentationLink,
3428
3432
  doesVolumeChange: isMedia.data.doesVolumeChange,
3429
3433
  duration: actualDurationInFrames,
3430
3434
  from,
@@ -3452,6 +3456,7 @@ var RegularSequenceRefForwardingFunction = ({
3452
3456
  duration: actualDurationInFrames,
3453
3457
  id,
3454
3458
  displayName: timelineClipName,
3459
+ documentationLink: resolvedDocumentationLink,
3455
3460
  parent: parentSequence?.id ?? null,
3456
3461
  type: "sequence",
3457
3462
  rootId,
@@ -3486,7 +3491,8 @@ var RegularSequenceRefForwardingFunction = ({
3486
3491
  env.isStudio,
3487
3492
  controls,
3488
3493
  _remotionInternalEffects,
3489
- isMedia
3494
+ isMedia,
3495
+ resolvedDocumentationLink
3490
3496
  ]);
3491
3497
  const endThreshold = Math.ceil(cumulatedFrom + from + durationInFrames - 1);
3492
3498
  const content = absoluteFrame < cumulatedFrom + from ? null : absoluteFrame > endThreshold ? null : children;
@@ -4274,6 +4280,7 @@ var AnimatedImageInner = ({
4274
4280
  layout: "none",
4275
4281
  durationInFrames: resolvedDuration,
4276
4282
  name: "<AnimatedImage>",
4283
+ _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/animatedimage",
4277
4284
  _experimentalControls: controls,
4278
4285
  _remotionInternalEffects: memoizedEffectDefinitions,
4279
4286
  ...sequenceProps,
@@ -4427,6 +4434,7 @@ var SolidOuter = forwardRef5(({
4427
4434
  _remotionInternalEffects: memoizedEffectDefinitions,
4428
4435
  durationInFrames,
4429
4436
  name: name ?? "<Solid>",
4437
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/solid" : undefined,
4430
4438
  ...props,
4431
4439
  children: /* @__PURE__ */ jsx14(SolidInner, {
4432
4440
  ref,
@@ -4667,6 +4675,7 @@ var HtmlInCanvasInner = forwardRef6(({
4667
4675
  return /* @__PURE__ */ jsx15(Sequence, {
4668
4676
  durationInFrames: resolvedDuration,
4669
4677
  name: name ?? "<HtmlInCanvas>",
4678
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/remotion/html-in-canvas" : undefined,
4670
4679
  _experimentalControls: controls,
4671
4680
  _remotionInternalEffects: memoizedEffectDefinitions,
4672
4681
  layout: "none",
@@ -4915,6 +4924,7 @@ var Loop = ({
4915
4924
  durationInFrames,
4916
4925
  from,
4917
4926
  name: name ?? "<Loop>",
4927
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/loop" : undefined,
4918
4928
  _remotionInternalLoopDisplay: loopDisplay,
4919
4929
  layout: props.layout,
4920
4930
  style,
@@ -6202,7 +6212,8 @@ var useMediaInTimeline = ({
6202
6212
  showInTimeline,
6203
6213
  premountDisplay,
6204
6214
  postmountDisplay,
6205
- loopDisplay
6215
+ loopDisplay,
6216
+ documentationLink
6206
6217
  }) => {
6207
6218
  const parentSequence = useContext24(SequenceContext);
6208
6219
  const startsAt = useMediaStartsAt();
@@ -6241,6 +6252,7 @@ var useMediaInTimeline = ({
6241
6252
  from: 0,
6242
6253
  parent: parentSequence?.id ?? null,
6243
6254
  displayName: finalDisplayName,
6255
+ documentationLink,
6244
6256
  rootId,
6245
6257
  volume: volumes,
6246
6258
  showInTimeline: true,
@@ -6276,6 +6288,7 @@ var useMediaInTimeline = ({
6276
6288
  premountDisplay,
6277
6289
  postmountDisplay,
6278
6290
  loopDisplay,
6291
+ documentationLink,
6279
6292
  rootId,
6280
6293
  finalDisplayName,
6281
6294
  isStudio
@@ -7359,7 +7372,8 @@ var AudioForDevelopmentForwardRefFunction = (props, ref) => {
7359
7372
  showInTimeline,
7360
7373
  premountDisplay: sequenceContext?.premountDisplay ?? null,
7361
7374
  postmountDisplay: sequenceContext?.postmountDisplay ?? null,
7362
- loopDisplay: undefined
7375
+ loopDisplay: undefined,
7376
+ documentationLink: name === undefined ? "https://www.remotion.dev/docs/html5-audio" : null
7363
7377
  });
7364
7378
  useMediaPlayback({
7365
7379
  mediaRef: audioRef,
@@ -7889,6 +7903,7 @@ var ImgInner = ({
7889
7903
  from: from ?? 0,
7890
7904
  durationInFrames: durationInFrames ?? Infinity,
7891
7905
  _remotionInternalStack: stack,
7906
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/img" : undefined,
7892
7907
  _remotionInternalIsMedia: { type: "image", src },
7893
7908
  name: name ?? "<Img>",
7894
7909
  _experimentalControls: controls,
@@ -8059,6 +8074,7 @@ var createEffect = (definition) => {
8059
8074
  const { calculateKey: userCalculateKey, validateParams } = definition;
8060
8075
  const widened = {
8061
8076
  ...definition,
8077
+ documentationLink: definition.documentationLink ?? null,
8062
8078
  calculateKey: (params) => {
8063
8079
  const disabled = params.disabled ?? false;
8064
8080
  return `${userCalculateKey(params)}-disabled-${disabled}`;
@@ -8737,7 +8753,8 @@ var VideoForDevelopmentRefForwardingFunction = (props2, ref) => {
8737
8753
  showInTimeline,
8738
8754
  premountDisplay: parentSequence?.premountDisplay ?? null,
8739
8755
  postmountDisplay: parentSequence?.postmountDisplay ?? null,
8740
- loopDisplay: undefined
8756
+ loopDisplay: undefined,
8757
+ documentationLink: name === undefined ? onlyWarnForMediaSeekingError ? "https://www.remotion.dev/docs/offthreadvideo" : "https://www.remotion.dev/docs/html5-video" : null
8741
8758
  });
8742
8759
  useMediaPlayback({
8743
8760
  mediaRef: videoRef,
@@ -9356,6 +9373,7 @@ var SeriesInner = (props2) => {
9356
9373
  startFrame += durationInFramesProp + offset;
9357
9374
  return /* @__PURE__ */ jsx35(Sequence, {
9358
9375
  name: name || "<Series.Sequence>",
9376
+ _remotionInternalDocumentationLink: name ? undefined : "https://www.remotion.dev/docs/series",
9359
9377
  from: currentStartFrame,
9360
9378
  durationInFrames: durationInFramesProp,
9361
9379
  ...passedProps,
@@ -9368,6 +9386,7 @@ var SeriesInner = (props2) => {
9368
9386
  children: /* @__PURE__ */ jsx35(Sequence, {
9369
9387
  layout: "none",
9370
9388
  name: "<Series>",
9389
+ _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/series",
9371
9390
  ...props2,
9372
9391
  children: childrenValue
9373
9392
  })
@@ -35118,6 +35137,7 @@ var AudioInner = (props) => {
35118
35137
  _remotionInternalStack: stack,
35119
35138
  _remotionInternalIsMedia: isMedia,
35120
35139
  name: name ?? "<Audio>",
35140
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/media/audio" : undefined,
35121
35141
  _experimentalControls: controls,
35122
35142
  _remotionInternalLoopDisplay: loopDisplay,
35123
35143
  showInTimeline: showInTimeline ?? true,
@@ -36071,6 +36091,7 @@ var VideoInner = ({
36071
36091
  _remotionInternalStack: stack,
36072
36092
  _remotionInternalIsMedia: isMedia,
36073
36093
  name: name ?? "<Video>",
36094
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/media/video" : undefined,
36074
36095
  _experimentalControls: controls,
36075
36096
  _remotionInternalLoopDisplay: loopDisplay,
36076
36097
  _remotionInternalEffects: memoizedEffectDefinitions,
@@ -37413,7 +37434,7 @@ import {
37413
37434
  import { BufferTarget, StreamTarget } from "mediabunny";
37414
37435
 
37415
37436
  // ../core/dist/esm/version.mjs
37416
- var VERSION2 = "4.0.465";
37437
+ var VERSION2 = "4.0.466";
37417
37438
 
37418
37439
  // ../web-renderer/dist/esm/index.mjs
37419
37440
  import { AudioSample, VideoSample } from "mediabunny";
package/dist/design.js CHANGED
@@ -7075,7 +7075,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
7075
7075
  var addSequenceStackTraces = (component) => {
7076
7076
  componentsToAddStacksTo.push(component);
7077
7077
  };
7078
- var VERSION = "4.0.465";
7078
+ var VERSION = "4.0.466";
7079
7079
  var checkMultipleRemotionVersions = () => {
7080
7080
  if (typeof globalThis === "undefined") {
7081
7081
  return;
@@ -8123,6 +8123,7 @@ var RegularSequenceRefForwardingFunction = ({
8123
8123
  _remotionInternalEffects,
8124
8124
  _remotionInternalLoopDisplay: loopDisplay,
8125
8125
  _remotionInternalStack: stack,
8126
+ _remotionInternalDocumentationLink: documentationLink,
8126
8127
  _remotionInternalPremountDisplay: premountDisplay,
8127
8128
  _remotionInternalPostmountDisplay: postmountDisplay,
8128
8129
  _remotionInternalIsMedia: isMedia,
@@ -8193,6 +8194,7 @@ var RegularSequenceRefForwardingFunction = ({
8193
8194
  const timelineClipName = useMemo14(() => {
8194
8195
  return name ?? "";
8195
8196
  }, [name]);
8197
+ const resolvedDocumentationLink = documentationLink ?? (name === undefined ? "https://www.remotion.dev/docs/sequence" : null);
8196
8198
  const env = useRemotionEnvironment();
8197
8199
  const inheritedStack = other?.stack ?? null;
8198
8200
  const stackRef = useRef6(null);
@@ -8208,6 +8210,7 @@ var RegularSequenceRefForwardingFunction = ({
8208
8210
  controls: controls ?? null,
8209
8211
  effects: _remotionInternalEffects ?? [],
8210
8212
  displayName: timelineClipName,
8213
+ documentationLink: resolvedDocumentationLink,
8211
8214
  duration: actualDurationInFrames,
8212
8215
  from,
8213
8216
  id,
@@ -8227,6 +8230,7 @@ var RegularSequenceRefForwardingFunction = ({
8227
8230
  controls: controls ?? null,
8228
8231
  effects: _remotionInternalEffects ?? [],
8229
8232
  displayName: timelineClipName,
8233
+ documentationLink: resolvedDocumentationLink,
8230
8234
  doesVolumeChange: isMedia.data.doesVolumeChange,
8231
8235
  duration: actualDurationInFrames,
8232
8236
  from,
@@ -8254,6 +8258,7 @@ var RegularSequenceRefForwardingFunction = ({
8254
8258
  duration: actualDurationInFrames,
8255
8259
  id,
8256
8260
  displayName: timelineClipName,
8261
+ documentationLink: resolvedDocumentationLink,
8257
8262
  parent: parentSequence?.id ?? null,
8258
8263
  type: "sequence",
8259
8264
  rootId,
@@ -8288,7 +8293,8 @@ var RegularSequenceRefForwardingFunction = ({
8288
8293
  env.isStudio,
8289
8294
  controls,
8290
8295
  _remotionInternalEffects,
8291
- isMedia
8296
+ isMedia,
8297
+ resolvedDocumentationLink
8292
8298
  ]);
8293
8299
  const endThreshold = Math.ceil(cumulatedFrom + from + durationInFrames - 1);
8294
8300
  const content = absoluteFrame < cumulatedFrom + from ? null : absoluteFrame > endThreshold ? null : children;
@@ -9076,6 +9082,7 @@ var AnimatedImageInner = ({
9076
9082
  layout: "none",
9077
9083
  durationInFrames: resolvedDuration,
9078
9084
  name: "<AnimatedImage>",
9085
+ _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/animatedimage",
9079
9086
  _experimentalControls: controls,
9080
9087
  _remotionInternalEffects: memoizedEffectDefinitions,
9081
9088
  ...sequenceProps,
@@ -9229,6 +9236,7 @@ var SolidOuter = forwardRef5(({
9229
9236
  _remotionInternalEffects: memoizedEffectDefinitions,
9230
9237
  durationInFrames,
9231
9238
  name: name ?? "<Solid>",
9239
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/solid" : undefined,
9232
9240
  ...props,
9233
9241
  children: /* @__PURE__ */ jsx14(SolidInner, {
9234
9242
  ref,
@@ -9469,6 +9477,7 @@ var HtmlInCanvasInner = forwardRef6(({
9469
9477
  return /* @__PURE__ */ jsx15(Sequence, {
9470
9478
  durationInFrames: resolvedDuration,
9471
9479
  name: name ?? "<HtmlInCanvas>",
9480
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/remotion/html-in-canvas" : undefined,
9472
9481
  _experimentalControls: controls,
9473
9482
  _remotionInternalEffects: memoizedEffectDefinitions,
9474
9483
  layout: "none",
@@ -9717,6 +9726,7 @@ var Loop = ({
9717
9726
  durationInFrames,
9718
9727
  from,
9719
9728
  name: name ?? "<Loop>",
9729
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/loop" : undefined,
9720
9730
  _remotionInternalLoopDisplay: loopDisplay,
9721
9731
  layout: props.layout,
9722
9732
  style,
@@ -11004,7 +11014,8 @@ var useMediaInTimeline = ({
11004
11014
  showInTimeline,
11005
11015
  premountDisplay,
11006
11016
  postmountDisplay,
11007
- loopDisplay
11017
+ loopDisplay,
11018
+ documentationLink
11008
11019
  }) => {
11009
11020
  const parentSequence = useContext24(SequenceContext);
11010
11021
  const startsAt = useMediaStartsAt();
@@ -11043,6 +11054,7 @@ var useMediaInTimeline = ({
11043
11054
  from: 0,
11044
11055
  parent: parentSequence?.id ?? null,
11045
11056
  displayName: finalDisplayName,
11057
+ documentationLink,
11046
11058
  rootId,
11047
11059
  volume: volumes,
11048
11060
  showInTimeline: true,
@@ -11078,6 +11090,7 @@ var useMediaInTimeline = ({
11078
11090
  premountDisplay,
11079
11091
  postmountDisplay,
11080
11092
  loopDisplay,
11093
+ documentationLink,
11081
11094
  rootId,
11082
11095
  finalDisplayName,
11083
11096
  isStudio
@@ -12161,7 +12174,8 @@ var AudioForDevelopmentForwardRefFunction = (props, ref) => {
12161
12174
  showInTimeline,
12162
12175
  premountDisplay: sequenceContext?.premountDisplay ?? null,
12163
12176
  postmountDisplay: sequenceContext?.postmountDisplay ?? null,
12164
- loopDisplay: undefined
12177
+ loopDisplay: undefined,
12178
+ documentationLink: name === undefined ? "https://www.remotion.dev/docs/html5-audio" : null
12165
12179
  });
12166
12180
  useMediaPlayback({
12167
12181
  mediaRef: audioRef,
@@ -12691,6 +12705,7 @@ var ImgInner = ({
12691
12705
  from: from ?? 0,
12692
12706
  durationInFrames: durationInFrames ?? Infinity,
12693
12707
  _remotionInternalStack: stack,
12708
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/img" : undefined,
12694
12709
  _remotionInternalIsMedia: { type: "image", src },
12695
12710
  name: name ?? "<Img>",
12696
12711
  _experimentalControls: controls,
@@ -12861,6 +12876,7 @@ var createEffect = (definition) => {
12861
12876
  const { calculateKey: userCalculateKey, validateParams } = definition;
12862
12877
  const widened = {
12863
12878
  ...definition,
12879
+ documentationLink: definition.documentationLink ?? null,
12864
12880
  calculateKey: (params) => {
12865
12881
  const disabled = params.disabled ?? false;
12866
12882
  return `${userCalculateKey(params)}-disabled-${disabled}`;
@@ -13539,7 +13555,8 @@ var VideoForDevelopmentRefForwardingFunction = (props2, ref) => {
13539
13555
  showInTimeline,
13540
13556
  premountDisplay: parentSequence?.premountDisplay ?? null,
13541
13557
  postmountDisplay: parentSequence?.postmountDisplay ?? null,
13542
- loopDisplay: undefined
13558
+ loopDisplay: undefined,
13559
+ documentationLink: name === undefined ? onlyWarnForMediaSeekingError ? "https://www.remotion.dev/docs/offthreadvideo" : "https://www.remotion.dev/docs/html5-video" : null
13543
13560
  });
13544
13561
  useMediaPlayback({
13545
13562
  mediaRef: videoRef,
@@ -14158,6 +14175,7 @@ var SeriesInner = (props2) => {
14158
14175
  startFrame += durationInFramesProp + offset;
14159
14176
  return /* @__PURE__ */ jsx35(Sequence, {
14160
14177
  name: name || "<Series.Sequence>",
14178
+ _remotionInternalDocumentationLink: name ? undefined : "https://www.remotion.dev/docs/series",
14161
14179
  from: currentStartFrame,
14162
14180
  durationInFrames: durationInFramesProp,
14163
14181
  ...passedProps,
@@ -14170,6 +14188,7 @@ var SeriesInner = (props2) => {
14170
14188
  children: /* @__PURE__ */ jsx35(Sequence, {
14171
14189
  layout: "none",
14172
14190
  name: "<Series>",
14191
+ _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/series",
14173
14192
  ...props2,
14174
14193
  children: childrenValue
14175
14194
  })
package/dist/experts.js CHANGED
@@ -2273,7 +2273,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
2273
2273
  var addSequenceStackTraces = (component) => {
2274
2274
  componentsToAddStacksTo.push(component);
2275
2275
  };
2276
- var VERSION = "4.0.465";
2276
+ var VERSION = "4.0.466";
2277
2277
  var checkMultipleRemotionVersions = () => {
2278
2278
  if (typeof globalThis === "undefined") {
2279
2279
  return;
@@ -3321,6 +3321,7 @@ var RegularSequenceRefForwardingFunction = ({
3321
3321
  _remotionInternalEffects,
3322
3322
  _remotionInternalLoopDisplay: loopDisplay,
3323
3323
  _remotionInternalStack: stack,
3324
+ _remotionInternalDocumentationLink: documentationLink,
3324
3325
  _remotionInternalPremountDisplay: premountDisplay,
3325
3326
  _remotionInternalPostmountDisplay: postmountDisplay,
3326
3327
  _remotionInternalIsMedia: isMedia,
@@ -3391,6 +3392,7 @@ var RegularSequenceRefForwardingFunction = ({
3391
3392
  const timelineClipName = useMemo14(() => {
3392
3393
  return name ?? "";
3393
3394
  }, [name]);
3395
+ const resolvedDocumentationLink = documentationLink ?? (name === undefined ? "https://www.remotion.dev/docs/sequence" : null);
3394
3396
  const env = useRemotionEnvironment();
3395
3397
  const inheritedStack = other?.stack ?? null;
3396
3398
  const stackRef = useRef6(null);
@@ -3406,6 +3408,7 @@ var RegularSequenceRefForwardingFunction = ({
3406
3408
  controls: controls ?? null,
3407
3409
  effects: _remotionInternalEffects ?? [],
3408
3410
  displayName: timelineClipName,
3411
+ documentationLink: resolvedDocumentationLink,
3409
3412
  duration: actualDurationInFrames,
3410
3413
  from,
3411
3414
  id,
@@ -3425,6 +3428,7 @@ var RegularSequenceRefForwardingFunction = ({
3425
3428
  controls: controls ?? null,
3426
3429
  effects: _remotionInternalEffects ?? [],
3427
3430
  displayName: timelineClipName,
3431
+ documentationLink: resolvedDocumentationLink,
3428
3432
  doesVolumeChange: isMedia.data.doesVolumeChange,
3429
3433
  duration: actualDurationInFrames,
3430
3434
  from,
@@ -3452,6 +3456,7 @@ var RegularSequenceRefForwardingFunction = ({
3452
3456
  duration: actualDurationInFrames,
3453
3457
  id,
3454
3458
  displayName: timelineClipName,
3459
+ documentationLink: resolvedDocumentationLink,
3455
3460
  parent: parentSequence?.id ?? null,
3456
3461
  type: "sequence",
3457
3462
  rootId,
@@ -3486,7 +3491,8 @@ var RegularSequenceRefForwardingFunction = ({
3486
3491
  env.isStudio,
3487
3492
  controls,
3488
3493
  _remotionInternalEffects,
3489
- isMedia
3494
+ isMedia,
3495
+ resolvedDocumentationLink
3490
3496
  ]);
3491
3497
  const endThreshold = Math.ceil(cumulatedFrom + from + durationInFrames - 1);
3492
3498
  const content = absoluteFrame < cumulatedFrom + from ? null : absoluteFrame > endThreshold ? null : children;
@@ -4274,6 +4280,7 @@ var AnimatedImageInner = ({
4274
4280
  layout: "none",
4275
4281
  durationInFrames: resolvedDuration,
4276
4282
  name: "<AnimatedImage>",
4283
+ _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/animatedimage",
4277
4284
  _experimentalControls: controls,
4278
4285
  _remotionInternalEffects: memoizedEffectDefinitions,
4279
4286
  ...sequenceProps,
@@ -4427,6 +4434,7 @@ var SolidOuter = forwardRef5(({
4427
4434
  _remotionInternalEffects: memoizedEffectDefinitions,
4428
4435
  durationInFrames,
4429
4436
  name: name ?? "<Solid>",
4437
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/solid" : undefined,
4430
4438
  ...props,
4431
4439
  children: /* @__PURE__ */ jsx14(SolidInner, {
4432
4440
  ref,
@@ -4667,6 +4675,7 @@ var HtmlInCanvasInner = forwardRef6(({
4667
4675
  return /* @__PURE__ */ jsx15(Sequence, {
4668
4676
  durationInFrames: resolvedDuration,
4669
4677
  name: name ?? "<HtmlInCanvas>",
4678
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/remotion/html-in-canvas" : undefined,
4670
4679
  _experimentalControls: controls,
4671
4680
  _remotionInternalEffects: memoizedEffectDefinitions,
4672
4681
  layout: "none",
@@ -4915,6 +4924,7 @@ var Loop = ({
4915
4924
  durationInFrames,
4916
4925
  from,
4917
4926
  name: name ?? "<Loop>",
4927
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/loop" : undefined,
4918
4928
  _remotionInternalLoopDisplay: loopDisplay,
4919
4929
  layout: props.layout,
4920
4930
  style,
@@ -6202,7 +6212,8 @@ var useMediaInTimeline = ({
6202
6212
  showInTimeline,
6203
6213
  premountDisplay,
6204
6214
  postmountDisplay,
6205
- loopDisplay
6215
+ loopDisplay,
6216
+ documentationLink
6206
6217
  }) => {
6207
6218
  const parentSequence = useContext24(SequenceContext);
6208
6219
  const startsAt = useMediaStartsAt();
@@ -6241,6 +6252,7 @@ var useMediaInTimeline = ({
6241
6252
  from: 0,
6242
6253
  parent: parentSequence?.id ?? null,
6243
6254
  displayName: finalDisplayName,
6255
+ documentationLink,
6244
6256
  rootId,
6245
6257
  volume: volumes,
6246
6258
  showInTimeline: true,
@@ -6276,6 +6288,7 @@ var useMediaInTimeline = ({
6276
6288
  premountDisplay,
6277
6289
  postmountDisplay,
6278
6290
  loopDisplay,
6291
+ documentationLink,
6279
6292
  rootId,
6280
6293
  finalDisplayName,
6281
6294
  isStudio
@@ -7359,7 +7372,8 @@ var AudioForDevelopmentForwardRefFunction = (props, ref) => {
7359
7372
  showInTimeline,
7360
7373
  premountDisplay: sequenceContext?.premountDisplay ?? null,
7361
7374
  postmountDisplay: sequenceContext?.postmountDisplay ?? null,
7362
- loopDisplay: undefined
7375
+ loopDisplay: undefined,
7376
+ documentationLink: name === undefined ? "https://www.remotion.dev/docs/html5-audio" : null
7363
7377
  });
7364
7378
  useMediaPlayback({
7365
7379
  mediaRef: audioRef,
@@ -7889,6 +7903,7 @@ var ImgInner = ({
7889
7903
  from: from ?? 0,
7890
7904
  durationInFrames: durationInFrames ?? Infinity,
7891
7905
  _remotionInternalStack: stack,
7906
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/img" : undefined,
7892
7907
  _remotionInternalIsMedia: { type: "image", src },
7893
7908
  name: name ?? "<Img>",
7894
7909
  _experimentalControls: controls,
@@ -8059,6 +8074,7 @@ var createEffect = (definition) => {
8059
8074
  const { calculateKey: userCalculateKey, validateParams } = definition;
8060
8075
  const widened = {
8061
8076
  ...definition,
8077
+ documentationLink: definition.documentationLink ?? null,
8062
8078
  calculateKey: (params) => {
8063
8079
  const disabled = params.disabled ?? false;
8064
8080
  return `${userCalculateKey(params)}-disabled-${disabled}`;
@@ -8737,7 +8753,8 @@ var VideoForDevelopmentRefForwardingFunction = (props2, ref) => {
8737
8753
  showInTimeline,
8738
8754
  premountDisplay: parentSequence?.premountDisplay ?? null,
8739
8755
  postmountDisplay: parentSequence?.postmountDisplay ?? null,
8740
- loopDisplay: undefined
8756
+ loopDisplay: undefined,
8757
+ documentationLink: name === undefined ? onlyWarnForMediaSeekingError ? "https://www.remotion.dev/docs/offthreadvideo" : "https://www.remotion.dev/docs/html5-video" : null
8741
8758
  });
8742
8759
  useMediaPlayback({
8743
8760
  mediaRef: videoRef,
@@ -9356,6 +9373,7 @@ var SeriesInner = (props2) => {
9356
9373
  startFrame += durationInFramesProp + offset;
9357
9374
  return /* @__PURE__ */ jsx35(Sequence, {
9358
9375
  name: name || "<Series.Sequence>",
9376
+ _remotionInternalDocumentationLink: name ? undefined : "https://www.remotion.dev/docs/series",
9359
9377
  from: currentStartFrame,
9360
9378
  durationInFrames: durationInFramesProp,
9361
9379
  ...passedProps,
@@ -9368,6 +9386,7 @@ var SeriesInner = (props2) => {
9368
9386
  children: /* @__PURE__ */ jsx35(Sequence, {
9369
9387
  layout: "none",
9370
9388
  name: "<Series>",
9389
+ _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/series",
9371
9390
  ...props2,
9372
9391
  children: childrenValue
9373
9392
  })
@@ -7075,7 +7075,7 @@ var getComponentsToAddStacksTo = () => componentsToAddStacksTo;
7075
7075
  var addSequenceStackTraces = (component) => {
7076
7076
  componentsToAddStacksTo.push(component);
7077
7077
  };
7078
- var VERSION = "4.0.465";
7078
+ var VERSION = "4.0.466";
7079
7079
  var checkMultipleRemotionVersions = () => {
7080
7080
  if (typeof globalThis === "undefined") {
7081
7081
  return;
@@ -8123,6 +8123,7 @@ var RegularSequenceRefForwardingFunction = ({
8123
8123
  _remotionInternalEffects,
8124
8124
  _remotionInternalLoopDisplay: loopDisplay,
8125
8125
  _remotionInternalStack: stack,
8126
+ _remotionInternalDocumentationLink: documentationLink,
8126
8127
  _remotionInternalPremountDisplay: premountDisplay,
8127
8128
  _remotionInternalPostmountDisplay: postmountDisplay,
8128
8129
  _remotionInternalIsMedia: isMedia,
@@ -8193,6 +8194,7 @@ var RegularSequenceRefForwardingFunction = ({
8193
8194
  const timelineClipName = useMemo14(() => {
8194
8195
  return name ?? "";
8195
8196
  }, [name]);
8197
+ const resolvedDocumentationLink = documentationLink ?? (name === undefined ? "https://www.remotion.dev/docs/sequence" : null);
8196
8198
  const env = useRemotionEnvironment();
8197
8199
  const inheritedStack = other?.stack ?? null;
8198
8200
  const stackRef = useRef6(null);
@@ -8208,6 +8210,7 @@ var RegularSequenceRefForwardingFunction = ({
8208
8210
  controls: controls ?? null,
8209
8211
  effects: _remotionInternalEffects ?? [],
8210
8212
  displayName: timelineClipName,
8213
+ documentationLink: resolvedDocumentationLink,
8211
8214
  duration: actualDurationInFrames,
8212
8215
  from,
8213
8216
  id,
@@ -8227,6 +8230,7 @@ var RegularSequenceRefForwardingFunction = ({
8227
8230
  controls: controls ?? null,
8228
8231
  effects: _remotionInternalEffects ?? [],
8229
8232
  displayName: timelineClipName,
8233
+ documentationLink: resolvedDocumentationLink,
8230
8234
  doesVolumeChange: isMedia.data.doesVolumeChange,
8231
8235
  duration: actualDurationInFrames,
8232
8236
  from,
@@ -8254,6 +8258,7 @@ var RegularSequenceRefForwardingFunction = ({
8254
8258
  duration: actualDurationInFrames,
8255
8259
  id,
8256
8260
  displayName: timelineClipName,
8261
+ documentationLink: resolvedDocumentationLink,
8257
8262
  parent: parentSequence?.id ?? null,
8258
8263
  type: "sequence",
8259
8264
  rootId,
@@ -8288,7 +8293,8 @@ var RegularSequenceRefForwardingFunction = ({
8288
8293
  env.isStudio,
8289
8294
  controls,
8290
8295
  _remotionInternalEffects,
8291
- isMedia
8296
+ isMedia,
8297
+ resolvedDocumentationLink
8292
8298
  ]);
8293
8299
  const endThreshold = Math.ceil(cumulatedFrom + from + durationInFrames - 1);
8294
8300
  const content = absoluteFrame < cumulatedFrom + from ? null : absoluteFrame > endThreshold ? null : children;
@@ -9076,6 +9082,7 @@ var AnimatedImageInner = ({
9076
9082
  layout: "none",
9077
9083
  durationInFrames: resolvedDuration,
9078
9084
  name: "<AnimatedImage>",
9085
+ _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/animatedimage",
9079
9086
  _experimentalControls: controls,
9080
9087
  _remotionInternalEffects: memoizedEffectDefinitions,
9081
9088
  ...sequenceProps,
@@ -9229,6 +9236,7 @@ var SolidOuter = forwardRef5(({
9229
9236
  _remotionInternalEffects: memoizedEffectDefinitions,
9230
9237
  durationInFrames,
9231
9238
  name: name ?? "<Solid>",
9239
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/solid" : undefined,
9232
9240
  ...props,
9233
9241
  children: /* @__PURE__ */ jsx14(SolidInner, {
9234
9242
  ref,
@@ -9469,6 +9477,7 @@ var HtmlInCanvasInner = forwardRef6(({
9469
9477
  return /* @__PURE__ */ jsx15(Sequence, {
9470
9478
  durationInFrames: resolvedDuration,
9471
9479
  name: name ?? "<HtmlInCanvas>",
9480
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/remotion/html-in-canvas" : undefined,
9472
9481
  _experimentalControls: controls,
9473
9482
  _remotionInternalEffects: memoizedEffectDefinitions,
9474
9483
  layout: "none",
@@ -9717,6 +9726,7 @@ var Loop = ({
9717
9726
  durationInFrames,
9718
9727
  from,
9719
9728
  name: name ?? "<Loop>",
9729
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/loop" : undefined,
9720
9730
  _remotionInternalLoopDisplay: loopDisplay,
9721
9731
  layout: props.layout,
9722
9732
  style,
@@ -11004,7 +11014,8 @@ var useMediaInTimeline = ({
11004
11014
  showInTimeline,
11005
11015
  premountDisplay,
11006
11016
  postmountDisplay,
11007
- loopDisplay
11017
+ loopDisplay,
11018
+ documentationLink
11008
11019
  }) => {
11009
11020
  const parentSequence = useContext24(SequenceContext);
11010
11021
  const startsAt = useMediaStartsAt();
@@ -11043,6 +11054,7 @@ var useMediaInTimeline = ({
11043
11054
  from: 0,
11044
11055
  parent: parentSequence?.id ?? null,
11045
11056
  displayName: finalDisplayName,
11057
+ documentationLink,
11046
11058
  rootId,
11047
11059
  volume: volumes,
11048
11060
  showInTimeline: true,
@@ -11078,6 +11090,7 @@ var useMediaInTimeline = ({
11078
11090
  premountDisplay,
11079
11091
  postmountDisplay,
11080
11092
  loopDisplay,
11093
+ documentationLink,
11081
11094
  rootId,
11082
11095
  finalDisplayName,
11083
11096
  isStudio
@@ -12161,7 +12174,8 @@ var AudioForDevelopmentForwardRefFunction = (props, ref) => {
12161
12174
  showInTimeline,
12162
12175
  premountDisplay: sequenceContext?.premountDisplay ?? null,
12163
12176
  postmountDisplay: sequenceContext?.postmountDisplay ?? null,
12164
- loopDisplay: undefined
12177
+ loopDisplay: undefined,
12178
+ documentationLink: name === undefined ? "https://www.remotion.dev/docs/html5-audio" : null
12165
12179
  });
12166
12180
  useMediaPlayback({
12167
12181
  mediaRef: audioRef,
@@ -12691,6 +12705,7 @@ var ImgInner = ({
12691
12705
  from: from ?? 0,
12692
12706
  durationInFrames: durationInFrames ?? Infinity,
12693
12707
  _remotionInternalStack: stack,
12708
+ _remotionInternalDocumentationLink: name === undefined ? "https://www.remotion.dev/docs/img" : undefined,
12694
12709
  _remotionInternalIsMedia: { type: "image", src },
12695
12710
  name: name ?? "<Img>",
12696
12711
  _experimentalControls: controls,
@@ -12861,6 +12876,7 @@ var createEffect = (definition) => {
12861
12876
  const { calculateKey: userCalculateKey, validateParams } = definition;
12862
12877
  const widened = {
12863
12878
  ...definition,
12879
+ documentationLink: definition.documentationLink ?? null,
12864
12880
  calculateKey: (params) => {
12865
12881
  const disabled = params.disabled ?? false;
12866
12882
  return `${userCalculateKey(params)}-disabled-${disabled}`;
@@ -13539,7 +13555,8 @@ var VideoForDevelopmentRefForwardingFunction = (props2, ref) => {
13539
13555
  showInTimeline,
13540
13556
  premountDisplay: parentSequence?.premountDisplay ?? null,
13541
13557
  postmountDisplay: parentSequence?.postmountDisplay ?? null,
13542
- loopDisplay: undefined
13558
+ loopDisplay: undefined,
13559
+ documentationLink: name === undefined ? onlyWarnForMediaSeekingError ? "https://www.remotion.dev/docs/offthreadvideo" : "https://www.remotion.dev/docs/html5-video" : null
13543
13560
  });
13544
13561
  useMediaPlayback({
13545
13562
  mediaRef: videoRef,
@@ -14158,6 +14175,7 @@ var SeriesInner = (props2) => {
14158
14175
  startFrame += durationInFramesProp + offset;
14159
14176
  return /* @__PURE__ */ jsx35(Sequence, {
14160
14177
  name: name || "<Series.Sequence>",
14178
+ _remotionInternalDocumentationLink: name ? undefined : "https://www.remotion.dev/docs/series",
14161
14179
  from: currentStartFrame,
14162
14180
  durationInFrames: durationInFramesProp,
14163
14181
  ...passedProps,
@@ -14170,6 +14188,7 @@ var SeriesInner = (props2) => {
14170
14188
  children: /* @__PURE__ */ jsx35(Sequence, {
14171
14189
  layout: "none",
14172
14190
  name: "<Series>",
14191
+ _remotionInternalDocumentationLink: "https://www.remotion.dev/docs/series",
14173
14192
  ...props2,
14174
14193
  children: childrenValue
14175
14194
  })