remotion 3.3.62 → 3.3.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/audio/Audio.d.ts +1 -1
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/internals.d.ts +1 -1
- package/dist/cjs/use-video.d.ts +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/index.mjs +19 -25
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
|
@@ -9,4 +9,4 @@ export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.Deta
|
|
|
9
9
|
playbackRate?: number | undefined;
|
|
10
10
|
acceptableTimeShiftInSeconds?: number | undefined;
|
|
11
11
|
allowAmplificationDuringRender?: boolean | undefined;
|
|
12
|
-
} & RemotionMainAudioProps, "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "
|
|
12
|
+
} & RemotionMainAudioProps, "id" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "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" | "allowAmplificationDuringRender" | "controlsList" | "crossOrigin" | "loop" | "mediaGroup" | "muted" | "playsInline" | "preload" | "acceptableTimeShiftInSeconds" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
|
package/dist/cjs/index.d.ts
CHANGED
package/dist/cjs/internals.d.ts
CHANGED
|
@@ -18,11 +18,11 @@ export declare const Internals: {
|
|
|
18
18
|
numberOfAudioTags: number;
|
|
19
19
|
}>;
|
|
20
20
|
useVideo: () => {
|
|
21
|
-
defaultProps: unknown;
|
|
22
21
|
height: number;
|
|
23
22
|
width: number;
|
|
24
23
|
fps: number;
|
|
25
24
|
durationInFrames: number;
|
|
25
|
+
defaultProps: unknown;
|
|
26
26
|
id: string;
|
|
27
27
|
folderName: string | null;
|
|
28
28
|
parentFolderName: string | null;
|
package/dist/cjs/use-video.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const useVideo: () => {
|
|
3
|
-
defaultProps: unknown;
|
|
4
3
|
height: number;
|
|
5
4
|
width: number;
|
|
6
5
|
fps: number;
|
|
7
6
|
durationInFrames: number;
|
|
7
|
+
defaultProps: unknown;
|
|
8
8
|
id: string;
|
|
9
9
|
folderName: string | null;
|
|
10
10
|
parentFolderName: string | null;
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.3.
|
|
1
|
+
export declare const VERSION = "3.3.64";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/index.mjs
CHANGED
|
@@ -58,7 +58,7 @@ function truthy(value) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
// Automatically generated on publish
|
|
61
|
-
const VERSION = '3.3.
|
|
61
|
+
const VERSION = '3.3.64';
|
|
62
62
|
|
|
63
63
|
const checkMultipleRemotionVersions = () => {
|
|
64
64
|
if (typeof globalThis === 'undefined') {
|
|
@@ -1989,28 +1989,6 @@ const Folder = ({ name, children, }) => {
|
|
|
1989
1989
|
return (jsx(FolderContext.Provider, { value: value, children: children }));
|
|
1990
1990
|
};
|
|
1991
1991
|
|
|
1992
|
-
/**
|
|
1993
|
-
* The configuration has moved to @remotion/cli.
|
|
1994
|
-
* For the moment the type definitions are going to stay here
|
|
1995
|
-
*/
|
|
1996
|
-
const conf = {};
|
|
1997
|
-
let enabled = false;
|
|
1998
|
-
const Config = new Proxy(conf, {
|
|
1999
|
-
get(target, prop, receiver) {
|
|
2000
|
-
if (!enabled) {
|
|
2001
|
-
if (typeof document !== 'undefined') {
|
|
2002
|
-
// We are in the browser
|
|
2003
|
-
return {};
|
|
2004
|
-
}
|
|
2005
|
-
throw new Error('To use the Remotion config file, you need to have @remotion/cli installed.\n- Make sure that all versions of Remotion are the same.\n- Make sure that @remotion/cli is installed.\n- Make sure Config is imported from "@remotion/cli", not "remotion".');
|
|
2006
|
-
}
|
|
2007
|
-
return Reflect.get(target, prop, receiver);
|
|
2008
|
-
},
|
|
2009
|
-
});
|
|
2010
|
-
const enableLegacyRemotionConfig = () => {
|
|
2011
|
-
enabled = true;
|
|
2012
|
-
};
|
|
2013
|
-
|
|
2014
1992
|
const injected = {};
|
|
2015
1993
|
const injectCSS = (css) => {
|
|
2016
1994
|
// Skip in node
|
|
@@ -2385,7 +2363,6 @@ const Internals = {
|
|
|
2385
2363
|
validateOffthreadVideoImageFormat,
|
|
2386
2364
|
CanUseRemotionHooksProvider,
|
|
2387
2365
|
CanUseRemotionHooks,
|
|
2388
|
-
enableLegacyRemotionConfig,
|
|
2389
2366
|
PrefetchProvider,
|
|
2390
2367
|
DurationsContextProvider,
|
|
2391
2368
|
IsPlayerContextProvider,
|
|
@@ -2520,6 +2497,23 @@ const ClipComposition = ({ children }) => {
|
|
|
2520
2497
|
return jsx(AbsoluteFill, { style: style, children: children });
|
|
2521
2498
|
};
|
|
2522
2499
|
|
|
2500
|
+
/**
|
|
2501
|
+
* The configuration has moved to @remotion/cli.
|
|
2502
|
+
* For the moment the type definitions are going to stay here
|
|
2503
|
+
*/
|
|
2504
|
+
const conf = {};
|
|
2505
|
+
const Config = new Proxy(conf, {
|
|
2506
|
+
get(target, prop, receiver) {
|
|
2507
|
+
{
|
|
2508
|
+
if (typeof document !== 'undefined') {
|
|
2509
|
+
// We are in the browser
|
|
2510
|
+
return {};
|
|
2511
|
+
}
|
|
2512
|
+
throw new Error('To use the Remotion config file, you need to have @remotion/cli installed.\n- Make sure that all versions of Remotion are the same.\n- Make sure that @remotion/cli is installed.\n- Make sure Config is imported from "@remotion/cli", not "remotion".');
|
|
2513
|
+
}
|
|
2514
|
+
},
|
|
2515
|
+
});
|
|
2516
|
+
|
|
2523
2517
|
// Taken from https://github.com/facebook/react-native/blob/0b9ea60b4fee8cacc36e7160e31b91fc114dbc0d/Libraries/Animated/src/bezier.js
|
|
2524
2518
|
const NEWTON_ITERATIONS = 4;
|
|
2525
2519
|
const NEWTON_MIN_SLOPE = 0.001;
|
|
@@ -3613,7 +3607,7 @@ const OffthreadVideoForRendering = ({ onError, volume: volumeProp, playbackRate,
|
|
|
3613
3607
|
if (!src) {
|
|
3614
3608
|
throw new Error('No src passed');
|
|
3615
3609
|
}
|
|
3616
|
-
if (!window.
|
|
3610
|
+
if (!window.remotion_audioEnabled) {
|
|
3617
3611
|
return;
|
|
3618
3612
|
}
|
|
3619
3613
|
if (muted) {
|
package/dist/esm/version.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.64",
|
|
4
4
|
"description": "Render videos in React",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"types": "dist/cjs/index.d.ts",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
]
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "1a1b9b629f944b951b2085f46ff863a139589c5f"
|
|
80
80
|
}
|