remotion 3.0.2 → 4.0.0-audio.22
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 -11
- package/.turbo/turbo-test.log +36 -30
- package/dist/audio/Audio.d.ts +2 -2
- package/dist/audio/AudioForRendering.d.ts +1 -1
- package/dist/audio/use-frame-for-volume-prop.d.ts +6 -0
- package/dist/audio/use-frame-for-volume-prop.d.ts.map +1 -0
- package/dist/audio/use-frame-for-volume-prop.js +16 -0
- package/dist/audio/use-frame-for-volume-prop.js.map +1 -0
- package/dist/audio/use-media-starts-at.d.ts +2 -0
- package/dist/audio/use-media-starts-at.d.ts.map +1 -0
- package/dist/audio/use-media-starts-at.js +13 -0
- package/dist/audio/use-media-starts-at.js.map +1 -0
- package/dist/config/index.d.ts +2 -2
- package/dist/internals.d.ts +3 -3
- package/dist/video/Video.d.ts +2 -2
- package/dist/video/VideoForRendering.d.ts +1 -1
- package/dist/video/VideoForRendering.d.ts.map +1 -1
- package/dist/video/VideoForRendering.js +9 -3
- package/dist/video/VideoForRendering.js.map +1 -1
- package/package.json +2 -2
- package/dist/any-component.d.ts +0 -4
- package/dist/any-component.d.ts.map +0 -1
- package/dist/any-component.js +0 -3
- package/dist/any-component.js.map +0 -1
- package/dist/config/frames-per-lambda.d.ts +0 -3
- package/dist/config/frames-per-lambda.d.ts.map +0 -1
- package/dist/config/frames-per-lambda.js +0 -13
- package/dist/config/frames-per-lambda.js.map +0 -1
- package/dist/is-remote-asset.d.ts +0 -2
- package/dist/is-remote-asset.d.ts.map +0 -1
- package/dist/is-remote-asset.js +0 -8
- package/dist/is-remote-asset.js.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
1
|
+
[32mremotion:build: [0mcache hit, replaying output [2m565d05c82ac1beb6[0m
|
|
2
|
+
[32mremotion:build: [0m
|
|
3
|
+
[32mremotion:build: [0m> remotion@3.0.3 build /Users/jonathanburger/remotion/packages/core
|
|
4
|
+
[32mremotion:build: [0m> tsc -d
|
|
5
|
+
[32mremotion:build: [0m
|
package/.turbo/turbo-lint.log
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
6
|
-
[
|
|
7
|
-
[
|
|
8
|
-
[
|
|
9
|
-
[
|
|
10
|
-
[
|
|
11
|
-
[
|
|
1
|
+
[34mremotion:lint: [0mcache hit, replaying output [2m2b460f5126a54cd2[0m
|
|
2
|
+
[34mremotion:lint: [0m
|
|
3
|
+
[34mremotion:lint: [0m> remotion@3.0.0 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
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
[34mremotion:test: [0mcache hit, replaying output [
|
|
1
|
+
[34mremotion:test: [0mcache hit, replaying output [2me3ba0eb77bd61cd6[0m
|
|
2
2
|
[34mremotion:test: [0m
|
|
3
|
-
[34mremotion:test: [0m> remotion@
|
|
3
|
+
[34mremotion:test: [0m> remotion@3.0.0 test /Users/jonathanburger/remotion/packages/core
|
|
4
4
|
[34mremotion:test: [0m> jest --coverage && node generate-badges.js
|
|
5
5
|
[34mremotion:test: [0m
|
|
6
|
+
[34mremotion:test: [0mwatchman warning: Recrawled this watch 15 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
|
|
6
12
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
7
13
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
8
14
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
@@ -12,67 +18,67 @@
|
|
|
12
18
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
13
19
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
14
20
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
21
|
+
[34mremotion:test: [0mPASS src/test/easing.test.ts (11.085 s)
|
|
22
|
+
[34mremotion:test: [0mPASS src/test/crf.test.ts (11.217 s)
|
|
23
|
+
[34mremotion:test: [0mPASS src/test/interpolate.test.ts (11.633 s)
|
|
15
24
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
16
25
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
17
26
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
18
|
-
[34mremotion:test: [0mPASS src/test/
|
|
19
|
-
[34mremotion:test: [0mPASS src/test/easing.test.ts (23.331 s)
|
|
20
|
-
[34mremotion:test: [0mPASS src/test/interpolate.test.ts (23.825 s)
|
|
27
|
+
[34mremotion:test: [0mPASS src/test/volume-prop.test.ts
|
|
21
28
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
22
29
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
23
30
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
24
|
-
[34mremotion:test: [0mPASS src/test/volume-prop.test.ts
|
|
25
31
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
26
32
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
27
33
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
28
34
|
[34mremotion:test: [0mPASS src/test/interpolateColors.test.ts
|
|
35
|
+
[34mremotion:test: [0mPASS src/test/nested-sequences.test.tsx (15.341 s)
|
|
29
36
|
[34mremotion:test: [0mPASS src/test/pixel-format.test.ts
|
|
30
37
|
[34mremotion:test: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
31
38
|
[34mremotion:test: [0m npx browserslist@latest --update-db
|
|
32
39
|
[34mremotion:test: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
33
|
-
[34mremotion:test: [0mPASS src/test/nested-sequences.test.tsx (30.022 s)
|
|
34
40
|
[34mremotion:test: [0mPASS src/test/media-validation.test.tsx
|
|
35
|
-
[34mremotion:test: [0mPASS src/test/image-format.test.ts
|
|
36
41
|
[34mremotion:test: [0mPASS src/test/random.test.ts
|
|
42
|
+
[34mremotion:test: [0mPASS src/test/image-format.test.ts
|
|
37
43
|
[34mremotion:test: [0mPASS src/test/codec.test.ts
|
|
38
44
|
[34mremotion:test: [0mPASS src/test/get-current-time.test.ts
|
|
39
|
-
[34mremotion:test: [0mPASS src/test/sequence-validation.test.tsx
|
|
40
|
-
[34mremotion:test: [0mPASS src/test/range.test.tsx (
|
|
41
|
-
[34mremotion:test: [0mPASS src/test/audio-for-rendering.test.tsx (
|
|
42
|
-
[34mremotion:test: [0mPASS src/test/use-audio-frame.test.tsx
|
|
45
|
+
[34mremotion:test: [0mPASS src/test/sequence-validation.test.tsx (6.454 s)
|
|
46
|
+
[34mremotion:test: [0mPASS src/test/range.test.tsx (14.861 s)
|
|
47
|
+
[34mremotion:test: [0mPASS src/test/audio-for-rendering.test.tsx (13.478 s)
|
|
48
|
+
[34mremotion:test: [0mPASS src/test/use-audio-frame.test.tsx (5.065 s)
|
|
43
49
|
[34mremotion:test: [0mPASS src/test/validate-start-from-props.test.ts
|
|
44
|
-
[34mremotion:test: [0mPASS src/test/composition-rules.test.tsx (
|
|
45
|
-
[34mremotion:test: [0mPASS src/test/
|
|
46
|
-
[34mremotion:test: [0mPASS src/test/
|
|
47
|
-
[34mremotion:test: [0mPASS src/test/
|
|
48
|
-
[34mremotion:test: [0mPASS src/test/
|
|
50
|
+
[34mremotion:test: [0mPASS src/test/composition-rules.test.tsx (11.868 s)
|
|
51
|
+
[34mremotion:test: [0mPASS src/test/composition-validation.test.tsx (39.901 s)
|
|
52
|
+
[34mremotion:test: [0mPASS src/test/series.test.tsx (40.013 s)
|
|
53
|
+
[34mremotion:test: [0mPASS src/test/loop-validation.test.tsx (41.175 s)
|
|
54
|
+
[34mremotion:test: [0mPASS src/test/measure-spring.test.ts
|
|
55
|
+
[34mremotion:test: [0mPASS src/test/freeze.test.tsx (18.901 s)
|
|
49
56
|
[34mremotion:test: [0mPASS src/test/use-sync-volume-with-media-tag.test.ts
|
|
50
57
|
[34mremotion:test: [0mPASS src/test/log.test.ts
|
|
51
|
-
[34mremotion:test: [0mPASS src/test/
|
|
52
|
-
[34mremotion:test: [0mPASS src/test/measure-spring.test.ts
|
|
53
|
-
[34mremotion:test: [0mPASS src/test/use-media-tag-volume.test.tsx
|
|
54
|
-
[34mremotion:test: [0mPASS src/test/bezier.test.ts
|
|
55
|
-
[34mremotion:test: [0mPASS src/test/video.test.tsx (7.679 s)
|
|
58
|
+
[34mremotion:test: [0mPASS src/test/video.test.tsx (19.003 s)
|
|
56
59
|
[34mremotion:test: [0mPASS src/test/pro-res-profile.test.ts
|
|
57
|
-
[34mremotion:test: [0mPASS src/test/
|
|
58
|
-
[34mremotion:test: [0mPASS src/test/
|
|
60
|
+
[34mremotion:test: [0mPASS src/test/use-media-tag-volume.test.tsx (5.726 s)
|
|
61
|
+
[34mremotion:test: [0mPASS src/test/bezier.test.ts
|
|
59
62
|
[34mremotion:test: [0mPASS src/test/image-sequence.test.ts
|
|
63
|
+
[34mremotion:test: [0mPASS src/test/quality.test.ts
|
|
60
64
|
[34mremotion:test: [0mPASS src/test/concurrency.test.ts
|
|
61
|
-
[34mremotion:test: [0mPASS src/test/use-media-in-timeline.test.tsx
|
|
62
|
-
[34mremotion:test: [0mPASS src/test/webpack-caching.test.ts
|
|
63
|
-
[34mremotion:test: [0mPASS src/test/input-props.test.ts
|
|
64
65
|
[34mremotion:test: [0mPASS src/test/validate-frame.test.ts
|
|
66
|
+
[34mremotion:test: [0mPASS src/test/overwrite.test.ts
|
|
67
|
+
[34mremotion:test: [0mPASS src/test/audio.test.tsx (13.874 s)
|
|
65
68
|
[34mremotion:test: [0mPASS src/test/preview-server.test.ts
|
|
66
|
-
[34mremotion:test: [0mPASS src/test/
|
|
69
|
+
[34mremotion:test: [0mPASS src/test/input-props.test.ts
|
|
67
70
|
[34mremotion:test: [0mPASS src/test/ready-manager.test.ts
|
|
68
|
-
[34mremotion:test: [0mPASS src/test/
|
|
71
|
+
[34mremotion:test: [0mPASS src/test/use-media-in-timeline.test.tsx (7.027 s)
|
|
69
72
|
[34mremotion:test: [0mPASS src/test/get-asset-file-name.test.ts
|
|
73
|
+
[34mremotion:test: [0mPASS src/test/webpack-caching.test.ts
|
|
74
|
+
[34mremotion:test: [0mPASS src/test/spring.test.ts
|
|
70
75
|
[34mremotion:test: [0mPASS src/test/truthy.test.ts
|
|
71
76
|
[34mremotion:test: [0mPASS src/test/absolute-src.test.ts
|
|
77
|
+
[34mremotion:test: [0mPASS src/test/validate-image-format.test.ts
|
|
72
78
|
[34mremotion:test: [0mPASS src/test/Img.test.tsx
|
|
73
79
|
[34mremotion:test: [0m
|
|
74
80
|
[34mremotion:test: [0mTest Suites: 46 passed, 46 total
|
|
75
81
|
[34mremotion:test: [0mTests: 474 passed, 474 total
|
|
76
82
|
[34mremotion:test: [0mSnapshots: 0 total
|
|
77
|
-
[34mremotion:test: [0mTime:
|
|
83
|
+
[34mremotion:test: [0mTime: 56.337 s
|
|
78
84
|
[34mremotion:test: [0mRan all test suites.
|
package/dist/audio/Audio.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionMainAudioProps } from './props';
|
|
3
|
-
export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "
|
|
3
|
+
export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "onEnded" | "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" | "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
|
|
@@ -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" | "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 @@
|
|
|
1
|
+
{"version":3,"file":"use-frame-for-volume-prop.d.ts","sourceRoot":"","sources":["../../src/audio/use-frame-for-volume-prop.tsx"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,qBAAqB,cAIjC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useFrameForVolumeProp = void 0;
|
|
4
|
+
const use_frame_1 = require("../use-frame");
|
|
5
|
+
const use_media_starts_at_1 = require("./use-media-starts-at");
|
|
6
|
+
/**
|
|
7
|
+
* When passing a function as the prop for `volume`,
|
|
8
|
+
* we calculate the way more intuitive value for currentFrame
|
|
9
|
+
*/
|
|
10
|
+
const useFrameForVolumeProp = () => {
|
|
11
|
+
const frame = (0, use_frame_1.useCurrentFrame)();
|
|
12
|
+
const startsAt = (0, use_media_starts_at_1.useMediaStartsAt)();
|
|
13
|
+
return frame + startsAt;
|
|
14
|
+
};
|
|
15
|
+
exports.useFrameForVolumeProp = useFrameForVolumeProp;
|
|
16
|
+
//# sourceMappingURL=use-frame-for-volume-prop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-frame-for-volume-prop.js","sourceRoot":"","sources":["../../src/audio/use-frame-for-volume-prop.tsx"],"names":[],"mappings":";;;AAAA,4CAA6C;AAC7C,+DAAuD;AAEvD;;;GAGG;AACI,MAAM,qBAAqB,GAAG,GAAG,EAAE;IACzC,MAAM,KAAK,GAAG,IAAA,2BAAe,GAAE,CAAC;IAChC,MAAM,QAAQ,GAAG,IAAA,sCAAgB,GAAE,CAAC;IACpC,OAAO,KAAK,GAAG,QAAQ,CAAC;AACzB,CAAC,CAAC;AAJW,QAAA,qBAAqB,yBAIhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-media-starts-at.d.ts","sourceRoot":"","sources":["../../src/audio/use-media-starts-at.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,gBAAgB,cAI5B,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useMediaStartsAt = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const sequencing_1 = require("../sequencing");
|
|
6
|
+
const useMediaStartsAt = () => {
|
|
7
|
+
var _a;
|
|
8
|
+
const parentSequence = (0, react_1.useContext)(sequencing_1.SequenceContext);
|
|
9
|
+
const startsAt = Math.min(0, (_a = parentSequence === null || parentSequence === void 0 ? void 0 : parentSequence.relativeFrom) !== null && _a !== void 0 ? _a : 0);
|
|
10
|
+
return startsAt;
|
|
11
|
+
};
|
|
12
|
+
exports.useMediaStartsAt = useMediaStartsAt;
|
|
13
|
+
//# sourceMappingURL=use-media-starts-at.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-media-starts-at.js","sourceRoot":"","sources":["../../src/audio/use-media-starts-at.ts"],"names":[],"mappings":";;;AAAA,iCAAiC;AACjC,8CAA8C;AAEvC,MAAM,gBAAgB,GAAG,GAAG,EAAE;;IACpC,MAAM,cAAc,GAAG,IAAA,kBAAU,EAAC,4BAAe,CAAC,CAAC;IACnD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,YAAY,mCAAI,CAAC,CAAC,CAAC;IAChE,OAAO,QAAQ,CAAC;AACjB,CAAC,CAAC;AAJW,QAAA,gBAAgB,oBAI3B"}
|
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
|
/**
|
|
@@ -156,7 +156,7 @@ export declare const Config: {
|
|
|
156
156
|
* Possible values: 4444-xq, 4444, hq, standard, light, proxy. Default: 'hq'
|
|
157
157
|
* See https://avpres.net/FFmpeg/im_ProRes.html for meaning of possible values.
|
|
158
158
|
*/
|
|
159
|
-
readonly setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "
|
|
159
|
+
readonly setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
162
|
export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, BrowserExecutable, FfmpegExecutable, ImageFormat, Codec, Browser, FrameRange, LogLevel, StillImageFormat, };
|
package/dist/internals.d.ts
CHANGED
|
@@ -103,9 +103,9 @@ export declare const Internals: {
|
|
|
103
103
|
validateFps: (fps: number, location: string) => void;
|
|
104
104
|
validateDimension: (amount: number, nameOfProp: string, location: string) => void;
|
|
105
105
|
getRemotionEnvironment: () => RemotionEnvironment;
|
|
106
|
-
getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "
|
|
107
|
-
setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "
|
|
108
|
-
validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "4444-xq" | "4444" | "hq" | "standard" | "
|
|
106
|
+
getProResProfile: () => "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined;
|
|
107
|
+
setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
|
|
108
|
+
validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
|
|
109
109
|
getMaxTimelineTracks: () => number;
|
|
110
110
|
SharedAudioContext: import("react").Context<{
|
|
111
111
|
registerAudio: (aud: import("./audio").RemotionAudioProps) => {
|
package/dist/video/Video.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionMainVideoProps } from './props';
|
|
3
|
-
export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "
|
|
3
|
+
export declare const Video: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>, "onEnded" | "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" | "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 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" | "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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoForRendering.d.ts","sourceRoot":"","sources":["../../src/video/VideoForRendering.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAef,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"VideoForRendering.d.ts","sourceRoot":"","sources":["../../src/video/VideoForRendering.tsx"],"names":[],"mappings":"AAAA,OAAO,KAON,MAAM,OAAO,CAAC;AAef,OAAO,EAAC,kBAAkB,EAAC,MAAM,SAAS,CAAC;AAuK3C,eAAO,MAAM,iBAAiB,6xJAA+C,CAAC"}
|
|
@@ -119,9 +119,15 @@ const VideoForRenderingForwardFunction = ({ onError, volume: volumeProp, playbac
|
|
|
119
119
|
videoRef.current.addEventListener('ended', () => {
|
|
120
120
|
(0, delay_render_1.continueRender)(handle);
|
|
121
121
|
}, { once: true });
|
|
122
|
-
videoRef.current.addEventListener('error', (
|
|
123
|
-
|
|
124
|
-
(0
|
|
122
|
+
videoRef.current.addEventListener('error', () => {
|
|
123
|
+
var _a, _b, _c, _d;
|
|
124
|
+
if ((_a = videoRef.current) === null || _a === void 0 ? void 0 : _a.error) {
|
|
125
|
+
console.error('Error occurred in video', (_b = videoRef.current) === null || _b === void 0 ? void 0 : _b.error);
|
|
126
|
+
throw new Error(`The browser threw an error while playing the video: ${(_d = (_c = videoRef.current) === null || _c === void 0 ? void 0 : _c.error) === null || _d === void 0 ? void 0 : _d.message}`);
|
|
127
|
+
}
|
|
128
|
+
else {
|
|
129
|
+
throw new Error('The browser threw an errir');
|
|
130
|
+
}
|
|
125
131
|
}, { once: true });
|
|
126
132
|
}, [
|
|
127
133
|
volumePropsFrame,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoForRendering.js","sourceRoot":"","sources":["../../src/video/VideoForRendering.tsx"],"names":[],"mappings":";;;;AAAA,iCAOe;AACf,kDAA+C;AAC/C,8DAGkC;AAClC,8DAAyD;AACzD,kDAA4D;AAC5D,4EAAoE;AACpE,sCAAiC;AACjC,8CAA8C;AAC9C,4CAAsE;AACtE,wEAAgE;AAChE,gDAA8C;AAC9C,yDAAgD;AAGhD,MAAM,gCAAgC,GAGlC,CAAC,EAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,GAAG,KAAK,EAAC,EAAE,GAAG,EAAE,EAAE;IAClE,MAAM,aAAa,GAAG,IAAA,mCAAuB,GAAE,CAAC;IAEhD,MAAM,KAAK,GAAG,IAAA,2BAAe,GAAE,CAAC;IAChC,MAAM,gBAAgB,GAAG,IAAA,uCAAqB,GAAE,CAAC;IACjD,MAAM,WAAW,GAAG,IAAA,8CAAoB,GAAE,CAAC;IAC3C,MAAM,QAAQ,GAAG,IAAA,cAAM,EAAmB,IAAI,CAAC,CAAC;IAChD,MAAM,eAAe,GAAG,IAAA,kBAAU,EAAC,4BAAe,CAAC,CAAC;IACpD,MAAM,aAAa,GAAG,IAAA,kCAAgB,GAAE,CAAC;IAEzC,MAAM,EAAC,aAAa,EAAE,eAAe,EAAC,GAAG,IAAA,kBAAU,EAAC,uCAAkB,CAAC,CAAC;IAExE,gEAAgE;IAChE,+CAA+C;IAC/C,MAAM,EAAE,GAAG,IAAA,eAAO,EACjB,GAAG,EAAE;;QACJ,OAAA,SAAS,IAAA,eAAM,EAAC,MAA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,CAAC,OAAO,0CAAE,KAAK,CAAC,CAAC;gBAClE,MAAM,IAAI,KAAK,CACd,uDAAuD,MAAA,MAAA,QAAQ,CAAC,OAAO,0CAAE,KAAK,0CAAE,OAAO,EAAE,CACzF,CAAC;aACF;iBAAM;gBACN,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;aAC9C;QACF,CAAC,EACD,EAAC,IAAI,EAAE,IAAI,EAAC,CACZ,CAAC;IACH,CAAC,EAAE;QACF,gBAAgB;QAChB,KAAK,CAAC,GAAG;QACT,YAAY;QACZ,WAAW,CAAC,GAAG;QACf,KAAK;QACL,aAAa;KACb,CAAC,CAAC;IAEH,OAAO,kCAAO,GAAG,EAAE,QAAQ,KAAM,KAAK,EAAE,OAAO,EAAE,OAAO,WAAI,CAAC;AAC9D,CAAC,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,kBAAU,EAAC,gCAAgC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-audio.22+2753331bd",
|
|
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": "2753331bd7eaa1a00440faf213f4f838d881e226"
|
|
59
59
|
}
|
package/dist/any-component.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ComponentType, ReactFragment, ReactNode } from 'react';
|
|
2
|
-
export declare type AnyComponent<T> = ComponentType<T> | ((props: T) => ReactNode);
|
|
3
|
-
export declare type LooseAnyComponent<T> = ComponentType<T> | ((props: T) => Exclude<ReactNode, ReactFragment | undefined>);
|
|
4
|
-
//# sourceMappingURL=any-component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"any-component.d.ts","sourceRoot":"","sources":["../src/any-component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,aAAa,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAE9D,oBAAY,YAAY,CAAC,CAAC,IAAI,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,SAAS,CAAC,CAAC;AAS3E,oBAAY,iBAAiB,CAAC,CAAC,IAC5B,aAAa,CAAC,CAAC,CAAC,GAChB,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,CAAC,SAAS,EAAE,aAAa,GAAG,SAAS,CAAC,CAAC,CAAC"}
|
package/dist/any-component.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"any-component.js","sourceRoot":"","sources":["../src/any-component.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"frames-per-lambda.d.ts","sourceRoot":"","sources":["../../src/config/frames-per-lambda.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,QAAO,MAAM,GAAG,IAE9C,CAAC;AAEF,eAAO,MAAM,kBAAkB,cAAe,MAAM,SAEnD,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.setFramesPerLambda = exports.getFramesPerLambda = void 0;
|
|
4
|
-
let framesPerLambda;
|
|
5
|
-
const getFramesPerLambda = () => {
|
|
6
|
-
return framesPerLambda;
|
|
7
|
-
};
|
|
8
|
-
exports.getFramesPerLambda = getFramesPerLambda;
|
|
9
|
-
const setFramesPerLambda = (newFrames) => {
|
|
10
|
-
framesPerLambda = newFrames;
|
|
11
|
-
};
|
|
12
|
-
exports.setFramesPerLambda = setFramesPerLambda;
|
|
13
|
-
//# sourceMappingURL=frames-per-lambda.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"frames-per-lambda.js","sourceRoot":"","sources":["../../src/config/frames-per-lambda.ts"],"names":[],"mappings":";;;AAAA,IAAI,eAA8B,CAAC;AAE5B,MAAM,kBAAkB,GAAG,GAAkB,EAAE;IACrD,OAAO,eAAe,CAAC;AACxB,CAAC,CAAC;AAFW,QAAA,kBAAkB,sBAE7B;AAEK,MAAM,kBAAkB,GAAG,CAAC,SAAiB,EAAE,EAAE;IACvD,eAAe,GAAG,SAAS,CAAC;AAC7B,CAAC,CAAC;AAFW,QAAA,kBAAkB,sBAE7B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-remote-asset.d.ts","sourceRoot":"","sources":["../src/is-remote-asset.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,UAAW,MAAM,yBAAyB,OAAO,YAEvB,CAAC"}
|
package/dist/is-remote-asset.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// TODO: Can be removed in 3.0 branch
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.isRemoteAsset = void 0;
|
|
5
|
-
const isRemoteAsset = (asset, dataURLIsRemoteObject) => (!asset.startsWith(window.location.origin) && !asset.startsWith('data')) ||
|
|
6
|
-
(asset.startsWith('data') && dataURLIsRemoteObject);
|
|
7
|
-
exports.isRemoteAsset = isRemoteAsset;
|
|
8
|
-
//# sourceMappingURL=is-remote-asset.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"is-remote-asset.js","sourceRoot":"","sources":["../src/is-remote-asset.ts"],"names":[],"mappings":";AAAA,qCAAqC;;;AAE9B,MAAM,aAAa,GAAG,CAAC,KAAa,EAAE,qBAA8B,EAAE,EAAE,CAC9E,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IACxE,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,qBAAqB,CAAC,CAAC;AAFxC,QAAA,aAAa,iBAE2B"}
|