remotion 3.0.16 → 3.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +11 -0
- package/.turbo/turbo-test.log +63 -0
- package/dist/Composition.d.ts +1 -1
- package/dist/Composition.js +29 -0
- 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/bundle-out-dir.d.ts +2 -0
- package/dist/config/bundle-out-dir.js +12 -0
- package/dist/config/every-nth-file.d.ts +2 -0
- package/dist/config/every-nth-file.js +12 -0
- package/dist/config/ffmpeg-executable.d.ts +2 -0
- package/dist/config/ffmpeg-executable.js +10 -1
- package/dist/config/image-format.d.ts +1 -1
- package/dist/config/index.d.ts +7 -2
- package/dist/config/index.js +5 -0
- package/dist/config/log.d.ts +1 -1
- package/dist/config/loop.d.ts +3 -0
- package/dist/config/loop.js +15 -0
- package/dist/config/public-path.d.ts +2 -0
- package/dist/config/public-path.js +12 -0
- package/dist/config/skip-n-frames.d.ts +2 -0
- package/dist/config/skip-n-frames.js +12 -0
- package/dist/internals.d.ts +5 -3
- package/dist/internals.js +3 -0
- package/dist/loading-indicator.d.ts +2 -0
- package/dist/loading-indicator.js +35 -0
- package/dist/perf/index.d.ts +1 -1
- package/dist/perf/index.js +2 -0
- package/dist/portal-node.d.ts +1 -0
- package/dist/portal-node.js +23 -0
- package/dist/validation/validate-every-nth-frame.d.ts +1 -0
- package/dist/validation/validate-every-nth-frame.js +21 -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/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
1
|
+
[33mremotion:build: [0mcache hit, replaying output [2m44d83bdaa6397643[0m
|
|
2
|
+
[33mremotion:build: [0m
|
|
3
|
+
[33mremotion:build: [0m> remotion@3.0.18 build /Users/jonathanburger/remotion/packages/core
|
|
4
|
+
[33mremotion:build: [0m> tsc -d
|
|
5
|
+
[33mremotion:build: [0m
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[34mremotion:lint: [0mcache hit, replaying output [2m47bfa9f28025af3b[0m
|
|
2
|
+
[34mremotion:lint: [0m
|
|
3
|
+
[34mremotion:lint: [0m> remotion@3.0.18 lint /Users/jonathanburger/remotion/packages/core
|
|
4
|
+
[34mremotion:lint: [0m> eslint src --ext ts,tsx
|
|
5
|
+
[34mremotion:lint: [0m
|
|
6
|
+
[34mremotion:lint: [0m
|
|
7
|
+
[34mremotion:lint: [0m/Users/jonathanburger/remotion/packages/core/src/use-lazy-component.ts
|
|
8
|
+
[34mremotion:lint: [0m 9:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
9
|
+
[34mremotion:lint: [0m
|
|
10
|
+
[34mremotion:lint: [0m✖ 1 problem (0 errors, 1 warning)
|
|
11
|
+
[34mremotion:lint: [0m
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
[34mremotion:test: [0mcache hit, replaying output [2m1cf43e6873b6327a[0m
|
|
2
|
+
[34mremotion:test: [0m
|
|
3
|
+
[34mremotion:test: [0m> remotion@3.0.18 test /Users/jonathanburger/remotion/packages/core
|
|
4
|
+
[34mremotion:test: [0m> jest --coverage && node generate-badges.js
|
|
5
|
+
[34mremotion:test: [0m
|
|
6
|
+
[34mremotion:test: [0mwatchman warning: Recrawled this watch 33 times, most recently because:
|
|
7
|
+
[34mremotion:test: [0mMustScanSubDirs UserDroppedTo resolve, please review the information on
|
|
8
|
+
[34mremotion:test: [0mhttps://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
|
|
9
|
+
[34mremotion:test: [0mTo clear this warning, run:
|
|
10
|
+
[34mremotion:test: [0m`watchman watch-del '/Users/jonathanburger/remotion' ; watchman watch-project '/Users/jonathanburger/remotion'`
|
|
11
|
+
[34mremotion:test: [0m
|
|
12
|
+
[34mremotion:test: [0mPASS src/test/easing.test.ts (13.979 s)
|
|
13
|
+
[34mremotion:test: [0mPASS src/test/crf.test.ts (14.647 s)
|
|
14
|
+
[34mremotion:test: [0mPASS src/test/interpolate.test.ts (15.696 s)
|
|
15
|
+
[34mremotion:test: [0mPASS src/test/volume-prop.test.ts
|
|
16
|
+
[34mremotion:test: [0mPASS src/test/interpolateColors.test.ts
|
|
17
|
+
[34mremotion:test: [0mPASS src/test/nested-sequences.test.tsx (19.681 s)
|
|
18
|
+
[34mremotion:test: [0mPASS src/test/pixel-format.test.ts
|
|
19
|
+
[34mremotion:test: [0mPASS src/test/media-validation.test.tsx
|
|
20
|
+
[34mremotion:test: [0mPASS src/test/random.test.ts
|
|
21
|
+
[34mremotion:test: [0mPASS src/test/image-format.test.ts
|
|
22
|
+
[34mremotion:test: [0mPASS src/test/codec.test.ts
|
|
23
|
+
[34mremotion:test: [0mPASS src/test/range.test.tsx (18.241 s)
|
|
24
|
+
[34mremotion:test: [0mPASS src/test/get-current-time.test.ts
|
|
25
|
+
[34mremotion:test: [0mPASS src/test/audio-for-rendering.test.tsx (15.754 s)
|
|
26
|
+
[34mremotion:test: [0mPASS src/test/sequence-validation.test.tsx (17.791 s)
|
|
27
|
+
[34mremotion:test: [0mPASS src/test/use-audio-frame.test.tsx (15.191 s)
|
|
28
|
+
[34mremotion:test: [0mPASS src/test/freeze.test.tsx (25.998 s)
|
|
29
|
+
[34mremotion:test: [0mPASS src/test/series.test.tsx (60.742 s)
|
|
30
|
+
[34mremotion:test: [0mPASS src/test/loop-validation.test.tsx (61.354 s)
|
|
31
|
+
[34mremotion:test: [0mPASS src/test/video.test.tsx (20.932 s)
|
|
32
|
+
[34mremotion:test: [0mPASS src/test/composition-rules.test.tsx (14.804 s)
|
|
33
|
+
[34mremotion:test: [0mPASS src/test/composition-validation.test.tsx (62.791 s)
|
|
34
|
+
[34mremotion:test: [0mPASS src/test/validate-start-from-props.test.ts (6.96 s)
|
|
35
|
+
[34mremotion:test: [0mPASS src/test/log.test.ts
|
|
36
|
+
[34mremotion:test: [0mPASS src/test/measure-spring.test.ts (5.536 s)
|
|
37
|
+
[34mremotion:test: [0mPASS src/test/bezier.test.ts
|
|
38
|
+
[34mremotion:test: [0mPASS src/test/image-sequence.test.ts
|
|
39
|
+
[34mremotion:test: [0mPASS src/test/pro-res-profile.test.ts
|
|
40
|
+
[34mremotion:test: [0mPASS src/test/use-media-tag-volume.test.tsx (14.078 s)
|
|
41
|
+
[34mremotion:test: [0mPASS src/test/concurrency.test.ts
|
|
42
|
+
[34mremotion:test: [0mPASS src/test/overwrite.test.ts
|
|
43
|
+
[34mremotion:test: [0mPASS src/test/use-sync-volume-with-media-tag.test.ts (14.585 s)
|
|
44
|
+
[34mremotion:test: [0mPASS src/test/quality.test.ts (5.434 s)
|
|
45
|
+
[34mremotion:test: [0mPASS src/test/validate-frame.test.ts
|
|
46
|
+
[34mremotion:test: [0mPASS src/test/input-props.test.ts
|
|
47
|
+
[34mremotion:test: [0mPASS src/test/audio.test.tsx (29.868 s)
|
|
48
|
+
[34mremotion:test: [0mPASS src/test/use-media-in-timeline.test.tsx (14.503 s)
|
|
49
|
+
[34mremotion:test: [0mPASS src/test/spring.test.ts
|
|
50
|
+
[34mremotion:test: [0mPASS src/test/webpack-caching.test.ts
|
|
51
|
+
[34mremotion:test: [0mPASS src/test/preview-server.test.ts
|
|
52
|
+
[34mremotion:test: [0mPASS src/test/absolute-src.test.ts
|
|
53
|
+
[34mremotion:test: [0mPASS src/test/ready-manager.test.ts
|
|
54
|
+
[34mremotion:test: [0mPASS src/test/truthy.test.ts
|
|
55
|
+
[34mremotion:test: [0mPASS src/test/get-asset-file-name.test.ts
|
|
56
|
+
[34mremotion:test: [0mPASS src/test/validate-image-format.test.ts
|
|
57
|
+
[34mremotion:test: [0mPASS src/test/Img.test.tsx
|
|
58
|
+
[34mremotion:test: [0m
|
|
59
|
+
[34mremotion:test: [0mTest Suites: 46 passed, 46 total
|
|
60
|
+
[34mremotion:test: [0mTests: 474 passed, 474 total
|
|
61
|
+
[34mremotion:test: [0mSnapshots: 0 total
|
|
62
|
+
[34mremotion:test: [0mTime: 87.932 s
|
|
63
|
+
[34mremotion:test: [0mRan all test suites.
|
package/dist/Composition.d.ts
CHANGED
|
@@ -21,5 +21,5 @@ declare type CompositionProps<T> = StillProps<T> & {
|
|
|
21
21
|
fps: number;
|
|
22
22
|
durationInFrames: number;
|
|
23
23
|
};
|
|
24
|
-
export declare const Composition: <T>({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }: CompositionProps<T>) => null;
|
|
24
|
+
export declare const Composition: <T>({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }: CompositionProps<T>) => React.ReactPortal | null;
|
|
25
25
|
export {};
|
package/dist/Composition.js
CHANGED
|
@@ -3,10 +3,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Composition = exports.Folder = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
|
+
const react_dom_1 = require("react-dom");
|
|
6
7
|
const CompositionManager_1 = require("./CompositionManager");
|
|
8
|
+
const input_props_1 = require("./config/input-props");
|
|
9
|
+
const delay_render_1 = require("./delay-render");
|
|
10
|
+
const get_environment_1 = require("./get-environment");
|
|
11
|
+
const loading_indicator_1 = require("./loading-indicator");
|
|
7
12
|
const nonce_1 = require("./nonce");
|
|
13
|
+
const portal_node_1 = require("./portal-node");
|
|
8
14
|
const truthy_1 = require("./truthy");
|
|
9
15
|
const use_lazy_component_1 = require("./use-lazy-component");
|
|
16
|
+
const use_video_1 = require("./use-video");
|
|
10
17
|
const validate_composition_id_1 = require("./validation/validate-composition-id");
|
|
11
18
|
const validate_dimensions_1 = require("./validation/validate-dimensions");
|
|
12
19
|
const validate_duration_in_frames_1 = require("./validation/validate-duration-in-frames");
|
|
@@ -37,8 +44,16 @@ const Folder = ({ name, children, }) => {
|
|
|
37
44
|
return ((0, jsx_runtime_1.jsx)(FolderContext.Provider, { value: value, children: children }));
|
|
38
45
|
};
|
|
39
46
|
exports.Folder = Folder;
|
|
47
|
+
const Fallback = () => {
|
|
48
|
+
(0, react_1.useEffect)(() => {
|
|
49
|
+
const fallback = (0, delay_render_1.delayRender)('Waiting for Root component to unsuspend');
|
|
50
|
+
return () => (0, delay_render_1.continueRender)(fallback);
|
|
51
|
+
}, []);
|
|
52
|
+
return null;
|
|
53
|
+
};
|
|
40
54
|
const Composition = ({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }) => {
|
|
41
55
|
const { registerComposition, unregisterComposition } = (0, react_1.useContext)(CompositionManager_1.CompositionManager);
|
|
56
|
+
const video = (0, use_video_1.useVideo)();
|
|
42
57
|
const lazy = (0, use_lazy_component_1.useLazyComponent)(compProps);
|
|
43
58
|
const nonce = (0, nonce_1.useNonce)();
|
|
44
59
|
const { folderName, parentName } = (0, react_1.useContext)(FolderContext);
|
|
@@ -81,6 +96,20 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps, .
|
|
|
81
96
|
nonce,
|
|
82
97
|
parentName,
|
|
83
98
|
]);
|
|
99
|
+
if ((0, get_environment_1.getRemotionEnvironment)() === 'preview' &&
|
|
100
|
+
video &&
|
|
101
|
+
video.component === lazy) {
|
|
102
|
+
const Comp = lazy;
|
|
103
|
+
const inputProps = (0, input_props_1.getInputProps)();
|
|
104
|
+
return (0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(react_1.Suspense, { fallback: (0, jsx_runtime_1.jsx)(loading_indicator_1.Loading, {}), children: (0, jsx_runtime_1.jsx)(Comp, { ...defaultProps, ...inputProps }) }), (0, portal_node_1.portalNode)());
|
|
105
|
+
}
|
|
106
|
+
if ((0, get_environment_1.getRemotionEnvironment)() === 'rendering' &&
|
|
107
|
+
video &&
|
|
108
|
+
video.component === lazy) {
|
|
109
|
+
const Comp = lazy;
|
|
110
|
+
const inputProps = (0, input_props_1.getInputProps)();
|
|
111
|
+
return (0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(react_1.Suspense, { fallback: (0, jsx_runtime_1.jsx)(Fallback, {}), children: (0, jsx_runtime_1.jsx)(Comp, { ...defaultProps, ...inputProps }) }), (0, portal_node_1.portalNode)());
|
|
112
|
+
}
|
|
84
113
|
return null;
|
|
85
114
|
};
|
|
86
115
|
exports.Composition = Composition;
|
package/dist/audio/Audio.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { RemotionMainAudioProps } from './props';
|
|
|
3
3
|
export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "autoPlay" | "controls" | "loop" | "onEnded"> & {
|
|
4
4
|
volume?: import("../volume-prop").VolumeProp | undefined;
|
|
5
5
|
playbackRate?: number | undefined;
|
|
6
|
-
} & RemotionMainAudioProps, "
|
|
6
|
+
} & RemotionMainAudioProps, "dir" | "slot" | "style" | "title" | "id" | "children" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "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" | "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" | "volume" | "playbackRate" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
|
|
@@ -4,4 +4,4 @@ export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<O
|
|
|
4
4
|
playbackRate?: number | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
shouldPreMountAudioTags: boolean;
|
|
7
|
-
}, "
|
|
7
|
+
}, "dir" | "slot" | "style" | "title" | "id" | "children" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "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" | "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" | "volume" | "playbackRate" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
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, "dir" | "slot" | "style" | "title" | "id" | "children" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "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" | "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" | "volume" | "playbackRate"> & React.RefAttributes<HTMLAudioElement>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setBundleOutDir = exports.getBundleOutDir = void 0;
|
|
4
|
+
let bundleOutDir = null;
|
|
5
|
+
const getBundleOutDir = () => {
|
|
6
|
+
return bundleOutDir;
|
|
7
|
+
};
|
|
8
|
+
exports.getBundleOutDir = getBundleOutDir;
|
|
9
|
+
const setBundleOutDir = (path) => {
|
|
10
|
+
bundleOutDir = path;
|
|
11
|
+
};
|
|
12
|
+
exports.setBundleOutDir = setBundleOutDir;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getEveryNthFrame = exports.setEveryNthFrame = void 0;
|
|
4
|
+
const validate_every_nth_frame_1 = require("../validation/validate-every-nth-frame");
|
|
5
|
+
let everyNthFrame = 1;
|
|
6
|
+
const setEveryNthFrame = (frame) => {
|
|
7
|
+
(0, validate_every_nth_frame_1.validateEveryNthFrame)(frame);
|
|
8
|
+
everyNthFrame = frame;
|
|
9
|
+
};
|
|
10
|
+
exports.setEveryNthFrame = setEveryNthFrame;
|
|
11
|
+
const getEveryNthFrame = () => everyNthFrame;
|
|
12
|
+
exports.getEveryNthFrame = getEveryNthFrame;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export declare type FfmpegExecutable = string | null;
|
|
2
2
|
export declare const setFfmpegExecutable: (ffmpegPath: FfmpegExecutable) => void;
|
|
3
3
|
export declare const getCustomFfmpegExecutable: () => FfmpegExecutable;
|
|
4
|
+
export declare const setFfprobeExecutable: (ffprobePath: FfmpegExecutable) => void;
|
|
5
|
+
export declare const getCustomFfprobeExecutable: () => FfmpegExecutable;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCustomFfmpegExecutable = exports.setFfmpegExecutable = void 0;
|
|
3
|
+
exports.getCustomFfprobeExecutable = exports.setFfprobeExecutable = exports.getCustomFfmpegExecutable = exports.setFfmpegExecutable = void 0;
|
|
4
4
|
let currentFfmpegExecutablePath = null;
|
|
5
|
+
let currentFfprobeExecutablePath = null;
|
|
5
6
|
const setFfmpegExecutable = (ffmpegPath) => {
|
|
6
7
|
currentFfmpegExecutablePath = ffmpegPath;
|
|
7
8
|
};
|
|
@@ -10,3 +11,11 @@ const getCustomFfmpegExecutable = () => {
|
|
|
10
11
|
return currentFfmpegExecutablePath;
|
|
11
12
|
};
|
|
12
13
|
exports.getCustomFfmpegExecutable = getCustomFfmpegExecutable;
|
|
14
|
+
const setFfprobeExecutable = (ffprobePath) => {
|
|
15
|
+
currentFfprobeExecutablePath = ffprobePath;
|
|
16
|
+
};
|
|
17
|
+
exports.setFfprobeExecutable = setFfprobeExecutable;
|
|
18
|
+
const getCustomFfprobeExecutable = () => {
|
|
19
|
+
return currentFfprobeExecutablePath;
|
|
20
|
+
};
|
|
21
|
+
exports.getCustomFfprobeExecutable = getCustomFfprobeExecutable;
|
|
@@ -3,6 +3,6 @@ declare const validOptions: readonly ["png", "jpeg", "none"];
|
|
|
3
3
|
export declare type ImageFormat = typeof validOptions[number];
|
|
4
4
|
export declare type StillImageFormat = 'png' | 'jpeg';
|
|
5
5
|
export declare const setImageFormat: (format: ImageFormat) => void;
|
|
6
|
-
export declare const getUserPreferredImageFormat: () => "
|
|
6
|
+
export declare const getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
|
7
7
|
export declare const validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: PixelFormat, imageFormat: ImageFormat) => 'none' | 'valid';
|
|
8
8
|
export {};
|
package/dist/config/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare const Config: {
|
|
|
44
44
|
*
|
|
45
45
|
* Set this to 'verbose' to get browser logs and other IO.
|
|
46
46
|
*/
|
|
47
|
-
readonly setLevel: (newLogLevel: "
|
|
47
|
+
readonly setLevel: (newLogLevel: "verbose" | "info" | "warn" | "error") => void;
|
|
48
48
|
};
|
|
49
49
|
readonly Puppeteer: {
|
|
50
50
|
/**
|
|
@@ -99,7 +99,7 @@ export declare const Config: {
|
|
|
99
99
|
/** Decide in which image format to render. Can be either 'jpeg' or 'png'.
|
|
100
100
|
* PNG is slower, but supports transparency.
|
|
101
101
|
*/
|
|
102
|
-
readonly setImageFormat: (format: "
|
|
102
|
+
readonly setImageFormat: (format: "png" | "jpeg" | "none") => void;
|
|
103
103
|
/**
|
|
104
104
|
* Render only a subset of a video.
|
|
105
105
|
* Pass in a tuple [20, 30] to only render frames 20-30 into a video.
|
|
@@ -112,6 +112,11 @@ export declare const Config: {
|
|
|
112
112
|
* Default: null, which will use ffmpeg available in PATH.
|
|
113
113
|
*/
|
|
114
114
|
readonly setFfmpegExecutable: (ffmpegPath: FfmpegExecutable) => void;
|
|
115
|
+
/**
|
|
116
|
+
* Specify local ffprobe executable.
|
|
117
|
+
* Default: null, which will use ffprobe available in PATH.
|
|
118
|
+
*/
|
|
119
|
+
readonly setFfprobeExecutable: (ffprobePath: FfmpegExecutable) => void;
|
|
115
120
|
/**
|
|
116
121
|
* Scales the output dimensions by a factor.
|
|
117
122
|
* Default: 1.
|
package/dist/config/index.js
CHANGED
|
@@ -126,6 +126,11 @@ exports.Config = {
|
|
|
126
126
|
* Default: null, which will use ffmpeg available in PATH.
|
|
127
127
|
*/
|
|
128
128
|
setFfmpegExecutable: ffmpeg_executable_1.setFfmpegExecutable,
|
|
129
|
+
/**
|
|
130
|
+
* Specify local ffprobe executable.
|
|
131
|
+
* Default: null, which will use ffprobe available in PATH.
|
|
132
|
+
*/
|
|
133
|
+
setFfprobeExecutable: ffmpeg_executable_1.setFfprobeExecutable,
|
|
129
134
|
/**
|
|
130
135
|
* Scales the output dimensions by a factor.
|
|
131
136
|
* Default: 1.
|
package/dist/config/log.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const logLevels: readonly ["verbose", "info", "warn", "error"];
|
|
2
2
|
export declare type LogLevel = typeof logLevels[number];
|
|
3
3
|
export declare const DEFAULT_LOG_LEVEL: LogLevel;
|
|
4
|
-
export declare const getLogLevel: () => "
|
|
4
|
+
export declare const getLogLevel: () => "verbose" | "info" | "warn" | "error";
|
|
5
5
|
export declare const setLogLevel: (newLogLevel: LogLevel) => void;
|
|
6
6
|
export declare const isValidLogLevel: (level: string) => boolean;
|
|
7
7
|
export declare const isEqualOrBelowLogLevel: (currentLevel: LogLevel, level: LogLevel) => boolean;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getLoop = exports.setLoop = void 0;
|
|
4
|
+
let currentLoop = null;
|
|
5
|
+
const setLoop = (newLoop) => {
|
|
6
|
+
if (typeof newLoop !== 'number') {
|
|
7
|
+
throw new Error('--loop flag must be a number.');
|
|
8
|
+
}
|
|
9
|
+
currentLoop = newLoop;
|
|
10
|
+
};
|
|
11
|
+
exports.setLoop = setLoop;
|
|
12
|
+
const getLoop = () => {
|
|
13
|
+
return currentLoop;
|
|
14
|
+
};
|
|
15
|
+
exports.getLoop = getLoop;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setPublicPath = exports.getPublicPath = void 0;
|
|
4
|
+
let publicPath = null;
|
|
5
|
+
const getPublicPath = () => {
|
|
6
|
+
return publicPath;
|
|
7
|
+
};
|
|
8
|
+
exports.getPublicPath = getPublicPath;
|
|
9
|
+
const setPublicPath = (path) => {
|
|
10
|
+
publicPath = path;
|
|
11
|
+
};
|
|
12
|
+
exports.setPublicPath = setPublicPath;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSkipNFrames = exports.setSkipNFrames = void 0;
|
|
4
|
+
const validate_frame_1 = require("../validation/validate-frame");
|
|
5
|
+
let skipNFrames = 0;
|
|
6
|
+
const setSkipNFrames = (frame) => {
|
|
7
|
+
(0, validate_frame_1.validateFrame)(frame, Infinity);
|
|
8
|
+
skipNFrames = frame;
|
|
9
|
+
};
|
|
10
|
+
exports.setSkipNFrames = setSkipNFrames;
|
|
11
|
+
const getSkipNFrames = () => skipNFrames;
|
|
12
|
+
exports.getSkipNFrames = getSkipNFrames;
|
package/dist/internals.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare const Internals: {
|
|
|
48
48
|
getRoot: () => import("react").FC<{}> | null;
|
|
49
49
|
getBrowserExecutable: () => import("./config/browser-executable").BrowserExecutable;
|
|
50
50
|
getCustomFfmpegExecutable: () => import("./config/ffmpeg-executable").FfmpegExecutable;
|
|
51
|
+
getCustomFfprobeExecutable: () => import("./config/ffmpeg-executable").FfmpegExecutable;
|
|
51
52
|
getPixelFormat: () => "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le";
|
|
52
53
|
getConcurrency: () => number | null;
|
|
53
54
|
getRange: () => import("./config/frame-range").FrameRange | null;
|
|
@@ -75,11 +76,11 @@ export declare const Internals: {
|
|
|
75
76
|
getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
|
|
76
77
|
getActualCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
|
|
77
78
|
setFrameRangeFromCli: (newFrameRange: string | number) => void;
|
|
78
|
-
getUserPreferredImageFormat: () => "
|
|
79
|
-
validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "
|
|
79
|
+
getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
|
|
80
|
+
validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "png" | "jpeg" | "none") => "none" | "valid";
|
|
80
81
|
validateSelectedPixelFormatAndCodecCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => void;
|
|
81
82
|
validateFrameRange: (frameRange: import("./config/frame-range").FrameRange | null) => void;
|
|
82
|
-
validateNonNullImageFormat: (imageFormat: "
|
|
83
|
+
validateNonNullImageFormat: (imageFormat: "png" | "jpeg" | "none") => void;
|
|
83
84
|
getWebpackCaching: () => boolean;
|
|
84
85
|
useLazyComponent: <T>(compProps: CompProps<T>) => import("react").ExoticComponent<(import("react").PropsWithoutRef<T> & import("react").RefAttributes<import("react").Component<T, any, any>>) | import("react").PropsWithRef<T>> & {
|
|
85
86
|
readonly _result: import("react").ComponentType<T>;
|
|
@@ -145,5 +146,6 @@ export declare const Internals: {
|
|
|
145
146
|
}>;
|
|
146
147
|
DELAY_RENDER_CALLSTACK_TOKEN: string;
|
|
147
148
|
useAbsoluteCurrentFrame: () => number;
|
|
149
|
+
portalNode: () => HTMLElement;
|
|
148
150
|
};
|
|
149
151
|
export type { TComposition, Timeline, TCompMetadata, TSequence, WebpackOverrideFn, TAsset, RenderAssetInfo, TimelineContextValue, SetTimelineContextValue, TimelineInOutContextValue, SetTimelineInOutContextValue, CompProps, CompositionManagerContext, MediaVolumeContextValue, SetMediaVolumeContextValue, RemotionEnvironment, ProResProfile, OpenGlRenderer, };
|
package/dist/internals.js
CHANGED
|
@@ -57,6 +57,7 @@ const get_environment_1 = require("./get-environment");
|
|
|
57
57
|
const get_preview_dom_element_1 = require("./get-preview-dom-element");
|
|
58
58
|
const is_audio_codec_1 = require("./is-audio-codec");
|
|
59
59
|
const perf = __importStar(require("./perf"));
|
|
60
|
+
const portal_node_1 = require("./portal-node");
|
|
60
61
|
const register_root_1 = require("./register-root");
|
|
61
62
|
const RemotionRoot_1 = require("./RemotionRoot");
|
|
62
63
|
const sequencing_1 = require("./sequencing");
|
|
@@ -92,6 +93,7 @@ exports.Internals = {
|
|
|
92
93
|
getRoot: register_root_1.getRoot,
|
|
93
94
|
getBrowserExecutable: browser_executable_1.getBrowserExecutable,
|
|
94
95
|
getCustomFfmpegExecutable: ffmpeg_executable_1.getCustomFfmpegExecutable,
|
|
96
|
+
getCustomFfprobeExecutable: ffmpeg_executable_1.getCustomFfprobeExecutable,
|
|
95
97
|
getPixelFormat: pixel_format_1.getPixelFormat,
|
|
96
98
|
getConcurrency: concurrency_1.getConcurrency,
|
|
97
99
|
getRange: frame_range_1.getRange,
|
|
@@ -167,4 +169,5 @@ exports.Internals = {
|
|
|
167
169
|
compositionsRef: CompositionManager_1.compositionsRef,
|
|
168
170
|
DELAY_RENDER_CALLSTACK_TOKEN: delay_render_1.DELAY_RENDER_CALLSTACK_TOKEN,
|
|
169
171
|
useAbsoluteCurrentFrame: use_frame_1.useAbsoluteCurrentFrame,
|
|
172
|
+
portalNode: portal_node_1.portalNode,
|
|
170
173
|
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Loading = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const AbsoluteFill_1 = require("./AbsoluteFill");
|
|
6
|
+
const rotate = {
|
|
7
|
+
transform: `rotate(90deg)`,
|
|
8
|
+
};
|
|
9
|
+
const ICON_SIZE = 40;
|
|
10
|
+
const label = {
|
|
11
|
+
color: '#555',
|
|
12
|
+
fontSize: 14,
|
|
13
|
+
fontFamily: 'sans-serif',
|
|
14
|
+
};
|
|
15
|
+
const container = {
|
|
16
|
+
justifyContent: 'center',
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
};
|
|
19
|
+
const Loading = () => {
|
|
20
|
+
return ((0, jsx_runtime_1.jsxs)(AbsoluteFill_1.AbsoluteFill, { style: container, id: "remotion-comp-loading", children: [(0, jsx_runtime_1.jsx)("style", { type: "text/css", children: `
|
|
21
|
+
@keyframes anim {
|
|
22
|
+
from {
|
|
23
|
+
opacity: 0
|
|
24
|
+
}
|
|
25
|
+
to {
|
|
26
|
+
opacity: 1
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
#remotion-comp-loading {
|
|
30
|
+
animation: anim 2s;
|
|
31
|
+
animation-fill-mode: forwards;
|
|
32
|
+
}
|
|
33
|
+
` }), (0, jsx_runtime_1.jsx)("svg", { width: ICON_SIZE, height: ICON_SIZE, viewBox: "-100 -100 400 400", style: rotate, children: (0, jsx_runtime_1.jsx)("path", { fill: "#555", stroke: "#555", strokeWidth: "100", strokeLinejoin: "round", d: "M 2 172 a 196 100 0 0 0 195 5 A 196 240 0 0 0 100 2.259 A 196 240 0 0 0 2 172 z" }) }), (0, jsx_runtime_1.jsx)("p", { style: label, children: "Loading..." })] }));
|
|
34
|
+
};
|
|
35
|
+
exports.Loading = Loading;
|
package/dist/perf/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare type PerfId = 'activate-target' | 'capture' | 'save';
|
|
1
|
+
declare type PerfId = 'activate-target' | 'capture' | 'save' | 'extract-frame' | 'piping';
|
|
2
2
|
export declare const startPerfMeasure: (marker: PerfId) => number;
|
|
3
3
|
export declare const stopPerfMeasure: (id: number) => void;
|
|
4
4
|
export declare const logPerf: () => void;
|
package/dist/perf/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const portalNode: () => HTMLElement;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.portalNode = void 0;
|
|
4
|
+
let _portalNode = null;
|
|
5
|
+
const portalNode = () => {
|
|
6
|
+
if (!_portalNode) {
|
|
7
|
+
if (typeof document === 'undefined') {
|
|
8
|
+
throw new Error('Tried to call an API that only works in the browser from outside the browser');
|
|
9
|
+
}
|
|
10
|
+
_portalNode = document.createElement('div');
|
|
11
|
+
_portalNode.style.position = 'absolute';
|
|
12
|
+
_portalNode.style.top = '0px';
|
|
13
|
+
_portalNode.style.left = '0px';
|
|
14
|
+
_portalNode.style.right = '0px';
|
|
15
|
+
_portalNode.style.bottom = '0px';
|
|
16
|
+
_portalNode.style.width = '100%';
|
|
17
|
+
_portalNode.style.height = '100%';
|
|
18
|
+
_portalNode.style.display = 'flex';
|
|
19
|
+
_portalNode.style.flexDirection = 'column';
|
|
20
|
+
}
|
|
21
|
+
return _portalNode;
|
|
22
|
+
};
|
|
23
|
+
exports.portalNode = portalNode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const validateEveryNthFrame: (everyNthFrame: unknown) => void;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validateEveryNthFrame = void 0;
|
|
4
|
+
const validateEveryNthFrame = (everyNthFrame) => {
|
|
5
|
+
if (typeof everyNthFrame === 'undefined') {
|
|
6
|
+
throw new TypeError(`Argument missing for parameter "everyNthFrame"`);
|
|
7
|
+
}
|
|
8
|
+
if (typeof everyNthFrame !== 'number') {
|
|
9
|
+
throw new TypeError(`Argument passed to "everyNthFrame" is not a number: ${everyNthFrame}`);
|
|
10
|
+
}
|
|
11
|
+
if (everyNthFrame < 1) {
|
|
12
|
+
throw new RangeError(`The value for "everyNthFrame" cannot be below 1, but is ${everyNthFrame}`);
|
|
13
|
+
}
|
|
14
|
+
if (!Number.isFinite(everyNthFrame)) {
|
|
15
|
+
throw new RangeError(`"everyNthFrame" ${everyNthFrame} is not finite`);
|
|
16
|
+
}
|
|
17
|
+
if (everyNthFrame % 1 !== 0) {
|
|
18
|
+
throw new RangeError(`Argument for everyNthFrame must be an integer, but got ${everyNthFrame}`);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
exports.validateEveryNthFrame = validateEveryNthFrame;
|
package/dist/video/Video.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ import { RemotionMainVideoProps } from './props';
|
|
|
3
3
|
export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "autoPlay" | "controls" | "loop" | "onEnded"> & {
|
|
4
4
|
volume?: import("../volume-prop").VolumeProp | undefined;
|
|
5
5
|
playbackRate?: number | undefined;
|
|
6
|
-
} & RemotionMainVideoProps, "
|
|
6
|
+
} & RemotionMainVideoProps, "dir" | "slot" | "style" | "title" | "id" | "height" | "width" | "children" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "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" | "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" | "volume" | "playbackRate" | "poster" | "disablePictureInPicture" | "disableRemotePlayback" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
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, "dir" | "slot" | "style" | "title" | "id" | "height" | "width" | "children" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "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" | "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" | "volume" | "playbackRate" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
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, "dir" | "slot" | "style" | "title" | "id" | "height" | "width" | "children" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "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" | "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" | "volume" | "playbackRate" | "poster" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.19",
|
|
4
4
|
"description": "Render videos in React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "388ef0a2eacf9dbadbc860fdb8d6b3e32acb10f3"
|
|
59
59
|
}
|