remotion 3.0.0-lambda.279 → 3.0.0-lambda.310
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/audio/Audio.d.ts +1 -1
- package/dist/audio/AudioForDevelopment.d.ts +1 -1
- package/dist/audio/AudioForRendering.d.ts +1 -1
- package/dist/config/chromium-flags.d.ts +11 -0
- package/dist/config/chromium-flags.d.ts.map +1 -0
- package/dist/config/chromium-flags.js +38 -0
- package/dist/config/chromium-flags.js.map +1 -0
- package/dist/config/index.d.ts +25 -0
- package/dist/config/index.d.ts.map +1 -1
- package/dist/config/index.js +27 -0
- package/dist/config/index.js.map +1 -1
- package/dist/config/timeout.d.ts +3 -0
- package/dist/config/timeout.d.ts.map +1 -0
- package/dist/config/timeout.js +18 -0
- package/dist/config/timeout.js.map +1 -0
- package/dist/freeze.d.ts.map +1 -1
- package/dist/freeze.js +2 -1
- package/dist/freeze.js.map +1 -1
- package/dist/get-preview-dom-element.d.ts +2 -0
- package/dist/get-preview-dom-element.d.ts.map +1 -0
- package/dist/get-preview-dom-element.js +8 -0
- package/dist/get-preview-dom-element.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/internals.d.ts +14 -1
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +19 -1
- package/dist/internals.js.map +1 -1
- package/dist/is-in-lambda.d.ts +2 -0
- package/dist/is-in-lambda.d.ts.map +1 -0
- package/dist/is-in-lambda.js +6 -0
- package/dist/is-in-lambda.js.map +1 -0
- package/dist/ready-manager.d.ts.map +1 -1
- package/dist/ready-manager.js +6 -3
- package/dist/ready-manager.js.map +1 -1
- package/dist/timeout.d.ts +4 -0
- package/dist/timeout.d.ts.map +1 -0
- package/dist/timeout.js +14 -0
- package/dist/timeout.js.map +1 -0
- package/dist/validation/validate-opengl-renderer.d.ts +5 -0
- package/dist/validation/validate-opengl-renderer.d.ts.map +1 -0
- package/dist/validation/validate-opengl-renderer.js +12 -0
- package/dist/validation/validate-opengl-renderer.js.map +1 -0
- package/dist/video/Video.d.ts +1 -1
- package/dist/video/VideoForDevelopment.d.ts +1 -1
- package/dist/video/VideoForRendering.d.ts +1 -1
- package/package.json +2 -2
package/dist/audio/Audio.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { RemotionMainAudioProps } from './props';
|
|
|
3
3
|
export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "autoPlay" | "controls" | "loop"> & {
|
|
4
4
|
volume?: import("../volume-prop").VolumeProp | undefined;
|
|
5
5
|
playbackRate?: number | undefined;
|
|
6
|
-
} & RemotionMainAudioProps, "
|
|
6
|
+
} & RemotionMainAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
|
|
7
7
|
//# sourceMappingURL=Audio.d.ts.map
|
|
@@ -4,5 +4,5 @@ export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<O
|
|
|
4
4
|
playbackRate?: number | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
shouldPreMountAudioTags: boolean;
|
|
7
|
-
}, "
|
|
7
|
+
}, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
|
|
8
8
|
//# sourceMappingURL=AudioForDevelopment.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionAudioProps } from './props';
|
|
3
|
-
export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "
|
|
3
|
+
export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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"> & React.RefAttributes<HTMLAudioElement>>;
|
|
4
4
|
//# sourceMappingURL=AudioForRendering.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OpenGlRenderer } from '../validation/validate-opengl-renderer';
|
|
2
|
+
export declare const DEFAULT_OPENGL_RENDERER: OpenGlRenderer;
|
|
3
|
+
export declare const getChromiumDisableWebSecurity: () => boolean;
|
|
4
|
+
export declare const setChromiumDisableWebSecurity: (should: boolean) => void;
|
|
5
|
+
export declare const getIgnoreCertificateErrors: () => boolean;
|
|
6
|
+
export declare const setChromiumIgnoreCertificateErrors: (should: boolean) => void;
|
|
7
|
+
export declare const getChromiumOpenGlRenderer: () => "angle" | "egl" | "swiftshader";
|
|
8
|
+
export declare const setChromiumOpenGlRenderer: (renderer: OpenGlRenderer) => void;
|
|
9
|
+
export declare const getChromiumHeadlessMode: () => boolean;
|
|
10
|
+
export declare const setChromiumHeadlessMode: (should: boolean) => void;
|
|
11
|
+
//# sourceMappingURL=chromium-flags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chromium-flags.d.ts","sourceRoot":"","sources":["../../src/config/chromium-flags.ts"],"names":[],"mappings":"AACA,OAAO,EACN,cAAc,EAEd,MAAM,wCAAwC,CAAC;AAEhD,eAAO,MAAM,uBAAuB,EAAE,cAE5B,CAAC;AAOX,eAAO,MAAM,6BAA6B,eAAmC,CAAC;AAC9E,eAAO,MAAM,6BAA6B,WAAY,OAAO,SAE5D,CAAC;AAEF,eAAO,MAAM,0BAA0B,eAAgC,CAAC;AACxE,eAAO,MAAM,kCAAkC,WAAY,OAAO,SAEjE,CAAC;AAEF,eAAO,MAAM,yBAAyB,uCAAuB,CAAC;AAC9D,eAAO,MAAM,yBAAyB,aAAc,cAAc,SAGjE,CAAC;AAEF,eAAO,MAAM,uBAAuB,eAAqB,CAAC;AAC1D,eAAO,MAAM,uBAAuB,WAAY,OAAO,SAEtD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setChromiumHeadlessMode = exports.getChromiumHeadlessMode = exports.setChromiumOpenGlRenderer = exports.getChromiumOpenGlRenderer = exports.setChromiumIgnoreCertificateErrors = exports.getIgnoreCertificateErrors = exports.setChromiumDisableWebSecurity = exports.getChromiumDisableWebSecurity = exports.DEFAULT_OPENGL_RENDERER = void 0;
|
|
4
|
+
const is_in_lambda_1 = require("../is-in-lambda");
|
|
5
|
+
const validate_opengl_renderer_1 = require("../validation/validate-opengl-renderer");
|
|
6
|
+
exports.DEFAULT_OPENGL_RENDERER = (0, is_in_lambda_1.isInLambda)()
|
|
7
|
+
? 'swiftshader'
|
|
8
|
+
: 'angle';
|
|
9
|
+
let chromiumDisableWebSecurity = false;
|
|
10
|
+
let ignoreCertificateErrors = false;
|
|
11
|
+
let openGlRenderer = exports.DEFAULT_OPENGL_RENDERER;
|
|
12
|
+
let headlessMode = true;
|
|
13
|
+
const getChromiumDisableWebSecurity = () => chromiumDisableWebSecurity;
|
|
14
|
+
exports.getChromiumDisableWebSecurity = getChromiumDisableWebSecurity;
|
|
15
|
+
const setChromiumDisableWebSecurity = (should) => {
|
|
16
|
+
chromiumDisableWebSecurity = should;
|
|
17
|
+
};
|
|
18
|
+
exports.setChromiumDisableWebSecurity = setChromiumDisableWebSecurity;
|
|
19
|
+
const getIgnoreCertificateErrors = () => ignoreCertificateErrors;
|
|
20
|
+
exports.getIgnoreCertificateErrors = getIgnoreCertificateErrors;
|
|
21
|
+
const setChromiumIgnoreCertificateErrors = (should) => {
|
|
22
|
+
ignoreCertificateErrors = should;
|
|
23
|
+
};
|
|
24
|
+
exports.setChromiumIgnoreCertificateErrors = setChromiumIgnoreCertificateErrors;
|
|
25
|
+
const getChromiumOpenGlRenderer = () => openGlRenderer;
|
|
26
|
+
exports.getChromiumOpenGlRenderer = getChromiumOpenGlRenderer;
|
|
27
|
+
const setChromiumOpenGlRenderer = (renderer) => {
|
|
28
|
+
(0, validate_opengl_renderer_1.validateOpenGlRenderer)(renderer);
|
|
29
|
+
openGlRenderer = renderer;
|
|
30
|
+
};
|
|
31
|
+
exports.setChromiumOpenGlRenderer = setChromiumOpenGlRenderer;
|
|
32
|
+
const getChromiumHeadlessMode = () => headlessMode;
|
|
33
|
+
exports.getChromiumHeadlessMode = getChromiumHeadlessMode;
|
|
34
|
+
const setChromiumHeadlessMode = (should) => {
|
|
35
|
+
headlessMode = should;
|
|
36
|
+
};
|
|
37
|
+
exports.setChromiumHeadlessMode = setChromiumHeadlessMode;
|
|
38
|
+
//# sourceMappingURL=chromium-flags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chromium-flags.js","sourceRoot":"","sources":["../../src/config/chromium-flags.ts"],"names":[],"mappings":";;;AAAA,kDAA2C;AAC3C,qFAGgD;AAEnC,QAAA,uBAAuB,GAAmB,IAAA,yBAAU,GAAE;IAClE,CAAC,CAAC,aAAa;IACf,CAAC,CAAC,OAAO,CAAC;AAEX,IAAI,0BAA0B,GAAG,KAAK,CAAC;AACvC,IAAI,uBAAuB,GAAG,KAAK,CAAC;AACpC,IAAI,cAAc,GAAmB,+BAAuB,CAAC;AAC7D,IAAI,YAAY,GAAG,IAAI,CAAC;AAEjB,MAAM,6BAA6B,GAAG,GAAG,EAAE,CAAC,0BAA0B,CAAC;AAAjE,QAAA,6BAA6B,iCAAoC;AACvE,MAAM,6BAA6B,GAAG,CAAC,MAAe,EAAE,EAAE;IAChE,0BAA0B,GAAG,MAAM,CAAC;AACrC,CAAC,CAAC;AAFW,QAAA,6BAA6B,iCAExC;AAEK,MAAM,0BAA0B,GAAG,GAAG,EAAE,CAAC,uBAAuB,CAAC;AAA3D,QAAA,0BAA0B,8BAAiC;AACjE,MAAM,kCAAkC,GAAG,CAAC,MAAe,EAAE,EAAE;IACrE,uBAAuB,GAAG,MAAM,CAAC;AAClC,CAAC,CAAC;AAFW,QAAA,kCAAkC,sCAE7C;AAEK,MAAM,yBAAyB,GAAG,GAAG,EAAE,CAAC,cAAc,CAAC;AAAjD,QAAA,yBAAyB,6BAAwB;AACvD,MAAM,yBAAyB,GAAG,CAAC,QAAwB,EAAE,EAAE;IACrE,IAAA,iDAAsB,EAAC,QAAQ,CAAC,CAAC;IACjC,cAAc,GAAG,QAAQ,CAAC;AAC3B,CAAC,CAAC;AAHW,QAAA,yBAAyB,6BAGpC;AAEK,MAAM,uBAAuB,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC;AAA7C,QAAA,uBAAuB,2BAAsB;AACnD,MAAM,uBAAuB,GAAG,CAAC,MAAe,EAAE,EAAE;IAC1D,YAAY,GAAG,MAAM,CAAC;AACvB,CAAC,CAAC;AAFW,QAAA,uBAAuB,2BAElC"}
|
package/dist/config/index.d.ts
CHANGED
|
@@ -52,6 +52,31 @@ export declare const Config: {
|
|
|
52
52
|
* Default: null, which will make Remotion find or download a version of said browser.
|
|
53
53
|
*/
|
|
54
54
|
readonly setBrowserExecutable: (newBrowserExecutablePath: BrowserExecutable) => void;
|
|
55
|
+
/**
|
|
56
|
+
* Set how many milliseconds a frame may take to render before it times out.
|
|
57
|
+
* Default: `30000`
|
|
58
|
+
*/
|
|
59
|
+
readonly setTimeoutInMilliseconds: (newPuppeteerTimeout: number) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Setting deciding whether to disable CORS and other Chrome security features.
|
|
62
|
+
* Default: false
|
|
63
|
+
*/
|
|
64
|
+
readonly setChromiumDisableWebSecurity: (should: boolean) => void;
|
|
65
|
+
/**
|
|
66
|
+
* Setting whether to ignore any invalid SSL certificates, such as self-signed ones.
|
|
67
|
+
* Default: false
|
|
68
|
+
*/
|
|
69
|
+
readonly setChromiumIgnoreCertificateErrors: (should: boolean) => void;
|
|
70
|
+
/**
|
|
71
|
+
* If false, will open an actual browser during rendering to observe progress.
|
|
72
|
+
* Default: true
|
|
73
|
+
*/
|
|
74
|
+
readonly setChromiumHeadlessMode: (should: boolean) => void;
|
|
75
|
+
/**
|
|
76
|
+
* Set the OpenGL rendering backend for Chrome. Possible values: 'egl', 'angle' and 'swiftshader'.
|
|
77
|
+
* Default: 'swiftshader' in Lambda, 'angle' elsewhere.
|
|
78
|
+
*/
|
|
79
|
+
readonly setChromiumOpenGlRenderer: (renderer: "angle" | "egl" | "swiftshader") => void;
|
|
55
80
|
};
|
|
56
81
|
readonly Rendering: {
|
|
57
82
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,iBAAiB,EAAuB,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAC,KAAK,EAA4B,MAAM,SAAS,CAAC;AACzD,OAAO,EAAC,WAAW,EAAiB,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAC,UAAU,EAAgB,MAAM,eAAe,CAAC;AAExD,OAAO,EAAC,WAAW,EAAkB,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAE7E,OAAO,EAAC,QAAQ,EAAc,MAAM,OAAO,CAAC;AAE5C,OAAO,EAEN,oBAAoB,EACpB,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAC,WAAW,EAAiB,MAAM,gBAAgB,CAAC;AAK3D,OAAO,EAAC,gBAAgB,EAAsB,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,iBAAiB,EAAuB,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAC,KAAK,EAA4B,MAAM,SAAS,CAAC;AACzD,OAAO,EAAC,WAAW,EAAiB,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAC,UAAU,EAAgB,MAAM,eAAe,CAAC;AAExD,OAAO,EAAC,WAAW,EAAkB,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAE7E,OAAO,EAAC,QAAQ,EAAc,MAAM,OAAO,CAAC;AAE5C,OAAO,EAEN,oBAAoB,EACpB,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAC,WAAW,EAAiB,MAAM,gBAAgB,CAAC;AAK3D,OAAO,EAAC,gBAAgB,EAAsB,MAAM,qBAAqB,CAAC;AAS1E,eAAO,MAAM,MAAM;;QAEjB;;;;WAIG;;;;QAIH;;;;WAIG;;QAEH;;;WAGG;;QAEH;;;;WAIG;;;;QAIH;;;;;;WAMG;;;;QAIH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;;;QAIH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;;;WAKG;;QAEH;;WAEG;;QAEH;;;;;WAKG;;QAGH;;;WAGG;;;;QAIH;;;WAGG;;QAEH;;;;WAIG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;;WAIG;;QAEH;;WAEG;;QAEH;;;;;WAKG;;;;QAIH;;;WAGG;;;CAGK,CAAC;AAEX,YAAY,EACX,WAAW,EACX,WAAW,EACX,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,KAAK,EACL,OAAO,EACP,UAAU,EACV,QAAQ,EACR,gBAAgB,GAChB,CAAC"}
|
package/dist/config/index.js
CHANGED
|
@@ -20,6 +20,8 @@ const prores_profile_1 = require("./prores-profile");
|
|
|
20
20
|
const quality_1 = require("./quality");
|
|
21
21
|
const webpack_caching_1 = require("./webpack-caching");
|
|
22
22
|
const ffmpeg_executable_1 = require("./ffmpeg-executable");
|
|
23
|
+
const timeout_1 = require("./timeout");
|
|
24
|
+
const chromium_flags_1 = require("./chromium-flags");
|
|
23
25
|
exports.Config = {
|
|
24
26
|
Preview: {
|
|
25
27
|
/**
|
|
@@ -64,6 +66,31 @@ exports.Config = {
|
|
|
64
66
|
* Default: null, which will make Remotion find or download a version of said browser.
|
|
65
67
|
*/
|
|
66
68
|
setBrowserExecutable: browser_executable_1.setBrowserExecutable,
|
|
69
|
+
/**
|
|
70
|
+
* Set how many milliseconds a frame may take to render before it times out.
|
|
71
|
+
* Default: `30000`
|
|
72
|
+
*/
|
|
73
|
+
setTimeoutInMilliseconds: timeout_1.setPuppeteerTimeout,
|
|
74
|
+
/**
|
|
75
|
+
* Setting deciding whether to disable CORS and other Chrome security features.
|
|
76
|
+
* Default: false
|
|
77
|
+
*/
|
|
78
|
+
setChromiumDisableWebSecurity: chromium_flags_1.setChromiumDisableWebSecurity,
|
|
79
|
+
/**
|
|
80
|
+
* Setting whether to ignore any invalid SSL certificates, such as self-signed ones.
|
|
81
|
+
* Default: false
|
|
82
|
+
*/
|
|
83
|
+
setChromiumIgnoreCertificateErrors: chromium_flags_1.setChromiumIgnoreCertificateErrors,
|
|
84
|
+
/**
|
|
85
|
+
* If false, will open an actual browser during rendering to observe progress.
|
|
86
|
+
* Default: true
|
|
87
|
+
*/
|
|
88
|
+
setChromiumHeadlessMode: chromium_flags_1.setChromiumHeadlessMode,
|
|
89
|
+
/**
|
|
90
|
+
* Set the OpenGL rendering backend for Chrome. Possible values: 'egl', 'angle' and 'swiftshader'.
|
|
91
|
+
* Default: 'swiftshader' in Lambda, 'angle' elsewhere.
|
|
92
|
+
*/
|
|
93
|
+
setChromiumOpenGlRenderer: chromium_flags_1.setChromiumOpenGlRenderer,
|
|
67
94
|
},
|
|
68
95
|
Rendering: {
|
|
69
96
|
/**
|
package/dist/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;AACA,6DAA6E;AAC7E,mCAAyD;AACzD,+CAA0D;AAC1D,+BAA6B;AAC7B,yCAA6C;AAC7C,+CAAwD;AACxD,2DAAuD;AACvD,iDAA6E;AAC7E,qDAAkD;AAClD,+BAA4C;AAC5C,+DAA2D;AAC3D,yDAI4B;AAC5B,2CAA+C;AAC/C,iDAA2D;AAC3D,qDAAyC;AACzC,qDAAkD;AAClD,uCAAqC;AACrC,uDAAoD;AACpD,2DAA0E;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;AACA,6DAA6E;AAC7E,mCAAyD;AACzD,+CAA0D;AAC1D,+BAA6B;AAC7B,yCAA6C;AAC7C,+CAAwD;AACxD,2DAAuD;AACvD,iDAA6E;AAC7E,qDAAkD;AAClD,+BAA4C;AAC5C,+DAA2D;AAC3D,yDAI4B;AAC5B,2CAA+C;AAC/C,iDAA2D;AAC3D,qDAAyC;AACzC,qDAAkD;AAClD,uCAAqC;AACrC,uDAAoD;AACpD,2DAA0E;AAC1E,uCAA8C;AAC9C,qDAK0B;AAEb,QAAA,MAAM,GAAG;IACrB,OAAO,EAAE;QACR;;;;WAIG;QACH,oBAAoB,EAApB,0CAAoB;KACpB;IACD,QAAQ,EAAE;QACT;;;;WAIG;QACH,qBAAqB,EAArB,wCAAqB;QACrB;;;WAGG;QACH,iBAAiB,EAAE,mCAAiB;QACpC;;;;WAIG;QACH,OAAO,EAAP,wBAAO;KACP;IACD,GAAG,EAAE;QACJ;;;;;;WAMG;QACH,QAAQ,EAAE,iBAAW;KACrB;IACD,SAAS,EAAE;QACV;;;WAGG;QACH,oBAAoB,EAApB,yCAAoB;QACpB;;;WAGG;QACH,wBAAwB,EAAE,6BAAmB;QAC7C;;;WAGG;QACH,6BAA6B,EAA7B,8CAA6B;QAC7B;;;WAGG;QACH,kCAAkC,EAAlC,mDAAkC;QAClC;;;WAGG;QACH,uBAAuB,EAAvB,wCAAuB;QACvB;;;WAGG;QACH,yBAAyB,EAAzB,0CAAyB;KACzB;IACD,SAAS,EAAE;QACV;;;WAGG;QACH,iBAAiB,EAAjB,4BAAiB;QACjB;;;WAGG;QACH,cAAc,EAAd,4BAAc;QACd;;;;;WAKG;QACH,UAAU,EAAV,oBAAU;QACV;;WAEG;QACH,cAAc,EAAd,6BAAc;QACd;;;;;WAKG;QACH,aAAa,EAAb,2BAAa;QAEb;;;WAGG;QACH,mBAAmB,EAAnB,uCAAmB;KACnB;IACD,MAAM,EAAE;QACP;;;WAGG;QACH,kBAAkB,EAAlB,8BAAkB;QAClB;;;;WAIG;QACH,cAAc,EAAd,6BAAc;QACd;;;WAGG;QACH,eAAe,EAAf,uBAAe;QACf;;;WAGG;QACH,QAAQ,EAAR,gBAAQ;QACR;;;;WAIG;QACH,MAAM,EAAN,YAAM;QACN;;WAEG;QACH,gBAAgB,EAAhB,iCAAgB;QAChB;;;;;WAKG;QACH,gBAAgB,EAAhB,iCAAgB;KAChB;IACD,MAAM,EAAE;QACP;;;WAGG;QACH,kBAAkB,EAAlB,sCAAkB;KAClB;CACQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeout.d.ts","sourceRoot":"","sources":["../../src/config/timeout.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,wBAAyB,MAAM,SAS9D,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAAO,MAE7C,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrentPuppeteerTimeout = exports.setPuppeteerTimeout = void 0;
|
|
4
|
+
const timeout_1 = require("../timeout");
|
|
5
|
+
let currentTimeout = timeout_1.DEFAULT_PUPPETEER_TIMEOUT;
|
|
6
|
+
const setPuppeteerTimeout = (newPuppeteerTimeout) => {
|
|
7
|
+
if (typeof newPuppeteerTimeout !== 'number') {
|
|
8
|
+
throw new Error('--timeout flag / setTimeoutInMilliseconds() must be a number, but got ' +
|
|
9
|
+
JSON.stringify(newPuppeteerTimeout));
|
|
10
|
+
}
|
|
11
|
+
currentTimeout = newPuppeteerTimeout;
|
|
12
|
+
};
|
|
13
|
+
exports.setPuppeteerTimeout = setPuppeteerTimeout;
|
|
14
|
+
const getCurrentPuppeteerTimeout = () => {
|
|
15
|
+
return currentTimeout;
|
|
16
|
+
};
|
|
17
|
+
exports.getCurrentPuppeteerTimeout = getCurrentPuppeteerTimeout;
|
|
18
|
+
//# sourceMappingURL=timeout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeout.js","sourceRoot":"","sources":["../../src/config/timeout.ts"],"names":[],"mappings":";;;AAAA,wCAAqD;AAErD,IAAI,cAAc,GAAW,mCAAyB,CAAC;AAEhD,MAAM,mBAAmB,GAAG,CAAC,mBAA2B,EAAE,EAAE;IAClE,IAAI,OAAO,mBAAmB,KAAK,QAAQ,EAAE;QAC5C,MAAM,IAAI,KAAK,CACd,wEAAwE;YACvE,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,CACpC,CAAC;KACF;IAED,cAAc,GAAG,mBAAmB,CAAC;AACtC,CAAC,CAAC;AATW,QAAA,mBAAmB,uBAS9B;AAEK,MAAM,0BAA0B,GAAG,GAAW,EAAE;IACtD,OAAO,cAAc,CAAC;AACvB,CAAC,CAAC;AAFW,QAAA,0BAA0B,8BAErC"}
|
package/dist/freeze.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"freeze.d.ts","sourceRoot":"","sources":["../src/freeze.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"freeze.d.ts","sourceRoot":"","sources":["../src/freeze.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAIjD,aAAK,WAAW,GAAG;IAClB,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA4CjC,CAAC;AAEF,OAAO,EAAC,MAAM,EAAC,CAAC"}
|
package/dist/freeze.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Freeze = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
+
const sequencing_1 = require("./sequencing");
|
|
6
7
|
const timeline_position_state_1 = require("./timeline-position-state");
|
|
7
8
|
const Freeze = ({ frame, children }) => {
|
|
8
9
|
if (typeof frame === 'undefined') {
|
|
@@ -28,7 +29,7 @@ const Freeze = ({ frame, children }) => {
|
|
|
28
29
|
frame,
|
|
29
30
|
};
|
|
30
31
|
}, [context, frame]);
|
|
31
|
-
return ((0, jsx_runtime_1.jsx)(timeline_position_state_1.TimelineContext.Provider, Object.assign({ value: value }, { children: children }), void 0));
|
|
32
|
+
return ((0, jsx_runtime_1.jsx)(timeline_position_state_1.TimelineContext.Provider, Object.assign({ value: value }, { children: (0, jsx_runtime_1.jsx)(sequencing_1.SequenceContext.Provider, Object.assign({ value: null }, { children: children }), void 0) }), void 0));
|
|
32
33
|
};
|
|
33
34
|
exports.Freeze = Freeze;
|
|
34
35
|
//# sourceMappingURL=freeze.js.map
|
package/dist/freeze.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"freeze.js","sourceRoot":"","sources":["../src/freeze.tsx"],"names":[],"mappings":";;;;AAAA,iCAAiD;AACjD,uEAAgF;AAMhF,MAAM,MAAM,GAA0B,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAC,EAAE,EAAE;IAC3D,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;QACjC,MAAM,IAAI,KAAK,CACd,wEAAwE,CACxE,CAAC;KACF;IAED,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;QAC9B,MAAM,IAAI,KAAK,CACd,mEAAmE,OAAO,KAAK,EAAE,CACjF,CAAC;KACF;IAED,IAAI,MAAM,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KACF;IAED,MAAM,OAAO,GAAG,IAAA,kBAAU,EAAC,yCAAe,CAAC,CAAC;IAC5C,MAAM,KAAK,GAAyB,IAAA,eAAO,EAAC,GAAG,EAAE;QAChD,OAAO;YACN,GAAG,OAAO;YACV,OAAO,EAAE,KAAK;YACd,iBAAiB,EAAE;gBAClB,OAAO,EAAE,KAAK;aACd;YACD,KAAK;SACL,CAAC;IACH,CAAC,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;IAErB,OAAO,CACN,uBAAC,yCAAe,CAAC,QAAQ,kBAAC,KAAK,EAAE,KAAK,gBACrC,uBAAC,4BAAe,CAAC,QAAQ,kBAAC,KAAK,EAAE,IAAI,gBACnC,QAAQ,YACiB,YACD,CAC3B,CAAC;AACH,CAAC,CAAC;AAEM,wBAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-preview-dom-element.d.ts","sourceRoot":"","sources":["../src/get-preview-dom-element.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,0BAEhC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getPreviewDomElement = void 0;
|
|
4
|
+
const getPreviewDomElement = () => {
|
|
5
|
+
return document.getElementById('container');
|
|
6
|
+
};
|
|
7
|
+
exports.getPreviewDomElement = getPreviewDomElement;
|
|
8
|
+
//# sourceMappingURL=get-preview-dom-element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-preview-dom-element.js","sourceRoot":"","sources":["../src/get-preview-dom-element.ts"],"names":[],"mappings":";;;AAAO,MAAM,oBAAoB,GAAG,GAAG,EAAE;IACxC,OAAO,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;AAC7C,CAAC,CAAC;AAFW,QAAA,oBAAoB,wBAE/B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ declare global {
|
|
|
8
8
|
remotion_editorName: string | null;
|
|
9
9
|
remotion_setFrame: (frame: number) => void;
|
|
10
10
|
remotion_initialFrame: number;
|
|
11
|
+
remotion_puppeteerTimeout: number;
|
|
11
12
|
remotion_collectAssets: () => TAsset[];
|
|
12
13
|
remotion_isPlayer: boolean;
|
|
13
14
|
remotion_imported: boolean;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAC,MAAM,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAG3D,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,KAAK,EAAE,OAAO,CAAC;QACf,qBAAqB,EAAE,MAAM,aAAa,EAAE,CAAC;QAC7C,mBAAmB,EAAE,MAAM,CAAC;QAC5B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;QACnC,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;QAC3C,qBAAqB,EAAE,MAAM,CAAC;QAC9B,sBAAsB,EAAE,MAAM,MAAM,EAAE,CAAC;QACvC,iBAAiB,EAAE,OAAO,CAAC;QAC3B,iBAAiB,EAAE,OAAO,CAAC;KAC3B;CACD;AAID,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAC,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC/E,cAAc,UAAU,CAAC;AACzB,OAAO,EAAC,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACnD,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC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gBAAgB,CAAC;AAC/B,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAC,MAAM,EAAE,aAAa,EAAE,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC/E,cAAc,UAAU,CAAC;AACzB,OAAO,EAAC,aAAa,EAAC,MAAM,sBAAsB,CAAC;AACnD,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAC,IAAI,EAAC,MAAM,QAAQ,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AACtC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,OAAO,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yBAAuB;AAEvB,2EAA0E;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yBAAuB;AAEvB,2EAA0E;AAiB1E,IAAA,yDAA6B,GAAE,CAAC;AAEhC,iDAA+B;AAE/B,0CAAwB;AACxB,gDAA8B;AAE9B,2CAAyB;AACzB,oDAAmD;AAA3C,4GAAA,aAAa,OAAA;AACrB,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,wCAAsB;AACtB,8CAA4B;AAC5B,gDAA8B;AAC9B,yDAAsD;AAA9C,sHAAA,iBAAiB,OAAA;AACzB,+BAA4B;AAApB,4FAAA,IAAI,OAAA;AACZ,2CAAyB;AACzB,kDAAgC;AAChC,iDAA6C;AAArC,6GAAA,YAAY,OAAA;AACpB,2CAAsC;AAA9B,sGAAA,QAAQ,OAAA;AAChB,mCAAgC;AAAxB,gGAAA,MAAM,OAAA;AACd,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,qDAAmC;AACnC,0CAAwB;AACxB,iDAA+B;AAC/B,6CAAyC;AAAjC,yGAAA,UAAU,OAAA"}
|
package/dist/internals.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { truthy } from './truthy';
|
|
|
15
15
|
import { MediaVolumeContextValue, SetMediaVolumeContextValue } from './volume-position-state';
|
|
16
16
|
import { useRemotionContexts } from './wrap-remotion-context';
|
|
17
17
|
import * as AssetCompression from './compress-assets';
|
|
18
|
+
import { OpenGlRenderer } from './validation/validate-opengl-renderer';
|
|
18
19
|
declare const Timeline: {
|
|
19
20
|
TimelineInOutContext: import("react").Context<TimelineInOutPosition.TimelineInOutContextValue>;
|
|
20
21
|
SetTimelineInOutContext: import("react").Context<TimelineInOutPosition.SetTimelineInOutContextValue>;
|
|
@@ -133,6 +134,18 @@ export declare const Internals: {
|
|
|
133
134
|
isInLambda: () => boolean;
|
|
134
135
|
AssetCompression: typeof AssetCompression;
|
|
135
136
|
defaultOverrideFunction: WebpackOverrideFn;
|
|
137
|
+
DEFAULT_PUPPETEER_TIMEOUT: number;
|
|
138
|
+
PUPPETEER_TIMEOUT_KEY: string;
|
|
139
|
+
setupPuppeteerTimeout: () => void;
|
|
140
|
+
setPuppeteerTimeout: (newPuppeteerTimeout: number) => void;
|
|
141
|
+
getCurrentPuppeteerTimeout: () => number;
|
|
142
|
+
getChromiumDisableWebSecurity: () => boolean;
|
|
143
|
+
getIgnoreCertificateErrors: () => boolean;
|
|
144
|
+
validateOpenGlRenderer: (option: "angle" | "egl" | "swiftshader") => "angle" | "egl" | "swiftshader";
|
|
145
|
+
getChromiumOpenGlRenderer: () => "angle" | "egl" | "swiftshader";
|
|
146
|
+
getChromiumHeadlessMode: () => boolean;
|
|
147
|
+
DEFAULT_OPENGL_RENDERER: "angle" | "egl" | "swiftshader";
|
|
148
|
+
getPreviewDomElement: () => HTMLElement | null;
|
|
136
149
|
};
|
|
137
|
-
export type { TComposition, Timeline, TCompMetadata, TSequence, WebpackOverrideFn, TAsset, RenderAssetInfo, TimelineContextValue, SetTimelineContextValue, TimelineInOutContextValue, SetTimelineInOutContextValue, CompProps, CompositionManagerContext, MediaVolumeContextValue, SetMediaVolumeContextValue, LooseAnyComponent, RemotionEnvironment, ProResProfile, };
|
|
150
|
+
export type { TComposition, Timeline, TCompMetadata, TSequence, WebpackOverrideFn, TAsset, RenderAssetInfo, TimelineContextValue, SetTimelineContextValue, TimelineInOutContextValue, SetTimelineInOutContextValue, CompProps, CompositionManagerContext, MediaVolumeContextValue, SetMediaVolumeContextValue, LooseAnyComponent, RemotionEnvironment, ProResProfile, OpenGlRenderer, };
|
|
138
151
|
//# sourceMappingURL=internals.d.ts.map
|
package/dist/internals.d.ts.map
CHANGED
|
@@ -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,EACf,MAAM,EACN,aAAa,EACb,YAA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AK,QAAQ,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAyB,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAM9E,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAc/B,OAAO,KAAK,qBAAqB,MAAM,iCAAiC,CAAC;AACzE,OAAO,EACN,4BAA4B,EAC5B,yBAAyB,EACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EACN,uBAAuB,EACvB,oBAAoB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAchC,OAAO,EAEN,uBAAuB,EAEvB,0BAA0B,EAG1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEN,mBAAmB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,gBAAgB,MAAM,mBAAmB,CAAC;AAkBtD,OAAO,EAAC,cAAc,EAAC,MAAM,uCAAuC,CAAC;AAGrE,QAAA,MAAM,QAAQ;;;;;;;;;;CAAkD,CAAC;AAIjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FrB,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,EACb,cAAc,GACd,CAAC"}
|
package/dist/internals.js
CHANGED
|
@@ -70,6 +70,12 @@ 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");
|
|
75
|
+
const chromium_flags_1 = require("./config/chromium-flags");
|
|
76
|
+
const validate_opengl_renderer_1 = require("./validation/validate-opengl-renderer");
|
|
77
|
+
const is_in_lambda_1 = require("./is-in-lambda");
|
|
78
|
+
const get_preview_dom_element_1 = require("./get-preview-dom-element");
|
|
73
79
|
const Timeline = { ...TimelinePosition, ...TimelineInOutPosition };
|
|
74
80
|
// Mark them as Internals so use don't assume this is public
|
|
75
81
|
// API and are less likely to use it
|
|
@@ -150,8 +156,20 @@ exports.Internals = {
|
|
|
150
156
|
invalidCompositionErrorMessage: validate_composition_id_1.invalidCompositionErrorMessage,
|
|
151
157
|
isCompositionIdValid: validate_composition_id_1.isCompositionIdValid,
|
|
152
158
|
DEFAULT_OVERWRITE: overwrite_1.DEFAULT_OVERWRITE,
|
|
153
|
-
isInLambda:
|
|
159
|
+
isInLambda: is_in_lambda_1.isInLambda,
|
|
154
160
|
AssetCompression,
|
|
155
161
|
defaultOverrideFunction: override_webpack_1.defaultOverrideFunction,
|
|
162
|
+
DEFAULT_PUPPETEER_TIMEOUT: timeout_1.DEFAULT_PUPPETEER_TIMEOUT,
|
|
163
|
+
PUPPETEER_TIMEOUT_KEY: timeout_1.PUPPETEER_TIMEOUT_KEY,
|
|
164
|
+
setupPuppeteerTimeout: timeout_1.setupPuppeteerTimeout,
|
|
165
|
+
setPuppeteerTimeout: timeout_2.setPuppeteerTimeout,
|
|
166
|
+
getCurrentPuppeteerTimeout: timeout_2.getCurrentPuppeteerTimeout,
|
|
167
|
+
getChromiumDisableWebSecurity: chromium_flags_1.getChromiumDisableWebSecurity,
|
|
168
|
+
getIgnoreCertificateErrors: chromium_flags_1.getIgnoreCertificateErrors,
|
|
169
|
+
validateOpenGlRenderer: validate_opengl_renderer_1.validateOpenGlRenderer,
|
|
170
|
+
getChromiumOpenGlRenderer: chromium_flags_1.getChromiumOpenGlRenderer,
|
|
171
|
+
getChromiumHeadlessMode: chromium_flags_1.getChromiumHeadlessMode,
|
|
172
|
+
DEFAULT_OPENGL_RENDERER: chromium_flags_1.DEFAULT_OPENGL_RENDERER,
|
|
173
|
+
getPreviewDomElement: get_preview_dom_element_1.getPreviewDomElement,
|
|
156
174
|
};
|
|
157
175
|
//# sourceMappingURL=internals.js.map
|
package/dist/internals.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.js","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AACA,iEAGmC;AAEnC,6DAQ8B;AAC9B,8CAA6D;AAC7D,oEAAiE;AACjE,kEAAqE;AACrE,0CAIwB;AACxB,sDAAoD;AACpD,sCAIsB;AACtB,gDAAoD;AACpD,sDAI8B;AAC9B,kEAGoC;AACpC,wDAG+B;AAC/B,4DAAqE;AACrE,sDAAqD;AACrD,sDAAwC;AACxC,sEAAkE;AAClE,gEAImC;AACnC,kDAAyE;AACzE,wDAI+B;AAC/B,4DAAsD;AACtD,4DAKiC;AACjC,8CAA4C;AAC5C,sDAAkE;AAClE,8DAGkC;AAClC,wDAA0C;AAC1C,mDAA6D;AAC7D,uDAA8E;AAC9E,mDAGyB;AACzB,qDAA8C;AAC9C,6CAA+B;AAC/B,mDAKyB;AACzB,iDAA4C;AAC5C,6CAA6C;AAC7C,+DAI+B;AAC/B,uFAAyE;AAKzE,4EAA8D;AAK9D,qCAAgC;AAChC,6DAAsD;AACtD,uEAA+D;AAC/D,2CAAqC;AACrC,kFAG8C;AAC9C,0EAAmE;AACnE,0FAAkF;AAClF,4DAAsD;AACtD,gEAA0D;AAC1D,8EAA8E;AAC9E,oEAA8D;AAC9D,mEAOiC;AACjC,mEAGiC;AACjC,oEAAsD;AACtD,MAAM,QAAQ,GAAG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,wCAAsB;IACtB,gBAAgB,EAAhB,iCAAgB;IAChB,gBAAgB,EAAhB,iCAAgB;IAChB,yCAAyC,EAAzC,0DAAyC;IACzC,oBAAoB,EAApB,0CAAoB;IACpB,kBAAkB,EAAlB,sCAAkB;IAClB,0BAA0B,EAA1B,8CAA0B;IAC1B,eAAe,EAAf,kCAAe;IACf,aAAa,EAAb,8BAAa;IACb,aAAa,EAAb,2BAAa;IACb,aAAa,EAAb,2BAAa;IACb,kBAAkB,EAAlB,sCAAkB;IAClB,kBAAkB,EAAlB,sCAAkB;IAClB,8BAA8B,EAA9B,wDAA8B;IAC9B,oBAAoB,EAApB,8CAAoB;IACpB,iBAAiB,EAAjB,6BAAiB;IACjB,UAAU,EAAV,yBAAU;IACV,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;IAC1B,6BAA6B,EAA7B,8CAA6B;IAC7B,0BAA0B,EAA1B,2CAA0B;IAC1B,sBAAsB,EAAtB,iDAAsB;IACtB,yBAAyB,EAAzB,0CAAyB;IACzB,uBAAuB,EAAvB,wCAAuB;IACvB,uBAAuB,EAAvB,wCAAuB;IACvB,oBAAoB,EAApB,8CAAoB;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-in-lambda.d.ts","sourceRoot":"","sources":["../src/is-in-lambda.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,eACmD,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isInLambda = void 0;
|
|
4
|
+
const isInLambda = () => { var _a; return Boolean(typeof process !== 'undefined' && ((_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.LAMBDA_TASK_ROOT)); };
|
|
5
|
+
exports.isInLambda = isInLambda;
|
|
6
|
+
//# sourceMappingURL=is-in-lambda.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-in-lambda.js","sourceRoot":"","sources":["../src/is-in-lambda.ts"],"names":[],"mappings":";;;AAAO,MAAM,UAAU,GAAG,GAAG,EAAE,WAC9B,OAAA,OAAO,CAAC,OAAO,OAAO,KAAK,WAAW,KAAI,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,0CAAE,gBAAgB,CAAA,CAAC,CAAA,EAAA,CAAC;AAD9D,QAAA,UAAU,cACoD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ready-manager.d.ts","sourceRoot":"","sources":["../src/ready-manager.ts"],"names":[],"mappings":"
|
|
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"}
|
package/dist/ready-manager.js
CHANGED
|
@@ -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(
|
|
18
|
-
|
|
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;
|
|
1
|
+
{"version":3,"file":"ready-manager.js","sourceRoot":"","sources":["../src/ready-manager.ts"],"names":[],"mappings":";;;AAAA,uDAAyD;AACzD,uCAAoD;AAEpD,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,MAAM,YAAY,GACjB,OAAO,MAAM,KAAK,WAAW;YAC5B,CAAC,CAAC,mCAAyB;YAC3B,CAAC,CAAC,MAAM,CAAC,yBAAyB,GAAG,IAAI,CAAC;QAC5C,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 @@
|
|
|
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"}
|
package/dist/timeout.js
ADDED
|
@@ -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"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const validRenderers: readonly ["angle", "egl", "swiftshader"];
|
|
2
|
+
export declare type OpenGlRenderer = typeof validRenderers[number];
|
|
3
|
+
export declare const validateOpenGlRenderer: (option: OpenGlRenderer) => OpenGlRenderer;
|
|
4
|
+
export {};
|
|
5
|
+
//# sourceMappingURL=validate-opengl-renderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-opengl-renderer.d.ts","sourceRoot":"","sources":["../../src/validation/validate-opengl-renderer.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,cAAc,0CAA2C,CAAC;AAEhE,oBAAY,cAAc,GAAG,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC;AAE3D,eAAO,MAAM,sBAAsB,WAC1B,cAAc,KACpB,cAUF,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateOpenGlRenderer = void 0;
|
|
4
|
+
const validRenderers = ['angle', 'egl', 'swiftshader'];
|
|
5
|
+
const validateOpenGlRenderer = (option) => {
|
|
6
|
+
if (!validRenderers.includes(option)) {
|
|
7
|
+
throw new TypeError(`${option} is not a valid GL backend. Accepted values: ${validRenderers.join(', ')}`);
|
|
8
|
+
}
|
|
9
|
+
return option;
|
|
10
|
+
};
|
|
11
|
+
exports.validateOpenGlRenderer = validateOpenGlRenderer;
|
|
12
|
+
//# sourceMappingURL=validate-opengl-renderer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-opengl-renderer.js","sourceRoot":"","sources":["../../src/validation/validate-opengl-renderer.ts"],"names":[],"mappings":";;;AAAA,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,KAAK,EAAE,aAAa,CAAU,CAAC;AAIzD,MAAM,sBAAsB,GAAG,CACrC,MAAsB,EACL,EAAE;IACnB,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;QACrC,MAAM,IAAI,SAAS,CAClB,GAAG,MAAM,gDAAgD,cAAc,CAAC,IAAI,CAC3E,IAAI,CACJ,EAAE,CACH,CAAC;KACF;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAZW,QAAA,sBAAsB,0BAYjC"}
|
package/dist/video/Video.d.ts
CHANGED
|
@@ -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, "
|
|
6
|
+
} & RemotionMainVideoProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | "height" | "width" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "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, "
|
|
3
|
+
export declare const VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | "height" | "width" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "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, "
|
|
3
|
+
export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | "height" | "width" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "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.
|
|
3
|
+
"version": "3.0.0-lambda.310+7b7d16823",
|
|
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": "
|
|
42
|
+
"gitHead": "7b7d1682301991fad4194745f79128fe3b39f3bc"
|
|
43
43
|
}
|