remotion 3.0.0-lambda.274 → 3.0.0-lambda.295

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.
Files changed (74) hide show
  1. package/coverage/coverage-summary.json +10 -10
  2. package/dist/Still.d.ts +1 -0
  3. package/dist/Still.d.ts.map +1 -1
  4. package/dist/audio/Audio.d.ts +1 -1
  5. package/dist/audio/AudioForDevelopment.d.ts +1 -1
  6. package/dist/audio/AudioForRendering.d.ts +1 -1
  7. package/dist/audio/audio-buffer-to-wav.d.ts +15 -0
  8. package/dist/audio/audio-buffer-to-wav.d.ts.map +1 -0
  9. package/dist/audio/audio-buffer-to-wav.js +91 -0
  10. package/dist/audio/audio-buffer-to-wav.js.map +1 -0
  11. package/dist/audio/audio-url-helpers.d.ts +2 -0
  12. package/dist/audio/audio-url-helpers.d.ts.map +1 -0
  13. package/dist/audio/audio-url-helpers.js +17 -0
  14. package/dist/audio/audio-url-helpers.js.map +1 -0
  15. package/dist/config/image-format.d.ts +1 -1
  16. package/dist/config/index.d.ts +8 -3
  17. package/dist/config/index.d.ts.map +1 -1
  18. package/dist/config/index.js +6 -0
  19. package/dist/config/index.js.map +1 -1
  20. package/dist/config/log.d.ts +1 -1
  21. package/dist/config/timeout.d.ts +3 -0
  22. package/dist/config/timeout.d.ts.map +1 -0
  23. package/dist/config/timeout.js +18 -0
  24. package/dist/config/timeout.js.map +1 -0
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.d.ts.map +1 -1
  27. package/dist/index.js.map +1 -1
  28. package/dist/internals.d.ts +11 -6
  29. package/dist/internals.d.ts.map +1 -1
  30. package/dist/internals.js +7 -0
  31. package/dist/internals.js.map +1 -1
  32. package/dist/ready-manager.d.ts.map +1 -1
  33. package/dist/ready-manager.js +6 -3
  34. package/dist/ready-manager.js.map +1 -1
  35. package/dist/timeout.d.ts +4 -0
  36. package/dist/timeout.d.ts.map +1 -0
  37. package/dist/timeout.js +14 -0
  38. package/dist/timeout.js.map +1 -0
  39. package/dist/video/Video.d.ts +1 -1
  40. package/dist/video/VideoForDevelopment.d.ts +1 -1
  41. package/dist/video/VideoForRendering.d.ts +1 -1
  42. package/package.json +2 -2
  43. package/dist/component-type.d.ts +0 -1
  44. package/dist/component-type.d.ts.map +0 -1
  45. package/dist/component-type.js +0 -2
  46. package/dist/component-type.js.map +0 -1
  47. package/dist/serie/flatten-children.d.ts +0 -3
  48. package/dist/serie/flatten-children.d.ts.map +0 -1
  49. package/dist/serie/flatten-children.js +0 -19
  50. package/dist/serie/flatten-children.js.map +0 -1
  51. package/dist/serie/index.d.ts +0 -12
  52. package/dist/serie/index.d.ts.map +0 -1
  53. package/dist/serie/index.js +0 -55
  54. package/dist/serie/index.js.map +0 -1
  55. package/dist/setup-environment.d.ts +0 -6
  56. package/dist/setup-environment.d.ts.map +0 -1
  57. package/dist/setup-environment.js +0 -47
  58. package/dist/setup-environment.js.map +0 -1
  59. package/dist/stagger/index.d.ts +0 -10
  60. package/dist/stagger/index.d.ts.map +0 -1
  61. package/dist/stagger/index.js +0 -54
  62. package/dist/stagger/index.js.map +0 -1
  63. package/dist/use-current-src.d.ts +0 -3
  64. package/dist/use-current-src.d.ts.map +0 -1
  65. package/dist/use-current-src.js +0 -23
  66. package/dist/use-current-src.js.map +0 -1
  67. package/dist/use-current-time.d.ts +0 -2
  68. package/dist/use-current-time.d.ts.map +0 -1
  69. package/dist/use-current-time.js +0 -12
  70. package/dist/use-current-time.js.map +0 -1
  71. package/dist/use-time.d.ts +0 -2
  72. package/dist/use-time.d.ts.map +0 -1
  73. package/dist/use-time.js +0 -15
  74. package/dist/use-time.js.map +0 -1
@@ -74,11 +74,11 @@ export declare const Internals: {
74
74
  getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
75
75
  getActualCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
76
76
  setFrameRangeFromCli: (newFrameRange: string | number) => void;
77
- getUserPreferredImageFormat: () => "none" | "png" | "jpeg" | undefined;
78
- validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "none" | "png" | "jpeg") => "none" | "valid";
77
+ getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
78
+ validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "png" | "jpeg" | "none") => "none" | "valid";
79
79
  validateSelectedPixelFormatAndCodecCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => void;
80
80
  validateFrameRange: (frameRange: import("./config/frame-range").FrameRange | null) => void;
81
- validateNonNullImageFormat: (imageFormat: "none" | "png" | "jpeg") => void;
81
+ validateNonNullImageFormat: (imageFormat: "png" | "jpeg" | "none") => void;
82
82
  getWebpackCaching: () => boolean;
83
83
  useLazyComponent: <T>(compProps: CompProps<T>) => import("react").LazyExoticComponent<LooseAnyComponent<T>>;
84
84
  truthy: typeof truthy;
@@ -103,9 +103,9 @@ export declare const Internals: {
103
103
  validateFps: (fps: number, location: string) => void;
104
104
  validateDimension: (amount: number, nameOfProp: string, location: string) => void;
105
105
  getRemotionEnvironment: () => RemotionEnvironment;
106
- getProResProfile: () => "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined;
107
- setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
108
- validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
106
+ getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
107
+ setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
108
+ validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
109
109
  getMaxTimelineTracks: () => number;
110
110
  SharedAudioContext: import("react").Context<{
111
111
  registerAudio: (aud: import("./audio").RemotionAudioProps) => {
@@ -133,6 +133,11 @@ export declare const Internals: {
133
133
  isInLambda: () => boolean;
134
134
  AssetCompression: typeof AssetCompression;
135
135
  defaultOverrideFunction: WebpackOverrideFn;
136
+ DEFAULT_PUPPETEER_TIMEOUT: number;
137
+ PUPPETEER_TIMEOUT_KEY: string;
138
+ setupPuppeteerTimeout: () => void;
139
+ setPuppeteerTimeout: (newPuppeteerTimeout: number) => void;
140
+ getCurrentPuppeteerTimeout: () => number;
136
141
  };
137
142
  export type { TComposition, Timeline, TCompMetadata, TSequence, WebpackOverrideFn, TAsset, RenderAssetInfo, TimelineContextValue, SetTimelineContextValue, TimelineInOutContextValue, SetTimelineInOutContextValue, CompProps, CompositionManagerContext, MediaVolumeContextValue, SetMediaVolumeContextValue, LooseAnyComponent, RemotionEnvironment, ProResProfile, };
138
143
  //# sourceMappingURL=internals.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAKlD,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAEN,yBAAyB,EACzB,eAAe,EAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFrB,CAAC;AAEF,YAAY,EACX,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,EACzB,4BAA4B,EAC5B,SAAS,EACT,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,GACb,CAAC"}
package/dist/internals.js CHANGED
@@ -70,6 +70,8 @@ const validate_quality_1 = require("./validation/validate-quality");
70
70
  const volume_position_state_1 = require("./volume-position-state");
71
71
  const wrap_remotion_context_1 = require("./wrap-remotion-context");
72
72
  const AssetCompression = __importStar(require("./compress-assets"));
73
+ const timeout_1 = require("./timeout");
74
+ const timeout_2 = require("./config/timeout");
73
75
  const Timeline = { ...TimelinePosition, ...TimelineInOutPosition };
74
76
  // Mark them as Internals so use don't assume this is public
75
77
  // API and are less likely to use it
@@ -153,5 +155,10 @@ exports.Internals = {
153
155
  isInLambda: () => { var _a; return Boolean((_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.LAMBDA_TASK_ROOT); },
154
156
  AssetCompression,
155
157
  defaultOverrideFunction: override_webpack_1.defaultOverrideFunction,
158
+ DEFAULT_PUPPETEER_TIMEOUT: timeout_1.DEFAULT_PUPPETEER_TIMEOUT,
159
+ PUPPETEER_TIMEOUT_KEY: timeout_1.PUPPETEER_TIMEOUT_KEY,
160
+ setupPuppeteerTimeout: timeout_1.setupPuppeteerTimeout,
161
+ setPuppeteerTimeout: timeout_2.setPuppeteerTimeout,
162
+ getCurrentPuppeteerTimeout: timeout_2.getCurrentPuppeteerTimeout,
156
163
  };
157
164
  //# sourceMappingURL=internals.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"internals.js","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;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CAAkB;IAClB,8BAA8B,EAA9B,wDAA8B;IAC9B,oBAAoB,EAApB,8CAAoB;IACpB,iBAAiB,EAAjB,6BAAiB;IACjB,UAAU,EAAE,GAAG,EAAE,WAAC,OAAA,OAAO,CAAC,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,0CAAE,gBAAgB,CAAC,CAAA,EAAA;IACzD,gBAAgB;IAChB,uBAAuB,EAAvB,0CAAuB;IACvB,yBAAyB,EAAzB,mCAAyB;IACzB,qBAAqB,EAArB,+BAAqB;IACrB,qBAAqB,EAArB,+BAAqB;IACrB,mBAAmB,EAAnB,6BAAmB;IACnB,0BAA0B,EAA1B,oCAA0B;CAC1B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ready-manager.d.ts","sourceRoot":"","sources":["../src/ready-manager.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,WAAW,QAAO,MAmB9B,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,MAAM,KAAG,IAe/C,CAAC"}
1
+ {"version":3,"file":"ready-manager.d.ts","sourceRoot":"","sources":["../src/ready-manager.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,WAAW,QAAO,MAsB9B,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,MAAM,KAAG,IAe/C,CAAC"}
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.continueRender = exports.delayRender = void 0;
4
4
  const get_environment_1 = require("./get-environment");
5
+ const timeout_1 = require("./timeout");
5
6
  if (typeof window !== 'undefined') {
6
7
  window.ready = false;
7
8
  }
@@ -13,10 +14,12 @@ const delayRender = () => {
13
14
  handles.push(handle);
14
15
  const called = (_b = (_a = Error().stack) === null || _a === void 0 ? void 0 : _a.replace(/^Error/g, '')) !== null && _b !== void 0 ? _b : '';
15
16
  if ((0, get_environment_1.getRemotionEnvironment)() === 'rendering') {
17
+ const timeoutToUse = typeof window === 'undefined'
18
+ ? timeout_1.DEFAULT_PUPPETEER_TIMEOUT
19
+ : window.remotion_puppeteerTimeout - 2000;
16
20
  timeouts[handle] = setTimeout(() => {
17
- throw new Error('A delayRender was called but not cleared after 25000ms. See https://remotion.dev/docs/timeout for help. The delayRender was called: ' +
18
- called);
19
- }, 25000);
21
+ throw new Error(`A delayRender was called but not cleared after ${timeoutToUse}ms. See https://remotion.dev/docs/timeout for help. The delayRender was called: ${called}`);
22
+ }, timeoutToUse);
20
23
  }
21
24
  if (typeof window !== 'undefined') {
22
25
  window.ready = false;
@@ -1 +1 @@
1
- {"version":3,"file":"ready-manager.js","sourceRoot":"","sources":["../src/ready-manager.ts"],"names":[],"mappings":";;;AAAA,uDAAyD;AAEzD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;IAClC,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;CACrB;AAED,IAAI,OAAO,GAAa,EAAE,CAAC;AAC3B,MAAM,QAAQ,GAA6C,EAAE,CAAC;AAEvD,MAAM,WAAW,GAAG,GAAW,EAAE;;IACvC,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACrB,MAAM,MAAM,GAAG,MAAA,MAAA,KAAK,EAAE,CAAC,KAAK,0CAAE,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,mCAAI,EAAE,CAAC;IAE3D,IAAI,IAAA,wCAAsB,GAAE,KAAK,WAAW,EAAE;QAC7C,QAAQ,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC,GAAG,EAAE;YAClC,MAAM,IAAI,KAAK,CACd,sIAAsI;gBACrI,MAAM,CACP,CAAC;QACH,CAAC,EAAE,KAAK,CAAC,CAAC;KACV;IAED,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QAClC,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;KACrB;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAnBW,QAAA,WAAW,eAmBtB;AAEK,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QAAQ,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC,GAAG,EAAE;YAClC,MAAM,IAAI,KAAK,CACd,kDAAkD,YAAY,mFAAmF,MAAM,EAAE,CACzJ,CAAC;QACH,CAAC,EAAE,YAAY,CAAC,CAAC;KACjB;IAED,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QAClC,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;KACrB;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAtBW,QAAA,WAAW,eAsBtB;AAEK,MAAM,cAAc,GAAG,CAAC,MAAc,EAAQ,EAAE;IACtD,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE;QAC9B,IAAI,CAAC,KAAK,MAAM,EAAE;YACjB,IAAI,IAAA,wCAAsB,GAAE,KAAK,WAAW,EAAE;gBAC7C,YAAY,CAAC,QAAQ,CAAC,MAAM,CAAW,CAAC,CAAC;aACzC;YAED,OAAO,KAAK,CAAC;SACb;QAED,OAAO,IAAI,CAAC;IACb,CAAC,CAAC,CAAC;IACH,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QAC1D,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;KACpB;AACF,CAAC,CAAC;AAfW,QAAA,cAAc,kBAezB"}
@@ -0,0 +1,4 @@
1
+ export declare const DEFAULT_PUPPETEER_TIMEOUT = 30000;
2
+ export declare const PUPPETEER_TIMEOUT_KEY = "remotion.puppeteerTimeout";
3
+ export declare const setupPuppeteerTimeout: () => void;
4
+ //# sourceMappingURL=timeout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeout.d.ts","sourceRoot":"","sources":["../src/timeout.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,QAAQ,CAAC;AAE/C,eAAO,MAAM,qBAAqB,8BAA8B,CAAC;AAOjE,eAAO,MAAM,qBAAqB,YAEjC,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.setupPuppeteerTimeout = exports.PUPPETEER_TIMEOUT_KEY = exports.DEFAULT_PUPPETEER_TIMEOUT = void 0;
4
+ exports.DEFAULT_PUPPETEER_TIMEOUT = 30000;
5
+ exports.PUPPETEER_TIMEOUT_KEY = 'remotion.puppeteerTimeout';
6
+ const getPuppeteerTimeout = () => {
7
+ const param = localStorage.getItem(exports.PUPPETEER_TIMEOUT_KEY);
8
+ return param ? Number(param) : exports.DEFAULT_PUPPETEER_TIMEOUT;
9
+ };
10
+ const setupPuppeteerTimeout = () => {
11
+ window.remotion_puppeteerTimeout = getPuppeteerTimeout();
12
+ };
13
+ exports.setupPuppeteerTimeout = setupPuppeteerTimeout;
14
+ //# sourceMappingURL=timeout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"timeout.js","sourceRoot":"","sources":["../src/timeout.ts"],"names":[],"mappings":";;;AAAa,QAAA,yBAAyB,GAAG,KAAK,CAAC;AAElC,QAAA,qBAAqB,GAAG,2BAA2B,CAAC;AAEjE,MAAM,mBAAmB,GAAG,GAAW,EAAE;IACxC,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,6BAAqB,CAAC,CAAC;IAC1D,OAAO,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,iCAAyB,CAAC;AAC1D,CAAC,CAAC;AAEK,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACzC,MAAM,CAAC,yBAAyB,GAAG,mBAAmB,EAAE,CAAC;AAC1D,CAAC,CAAC;AAFW,QAAA,qBAAqB,yBAEhC"}
@@ -3,5 +3,5 @@ import { RemotionMainVideoProps } from './props';
3
3
  export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "autoPlay" | "controls" | "loop"> & {
4
4
  volume?: import("../volume-prop").VolumeProp | undefined;
5
5
  playbackRate?: number | undefined;
6
- } & RemotionMainVideoProps, "id" | "height" | "width" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "poster" | "disablePictureInPicture" | "disableRemotePlayback" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
6
+ } & RemotionMainVideoProps, "id" | "height" | "width" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "poster" | "disablePictureInPicture" | "disableRemotePlayback" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
7
7
  //# sourceMappingURL=Video.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { RemotionVideoProps } from './props';
3
- export declare const VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "id" | "height" | "width" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
3
+ export declare const VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "id" | "height" | "width" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
4
4
  //# sourceMappingURL=VideoForDevelopment.d.ts.map
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { RemotionVideoProps } from './props';
3
- export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "id" | "height" | "width" | "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
3
+ export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "id" | "height" | "width" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
4
4
  //# sourceMappingURL=VideoForRendering.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "3.0.0-lambda.274+a3183304a",
3
+ "version": "3.0.0-lambda.295+27d414600",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "a3183304a37b03504e6192bb9a05624da48a3bd0"
42
+ "gitHead": "27d414600609e5076fc3b6144a352389dcb22f83"
43
43
  }
@@ -1 +0,0 @@
1
- //# sourceMappingURL=component-type.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-type.d.ts","sourceRoot":"","sources":["../src/component-type.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=component-type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-type.js","sourceRoot":"","sources":["../src/component-type.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import React from 'react';
2
- export declare const flattenChildren: (children: React.ReactNode) => (string | number | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactNodeArray | React.ReactPortal)[];
3
- //# sourceMappingURL=flatten-children.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flatten-children.d.ts","sourceRoot":"","sources":["../../src/serie/flatten-children.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,eAAO,MAAM,eAAe,aAAc,MAAM,SAAS,yNAYxD,CAAC"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.flattenChildren = void 0;
7
- const react_1 = __importDefault(require("react"));
8
- const flattenChildren = (children) => {
9
- const childrenArray = react_1.default.Children.toArray(children);
10
- return childrenArray.reduce((flatChildren, child) => {
11
- if (child.type === react_1.default.Fragment) {
12
- return flatChildren.concat(exports.flattenChildren(child.props.children));
13
- }
14
- flatChildren.push(child);
15
- return flatChildren;
16
- }, []);
17
- };
18
- exports.flattenChildren = flattenChildren;
19
- //# sourceMappingURL=flatten-children.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flatten-children.js","sourceRoot":"","sources":["../../src/serie/flatten-children.tsx"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAInB,MAAM,eAAe,GAAG,CAAC,QAAyB,EAAmB,EAAE;IAC7E,MAAM,aAAa,GAAG,eAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACvD,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC,YAA6B,EAAE,KAAK,EAAE,EAAE;QACpE,IAAK,KAAqC,CAAC,IAAI,KAAK,eAAK,CAAC,QAAQ,EAAE;YACnE,OAAO,YAAY,CAAC,MAAM,CACzB,uBAAe,CAAE,KAAiC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAClE,CAAC;SACF;QAED,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACzB,OAAO,YAAY,CAAC;IACrB,CAAC,EAAE,EAAE,CAAC,CAAC;AACR,CAAC,CAAC;AAZW,QAAA,eAAe,mBAY1B"}
@@ -1,12 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { SequenceProps } from '../sequencing';
3
- declare type SeriesSequenceProps = PropsWithChildren<{
4
- durationInFrames: number;
5
- offset?: number;
6
- } & Pick<SequenceProps, 'layout' | 'name'>>;
7
- declare const SeriesSequence: ({ children }: SeriesSequenceProps) => JSX.Element;
8
- declare const Series: FC & {
9
- Sequence: typeof SeriesSequence;
10
- };
11
- export { Series as Serie };
12
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/serie/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAW,EAAE,EAAE,iBAAiB,EAAU,MAAM,OAAO,CAAC;AACtE,OAAO,EAAW,aAAa,EAAC,MAAM,eAAe,CAAC;AAItD,aAAK,mBAAmB,GAAG,iBAAiB,CAC3C;IACC,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,MAAM,CAAC,CAC1C,CAAC;AAEF,QAAA,MAAM,cAAc,iBAAgB,mBAAmB,gBAGtD,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,EAAE,GAAG;IAClB,QAAQ,EAAE,OAAO,cAAc,CAAC;CA6EhC,CAAC;AAIF,OAAO,EAAC,MAAM,IAAI,KAAK,EAAC,CAAC"}
@@ -1,55 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Serie = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = require("react");
6
- const sequencing_1 = require("../sequencing");
7
- const validate_duration_in_frames_1 = require("../validation/validate-duration-in-frames");
8
- const flatten_children_1 = require("./flatten-children");
9
- const SeriesSequence = ({ children }) => {
10
- // eslint-disable-next-line react/jsx-no-useless-fragment
11
- return jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: children }, void 0);
12
- };
13
- const Series = ({ children }) => {
14
- const childrenValue = react_1.useMemo(() => {
15
- let startFrame = 0;
16
- return react_1.Children.map(flatten_children_1.flattenChildren(children), (child, i) => {
17
- var _a;
18
- const castedChild = child;
19
- if (typeof castedChild === 'string') {
20
- if (castedChild.trim() === '') {
21
- return null;
22
- }
23
- throw new TypeError(`The <Serie> component only accepts a list of <Serie.Sequence /> components as it's children, but you passed a string "${castedChild}"`);
24
- }
25
- if (castedChild.type !== SeriesSequence) {
26
- throw new TypeError("The <Serie> component only accepts a list of <Serie.Sequence /> components as it's children");
27
- }
28
- const debugInfo = `index = ${i}, duration = ${castedChild.props.durationInFrames}`;
29
- if (!castedChild || !castedChild.props.children) {
30
- throw new TypeError(`A <Serie.Sequence /> component (${debugInfo}) doesn't have any children.`);
31
- }
32
- const durationInFramesProp = castedChild.props.durationInFrames;
33
- const { durationInFrames, children: _children, ...passedProps } = castedChild.props;
34
- validate_duration_in_frames_1.validateDurationInFrames(durationInFramesProp, `<Serie.Sequence />`);
35
- const offset = (_a = castedChild.props.offset) !== null && _a !== void 0 ? _a : 0;
36
- if (Number.isNaN(offset)) {
37
- throw new TypeError(`The "offset" property of a <Serie.Sequence /> must not be NaN, but got NaN (${debugInfo}).`);
38
- }
39
- if (!Number.isFinite(offset)) {
40
- throw new TypeError(`The "offset" property of a <Serie.Sequence /> must be finite, but got ${offset} (${debugInfo}).`);
41
- }
42
- if (offset % 1 !== 0) {
43
- throw new TypeError(`The "offset" property of a <Serie.Sequence /> must be finite, but got ${offset} (${debugInfo}).`);
44
- }
45
- const currentStartFrame = startFrame + offset;
46
- startFrame += durationInFramesProp + offset;
47
- return (jsx_runtime_1.jsx(sequencing_1.Sequence, Object.assign({ from: currentStartFrame, durationInFrames: durationInFramesProp }, passedProps, { children: child }), void 0));
48
- });
49
- }, [children]);
50
- /* eslint-disable react/jsx-no-useless-fragment */
51
- return jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: childrenValue }, void 0);
52
- };
53
- exports.Serie = Series;
54
- Series.Sequence = SeriesSequence;
55
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/serie/index.tsx"],"names":[],"mappings":";;;;AAAA,iCAAsE;AACtE,8CAAsD;AACtD,2FAAmF;AACnF,yDAAmD;AASnD,MAAM,cAAc,GAAG,CAAC,EAAC,QAAQ,EAAsB,EAAE,EAAE;IAC1D,yDAAyD;IACzD,OAAO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,MAAM,IAAI,SAAS,CAClB,+EAA+E,SAAS,IAAI,CAC5F,CAAC;aACF;YAED,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;gBAC7B,MAAM,IAAI,SAAS,CAClB,yEAAyE,MAAM,KAAK,SAAS,IAAI,CACjG,CAAC;aACF;YAED,IAAI,MAAM,GAAG,CAAC,KAAK,CAAC,EAAE;gBACrB,MAAM,IAAI,SAAS,CAClB,yEAAyE,MAAM,KAAK,SAAS,IAAI,CACjG,CAAC;aACF;YAED,MAAM,iBAAiB,GAAG,UAAU,GAAG,MAAM,CAAC;YAC9C,UAAU,IAAI,oBAAoB,GAAG,MAAM,CAAC;YAC5C,OAAO,CACN,kBAAC,qBAAQ,kBACR,IAAI,EAAE,iBAAiB,EACvB,gBAAgB,EAAE,oBAAoB,IAClC,WAAW,cAEd,KAAK,YACI,CACX,CAAC;QACH,CAAC,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,kDAAkD;IAClD,OAAO,sDAAG,aAAa,WAAI,CAAC;AAC7B,CAAC,CAAC;AAIgB,uBAAK;AAFvB,MAAM,CAAC,QAAQ,GAAG,cAAc,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const ENV_VARIABLES_LOCAL_STORAGE_KEY = "remotion.envVariables";
2
- export declare const INITIAL_FRAME_LOCAL_STORAGE_KEY = "remotion.initialFrame";
3
- export declare const ENV_VARIABLES_ENV_NAME: "ENV_VARIABLES";
4
- export declare const setupEnvVariables: () => void;
5
- export declare const setupInitialFrame: () => void;
6
- //# sourceMappingURL=setup-environment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-environment.d.ts","sourceRoot":"","sources":["../src/setup-environment.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,+BAA+B,0BAA0B,CAAC;AACvE,eAAO,MAAM,+BAA+B,0BAA0B,CAAC;AACvE,eAAO,MAAM,sBAAsB,iBAA2B,CAAC;AA+B/D,eAAO,MAAM,iBAAiB,YAa7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,YAE7B,CAAC"}
@@ -1,47 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.setupInitialFrame = exports.setupEnvVariables = exports.ENV_VARIABLES_ENV_NAME = exports.INITIAL_FRAME_LOCAL_STORAGE_KEY = exports.ENV_VARIABLES_LOCAL_STORAGE_KEY = void 0;
4
- const get_environment_1 = require("./get-environment");
5
- exports.ENV_VARIABLES_LOCAL_STORAGE_KEY = 'remotion.envVariables';
6
- exports.INITIAL_FRAME_LOCAL_STORAGE_KEY = 'remotion.initialFrame';
7
- exports.ENV_VARIABLES_ENV_NAME = 'ENV_VARIABLES';
8
- const getInitialFrame = () => {
9
- const param = localStorage.getItem(exports.INITIAL_FRAME_LOCAL_STORAGE_KEY);
10
- return param ? Number(param) : 0;
11
- };
12
- const getEnvVariables = () => {
13
- if (get_environment_1.getRemotionEnvironment() === 'rendering') {
14
- const param = localStorage.getItem(exports.ENV_VARIABLES_LOCAL_STORAGE_KEY);
15
- if (!param) {
16
- return {};
17
- }
18
- return { ...JSON.parse(param), NODE_ENV: process.env.NODE_ENV };
19
- }
20
- if (get_environment_1.getRemotionEnvironment() === 'preview') {
21
- // Webpack will convert this to an object at compile time.
22
- // Don't convert this syntax to a computed property.
23
- return {
24
- ...process.env.ENV_VARIABLES,
25
- NODE_ENV: process.env.NODE_ENV,
26
- };
27
- }
28
- throw new Error('Can only call getEnvVariables() if environment is `rendering` or `preview`');
29
- };
30
- const setupEnvVariables = () => {
31
- const env = getEnvVariables();
32
- if (!window.process) {
33
- window.process = {};
34
- }
35
- if (!window.process.env) {
36
- window.process.env = {};
37
- }
38
- Object.keys(env).forEach((key) => {
39
- window.process.env[key] = env[key];
40
- });
41
- };
42
- exports.setupEnvVariables = setupEnvVariables;
43
- const setupInitialFrame = () => {
44
- window.remotion_initialFrame = getInitialFrame();
45
- };
46
- exports.setupInitialFrame = setupInitialFrame;
47
- //# sourceMappingURL=setup-environment.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-environment.js","sourceRoot":"","sources":["../src/setup-environment.ts"],"names":[],"mappings":";;;AAAA,uDAAyD;AAE5C,QAAA,+BAA+B,GAAG,uBAAuB,CAAC;AAC1D,QAAA,+BAA+B,GAAG,uBAAuB,CAAC;AAC1D,QAAA,sBAAsB,GAAG,eAAwB,CAAC;AAE/D,MAAM,eAAe,GAAG,GAAW,EAAE;IACpC,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,uCAA+B,CAAC,CAAC;IACpE,OAAO,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAClC,CAAC,CAAC;AAEF,MAAM,eAAe,GAAG,GAA2B,EAAE;IACpD,IAAI,wCAAsB,EAAE,KAAK,WAAW,EAAE;QAC7C,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,uCAA+B,CAAC,CAAC;QACpE,IAAI,CAAC,KAAK,EAAE;YACX,OAAO,EAAE,CAAC;SACV;QAED,OAAO,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAC,CAAC;KAC9D;IAED,IAAI,wCAAsB,EAAE,KAAK,SAAS,EAAE;QAC3C,0DAA0D;QAC1D,oDAAoD;QACpD,OAAO;YACN,GAAK,OAAO,CAAC,GAAG,CAAC,aAAoD;YACrE,QAAQ,EAAE,OAAO,CAAC,GAAG,CAAC,QAAkB;SACxC,CAAC;KACF;IAED,MAAM,IAAI,KAAK,CACd,4EAA4E,CAC5E,CAAC;AACH,CAAC,CAAC;AAEK,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACrC,MAAM,GAAG,GAAG,eAAe,EAAE,CAAC;IAC9B,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE;QACpB,MAAM,CAAC,OAAO,GAAG,EAAoB,CAAC;KACtC;IAED,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE;QACxB,MAAM,CAAC,OAAO,CAAC,GAAG,GAAG,EAAE,CAAC;KACxB;IAED,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AAbW,QAAA,iBAAiB,qBAa5B;AAEK,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACrC,MAAM,CAAC,qBAAqB,GAAG,eAAe,EAAE,CAAC;AAClD,CAAC,CAAC;AAFW,QAAA,iBAAiB,qBAE5B"}
@@ -1,10 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { SequenceProps } from '../sequencing';
3
- declare type StaggerChildProps = PropsWithChildren<{
4
- durationInFrames: number;
5
- offset?: number;
6
- } & Pick<SequenceProps, 'layout' | 'name'>>;
7
- declare const StaggerChild: ({ children }: StaggerChildProps) => JSX.Element;
8
- declare const Stagger: FC;
9
- export { Stagger, StaggerChild };
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/stagger/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAW,EAAE,EAAE,iBAAiB,EAAU,MAAM,OAAO,CAAC;AACtE,OAAO,EAAW,aAAa,EAAC,MAAM,eAAe,CAAC;AAGtD,aAAK,iBAAiB,GAAG,iBAAiB,CACzC;IACC,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,MAAM,CAAC,CAC1C,CAAC;AAEF,QAAA,MAAM,YAAY,iBAAgB,iBAAiB,gBAGlD,CAAC;AAEF,QAAA,MAAM,OAAO,EAAE,EA4Ed,CAAC;AAEF,OAAO,EAAC,OAAO,EAAE,YAAY,EAAC,CAAC"}
@@ -1,54 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StaggerChild = exports.Stagger = void 0;
4
- const jsx_runtime_1 = require("react/jsx-runtime");
5
- const react_1 = require("react");
6
- const sequencing_1 = require("../sequencing");
7
- const validate_duration_in_frames_1 = require("../validation/validate-duration-in-frames");
8
- const StaggerChild = ({ children }) => {
9
- // eslint-disable-next-line react/jsx-no-useless-fragment
10
- return jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: children }, void 0);
11
- };
12
- exports.StaggerChild = StaggerChild;
13
- const Stagger = ({ children }) => {
14
- const childrenValue = react_1.useMemo(() => {
15
- let startFrame = 0;
16
- return react_1.Children.map(children, (child, i) => {
17
- var _a;
18
- const castedChild = child;
19
- if (typeof castedChild === 'string') {
20
- if (castedChild.trim() === '') {
21
- return null;
22
- }
23
- throw new TypeError(`The <Stagger> component only accepts a list of <StaggerChild /> components as it's children, but you passed a string "${castedChild}"`);
24
- }
25
- if (castedChild.type !== StaggerChild) {
26
- throw new TypeError("The <Stagger> component only accepts a list of <StaggerChild /> components as it's children");
27
- }
28
- const debugInfo = `index = ${i}, duration = ${castedChild.props.durationInFrames}`;
29
- if (!castedChild || !castedChild.props.children) {
30
- throw new TypeError(`A <StaggerChild /> component (${debugInfo}) doesn't have any children.`);
31
- }
32
- const durationInFramesProp = castedChild.props.durationInFrames;
33
- const { durationInFrames, children: _children, ...passedProps } = castedChild.props;
34
- validate_duration_in_frames_1.validateDurationInFrames(durationInFramesProp, `<StaggerChild />`);
35
- const offset = (_a = castedChild.props.offset) !== null && _a !== void 0 ? _a : 0;
36
- if (Number.isNaN(offset)) {
37
- throw new TypeError(`The "offset" property of a <StaggerChild /> must not be NaN, but got NaN (${debugInfo}).`);
38
- }
39
- if (!Number.isFinite(offset)) {
40
- throw new TypeError(`The "offset" property of a <StaggerChild /> must be finite, but got ${offset} (${debugInfo}).`);
41
- }
42
- if (offset % 1 !== 0) {
43
- throw new TypeError(`The "offset" property of a <StaggerChild /> must be finite, but got ${offset} (${debugInfo}).`);
44
- }
45
- const currentStartFrame = startFrame + offset;
46
- startFrame += durationInFramesProp + offset;
47
- return (jsx_runtime_1.jsx(sequencing_1.Sequence, Object.assign({ from: currentStartFrame, durationInFrames: durationInFramesProp }, passedProps, { children: child }), void 0));
48
- });
49
- }, [children]);
50
- /* eslint-disable react/jsx-no-useless-fragment */
51
- return jsx_runtime_1.jsx(jsx_runtime_1.Fragment, { children: childrenValue }, void 0);
52
- };
53
- exports.Stagger = Stagger;
54
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/stagger/index.tsx"],"names":[],"mappings":";;;;AAAA,iCAAsE;AACtE,8CAAsD;AACtD,2FAAmF;AASnF,MAAM,YAAY,GAAG,CAAC,EAAC,QAAQ,EAAoB,EAAE,EAAE;IACtD,yDAAyD;IACzD,OAAO,sDAAG,QAAQ,WAAI,CAAC;AACxB,CAAC,CAAC;AAgFe,oCAAY;AA9E7B,MAAM,OAAO,GAAO,CAAC,EAAC,QAAQ,EAAC,EAAE,EAAE;IAClC,MAAM,aAAa,GAAG,eAAO,CAAC,GAAG,EAAE;QAClC,IAAI,UAAU,GAAG,CAAC,CAAC;QACnB,OAAO,gBAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE;;YAC1C,MAAM,WAAW,GAAI,KAKZ,CAAC;YACV,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;gBACpC,IAAI,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;oBAC9B,OAAO,IAAI,CAAC;iBACZ;gBAED,MAAM,IAAI,SAAS,CAClB,yHAAyH,WAAW,GAAG,CACvI,CAAC;aACF;YAED,IAAI,WAA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X,CAAC;QACH,CAAC,CAAC,CAAC;IACJ,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,kDAAkD;IAClD,OAAO,sDAAG,aAAa,WAAI,CAAC;AAC7B,CAAC,CAAC;AAEM,0BAAO"}
@@ -1,3 +0,0 @@
1
- import { RefObject } from 'react';
2
- export declare const useCurrentSrc: (mediaElement: RefObject<HTMLAudioElement | HTMLVideoElement>) => string | null;
3
- //# sourceMappingURL=use-current-src.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-current-src.d.ts","sourceRoot":"","sources":["../src/use-current-src.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAsB,MAAM,OAAO,CAAC;AAErD,eAAO,MAAM,aAAa,iBACX,UAAU,gBAAgB,GAAG,gBAAgB,CAAC,kBAuB5D,CAAC"}