remotion 3.0.0 → 3.0.3
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/.prettierrc.js +14 -0
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +11 -11
- package/.turbo/turbo-test.log +36 -30
- package/dist/Composition.d.ts +5 -1
- package/dist/Composition.d.ts.map +1 -1
- package/dist/Composition.js +34 -1
- package/dist/Composition.js.map +1 -1
- package/dist/CompositionManager.d.ts +9 -0
- package/dist/CompositionManager.d.ts.map +1 -1
- package/dist/CompositionManager.js +26 -0
- package/dist/CompositionManager.js.map +1 -1
- package/dist/RemotionRoot.js +3 -3
- package/dist/RemotionRoot.js.map +1 -1
- package/dist/audio/Audio.d.ts +2 -2
- package/dist/audio/Audio.d.ts.map +1 -1
- package/dist/audio/Audio.js +1 -0
- package/dist/audio/Audio.js.map +1 -1
- package/dist/audio/AudioForDevelopment.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 +3 -3
- package/dist/config/index.d.ts.map +1 -1
- package/dist/delay-render.d.ts +15 -0
- package/dist/delay-render.d.ts.map +1 -0
- package/dist/delay-render.js +78 -0
- package/dist/delay-render.js.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/internals.d.ts +5 -5
- package/dist/internals.d.ts.map +1 -1
- package/dist/internals.js +13 -13
- package/dist/internals.js.map +1 -1
- package/dist/use-video-config.d.ts.map +1 -1
- package/dist/validation/validate-folder-name.d.ts +4 -0
- package/dist/validation/validate-folder-name.d.ts.map +1 -0
- package/dist/validation/validate-folder-name.js +20 -0
- package/dist/validation/validate-folder-name.js.map +1 -0
- package/dist/video/Video.d.ts +2 -2
- package/dist/video/VideoForDevelopment.d.ts +1 -1
- package/dist/video/VideoForRendering.d.ts +1 -1
- package/dist/video/VideoForRendering.d.ts.map +1 -1
- package/dist/video/VideoForRendering.js +17 -11
- package/dist/video/VideoForRendering.js.map +1 -1
- package/package.json +4 -4
- 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
|
@@ -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
|
@@ -2,12 +2,12 @@ import { Browser } from './browser';
|
|
|
2
2
|
import { BrowserExecutable } from './browser-executable';
|
|
3
3
|
import { Codec } from './codec';
|
|
4
4
|
import { Concurrency } from './concurrency';
|
|
5
|
+
import { FfmpegExecutable } from './ffmpeg-executable';
|
|
5
6
|
import { FrameRange } from './frame-range';
|
|
6
7
|
import { ImageFormat, StillImageFormat } from './image-format';
|
|
7
8
|
import { LogLevel } from './log';
|
|
8
9
|
import { WebpackConfiguration, WebpackOverrideFn } from './override-webpack';
|
|
9
10
|
import { PixelFormat } from './pixel-format';
|
|
10
|
-
import { FfmpegExecutable } from './ffmpeg-executable';
|
|
11
11
|
export declare const Config: {
|
|
12
12
|
readonly Preview: {
|
|
13
13
|
/**
|
|
@@ -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.
|
|
@@ -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: "
|
|
159
|
+
readonly setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
|
|
160
160
|
};
|
|
161
161
|
};
|
|
162
162
|
export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, BrowserExecutable, FfmpegExecutable, ImageFormat, Codec, Browser, FrameRange, LogLevel, StillImageFormat, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,iBAAiB,EAAuB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,iBAAiB,EAAuB,MAAM,sBAAsB,CAAC;AAO7E,OAAO,EAAC,KAAK,EAA4B,MAAM,SAAS,CAAC;AACzD,OAAO,EAAC,WAAW,EAAiB,MAAM,eAAe,CAAC;AAG1D,OAAO,EAAC,gBAAgB,EAAsB,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAC,UAAU,EAAgB,MAAM,eAAe,CAAC;AACxD,OAAO,EAAC,WAAW,EAAkB,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAE7E,OAAO,EAAC,QAAQ,EAAc,MAAM,OAAO,CAAC;AAE5C,OAAO,EAEN,oBAAoB,EACpB,iBAAiB,EACjB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAC,WAAW,EAAiB,MAAM,gBAAgB,CAAC;AAQ3D,eAAO,MAAM,MAAM;;QAEjB;;;;WAIG;;;;QAIH;;;;WAIG;;QAEH;;;WAGG;;QAEH;;;;WAIG;;;;QAIH;;;;;;WAMG;;;;QAIH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;WAGG;;;;QAIH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;;;WAKG;;QAEH;;WAEG;;QAEH;;;;;WAKG;;QAGH;;;WAGG;;QAEH;;;WAGG;;;;QAIH;;;WAGG;;QAEH;;;;WAIG;;QAEH;;;WAGG;;QAEH;;;WAGG;;QAEH;;;;WAIG;;QAEH;;WAEG;;QAEH;;;;;WAKG;;;CAGK,CAAC;AAEX,YAAY,EACX,WAAW,EACX,WAAW,EACX,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,WAAW,EACX,KAAK,EACL,OAAO,EACP,UAAU,EACV,QAAQ,EACR,gBAAgB,GAChB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const DELAY_RENDER_CALLSTACK_TOKEN = "The delayRender was called:";
|
|
2
|
+
/**
|
|
3
|
+
* Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.
|
|
4
|
+
* @param label _optional_ A label to identify the call in case it does time out.
|
|
5
|
+
* @returns {number} An identifier to be passed to continueRender().
|
|
6
|
+
* @link https://www.remotion.dev/docs/delay-render
|
|
7
|
+
*/
|
|
8
|
+
export declare const delayRender: (label?: string | undefined) => number;
|
|
9
|
+
/**
|
|
10
|
+
* Unblock a render that has been blocked by delayRender()
|
|
11
|
+
* @param handle The return value of delayRender().
|
|
12
|
+
* @link https://www.remotion.dev/docs/continue-render
|
|
13
|
+
*/
|
|
14
|
+
export declare const continueRender: (handle: number) => void;
|
|
15
|
+
//# sourceMappingURL=delay-render.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delay-render.d.ts","sourceRoot":"","sources":["../src/delay-render.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,4BAA4B,gCAAgC,CAAC;AAE1E;;;;;GAKG;AACH,eAAO,MAAM,WAAW,kCAAqB,MAqC5C,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,WAAY,MAAM,KAAG,IA4B/C,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.continueRender = exports.delayRender = exports.DELAY_RENDER_CALLSTACK_TOKEN = void 0;
|
|
4
|
+
const get_environment_1 = require("./get-environment");
|
|
5
|
+
const timeout_1 = require("./timeout");
|
|
6
|
+
const truthy_1 = require("./truthy");
|
|
7
|
+
if (typeof window !== 'undefined') {
|
|
8
|
+
window.ready = false;
|
|
9
|
+
}
|
|
10
|
+
let handles = [];
|
|
11
|
+
const timeouts = {};
|
|
12
|
+
exports.DELAY_RENDER_CALLSTACK_TOKEN = 'The delayRender was called:';
|
|
13
|
+
/**
|
|
14
|
+
* Call this function to tell Remotion to wait before capturing this frame until data has loaded. Use continueRender() to unblock the render.
|
|
15
|
+
* @param label _optional_ A label to identify the call in case it does time out.
|
|
16
|
+
* @returns {number} An identifier to be passed to continueRender().
|
|
17
|
+
* @link https://www.remotion.dev/docs/delay-render
|
|
18
|
+
*/
|
|
19
|
+
const delayRender = (label) => {
|
|
20
|
+
var _a, _b;
|
|
21
|
+
if (typeof label !== 'string' && typeof label !== 'undefined') {
|
|
22
|
+
throw new Error('The label parameter of delayRender() must be a string or undefined, got: ' +
|
|
23
|
+
JSON.stringify(label));
|
|
24
|
+
}
|
|
25
|
+
const handle = Math.random();
|
|
26
|
+
handles.push(handle);
|
|
27
|
+
const called = (_b = (_a = Error().stack) === null || _a === void 0 ? void 0 : _a.replace(/^Error/g, '')) !== null && _b !== void 0 ? _b : '';
|
|
28
|
+
if ((0, get_environment_1.getRemotionEnvironment)() === 'rendering') {
|
|
29
|
+
const timeoutToUse = typeof window === 'undefined'
|
|
30
|
+
? timeout_1.DEFAULT_PUPPETEER_TIMEOUT
|
|
31
|
+
: window.remotion_puppeteerTimeout - 2000;
|
|
32
|
+
timeouts[handle] = setTimeout(() => {
|
|
33
|
+
const message = [
|
|
34
|
+
`A delayRender()`,
|
|
35
|
+
label ? `"${label}"` : null,
|
|
36
|
+
`was called but not cleared after ${timeoutToUse}ms. See https://remotion.dev/docs/timeout for help.`,
|
|
37
|
+
exports.DELAY_RENDER_CALLSTACK_TOKEN,
|
|
38
|
+
called,
|
|
39
|
+
]
|
|
40
|
+
.filter(truthy_1.truthy)
|
|
41
|
+
.join(' ');
|
|
42
|
+
throw new Error(message);
|
|
43
|
+
}, timeoutToUse);
|
|
44
|
+
}
|
|
45
|
+
if (typeof window !== 'undefined') {
|
|
46
|
+
window.ready = false;
|
|
47
|
+
}
|
|
48
|
+
return handle;
|
|
49
|
+
};
|
|
50
|
+
exports.delayRender = delayRender;
|
|
51
|
+
/**
|
|
52
|
+
* Unblock a render that has been blocked by delayRender()
|
|
53
|
+
* @param handle The return value of delayRender().
|
|
54
|
+
* @link https://www.remotion.dev/docs/continue-render
|
|
55
|
+
*/
|
|
56
|
+
const continueRender = (handle) => {
|
|
57
|
+
if (typeof handle === 'undefined') {
|
|
58
|
+
throw new TypeError('The continueRender() method must be called with a parameter that is the return value of delayRender(). No value was passed.');
|
|
59
|
+
}
|
|
60
|
+
if (typeof handle !== 'number') {
|
|
61
|
+
throw new TypeError('The parameter passed into continueRender() must be the return value of delayRender() which is a number. Got: ' +
|
|
62
|
+
JSON.stringify(handle));
|
|
63
|
+
}
|
|
64
|
+
handles = handles.filter((h) => {
|
|
65
|
+
if (h === handle) {
|
|
66
|
+
if ((0, get_environment_1.getRemotionEnvironment)() === 'rendering') {
|
|
67
|
+
clearTimeout(timeouts[handle]);
|
|
68
|
+
}
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return true;
|
|
72
|
+
});
|
|
73
|
+
if (handles.length === 0 && typeof window !== 'undefined') {
|
|
74
|
+
window.ready = true;
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
exports.continueRender = continueRender;
|
|
78
|
+
//# sourceMappingURL=delay-render.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delay-render.js","sourceRoot":"","sources":["../src/delay-render.ts"],"names":[],"mappings":";;;AAAA,uDAAyD;AACzD,uCAAoD;AACpD,qCAAgC;AAEhC,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;IAClC,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;CACrB;AAED,IAAI,OAAO,GAAa,EAAE,CAAC;AAC3B,MAAM,QAAQ,GAA6C,EAAE,CAAC;AACjD,QAAA,4BAA4B,GAAG,6BAA6B,CAAC;AAE1E;;;;;GAKG;AACI,MAAM,WAAW,GAAG,CAAC,KAAc,EAAU,EAAE;;IACrD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,KAAK,WAAW,EAAE;QAC9D,MAAM,IAAI,KAAK,CACd,2EAA2E;YAC1E,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CACtB,CAAC;KACF;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC;IAC7B,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACrB,MAAM,MAAM,GAAG,MAAA,MAAA,KAAK,EAAE,CAAC,KAAK,0CAAE,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,mCAAI,EAAE,CAAC;IAE3D,IAAI,IAAA,wCAAsB,GAAE,KAAK,WAAW,EAAE;QAC7C,MAAM,YAAY,GACjB,OAAO,MAAM,KAAK,WAAW;YAC5B,CAAC,CAAC,mCAAyB;YAC3B,CAAC,CAAC,MAAM,CAAC,yBAAyB,GAAG,IAAI,CAAC;QAC5C,QAAQ,CAAC,MAAM,CAAC,GAAG,UAAU,CAAC,GAAG,EAAE;YAClC,MAAM,OAAO,GAAG;gBACf,iBAAiB;gBACjB,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC,CAAC,IAAI;gBA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ill';
|
|
32
32
|
export * from './audio';
|
|
33
33
|
export * from './Composition';
|
|
34
|
-
export { TAsset, TCompMetadata,
|
|
34
|
+
export { SmallTCompMetadata, TAsset, TCompMetadata, TFolder, } from './CompositionManager';
|
|
35
35
|
export * from './config';
|
|
36
36
|
export { getInputProps } from './config/input-props';
|
|
37
|
+
export * from './delay-render';
|
|
37
38
|
export * from './easing';
|
|
38
39
|
export * from './freeze';
|
|
39
40
|
export * from './IFrame';
|
|
@@ -43,16 +44,15 @@ export * from './interpolate';
|
|
|
43
44
|
export { interpolateColors } from './interpolateColors';
|
|
44
45
|
export { Loop } from './loop';
|
|
45
46
|
export * from './random';
|
|
46
|
-
export * from './ready-manager';
|
|
47
47
|
export { registerRoot } from './register-root';
|
|
48
48
|
export { Sequence } from './sequencing';
|
|
49
49
|
export { Series } from './series';
|
|
50
50
|
export * from './spring';
|
|
51
|
+
export { staticFile } from './static-file';
|
|
51
52
|
export * from './Still';
|
|
53
|
+
export type { PlayableMediaTag } from './timeline-position-state';
|
|
52
54
|
export * from './use-frame';
|
|
53
55
|
export * from './use-video-config';
|
|
54
56
|
export * from './video';
|
|
55
57
|
export * from './video-config';
|
|
56
|
-
export { staticFile } from './static-file';
|
|
57
|
-
export type { PlayableMediaTag } from './timeline-position-state';
|
|
58
58
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,EAAC,MAAM,EAAE,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAG3D,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,KAAK,EAAE,OAAO,CAAC;QACf,qBAAqB,EAAE,MAAM,aAAa,EAAE,CAAC;QAC7C,aAAa,EAAE,CAAC,UAAU,EAAE,WAAW,KAAK,IAAI,CAAC;QACjD,mBAAmB,EA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AAO,EAAC,UAAU,EAAC,MAAM,eAAe,CAAC;AACzC,cAAc,SAAS,CAAC;AACxB,YAAY,EAAC,gBAAgB,EAAC,MAAM,2BAA2B,CAAC;AAChE,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./Composition"), exports);
|
|
|
20
20
|
__exportStar(require("./config"), exports);
|
|
21
21
|
var input_props_1 = require("./config/input-props");
|
|
22
22
|
Object.defineProperty(exports, "getInputProps", { enumerable: true, get: function () { return input_props_1.getInputProps; } });
|
|
23
|
+
__exportStar(require("./delay-render"), exports);
|
|
23
24
|
__exportStar(require("./easing"), exports);
|
|
24
25
|
__exportStar(require("./freeze"), exports);
|
|
25
26
|
__exportStar(require("./IFrame"), exports);
|
|
@@ -31,7 +32,6 @@ Object.defineProperty(exports, "interpolateColors", { enumerable: true, get: fun
|
|
|
31
32
|
var loop_1 = require("./loop");
|
|
32
33
|
Object.defineProperty(exports, "Loop", { enumerable: true, get: function () { return loop_1.Loop; } });
|
|
33
34
|
__exportStar(require("./random"), exports);
|
|
34
|
-
__exportStar(require("./ready-manager"), exports);
|
|
35
35
|
var register_root_1 = require("./register-root");
|
|
36
36
|
Object.defineProperty(exports, "registerRoot", { enumerable: true, get: function () { return register_root_1.registerRoot; } });
|
|
37
37
|
var sequencing_1 = require("./sequencing");
|
|
@@ -39,11 +39,11 @@ Object.defineProperty(exports, "Sequence", { enumerable: true, get: function ()
|
|
|
39
39
|
var series_1 = require("./series");
|
|
40
40
|
Object.defineProperty(exports, "Series", { enumerable: true, get: function () { return series_1.Series; } });
|
|
41
41
|
__exportStar(require("./spring"), exports);
|
|
42
|
+
var static_file_1 = require("./static-file");
|
|
43
|
+
Object.defineProperty(exports, "staticFile", { enumerable: true, get: function () { return static_file_1.staticFile; } });
|
|
42
44
|
__exportStar(require("./Still"), exports);
|
|
43
45
|
__exportStar(require("./use-frame"), exports);
|
|
44
46
|
__exportStar(require("./use-video-config"), exports);
|
|
45
47
|
__exportStar(require("./video"), exports);
|
|
46
48
|
__exportStar(require("./video-config"), exports);
|
|
47
|
-
var static_file_1 = require("./static-file");
|
|
48
|
-
Object.defineProperty(exports, "staticFile", { enumerable: true, get: function () { return static_file_1.staticFile; } });
|
|
49
49
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yBAAuB;AAEvB,2EAA0E;AAmC1E,IAAA,yDAA6B,GAAE,CAAC;AAEhC,iDAA+B;AAC/B,0CAAwB;AACxB,gDAA8B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yBAAuB;AAEvB,2EAA0E;AAmC1E,IAAA,yDAA6B,GAAE,CAAC;AAEhC,iDAA+B;AAC/B,0CAAwB;AACxB,gDAA8B;AAO9B,2CAAyB;AACzB,oDAAmD;AAA3C,4GAAA,aAAa,OAAA;AACrB,iDAA+B;AAC/B,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,wCAAsB;AACtB,8CAA4B;AAC5B,gDAA8B;AAC9B,yDAAsD;AAA9C,sHAAA,iBAAiB,OAAA;AACzB,+BAA4B;AAApB,4FAAA,IAAI,OAAA;AACZ,2CAAyB;AACzB,iDAA6C;AAArC,6GAAA,YAAY,OAAA;AACpB,2CAAsC;AAA9B,sGAAA,QAAQ,OAAA;AAChB,mCAAgC;AAAxB,gGAAA,MAAM,OAAA;AACd,2CAAyB;AACzB,6CAAyC;AAAjC,yGAAA,UAAU,OAAA;AAClB,0CAAwB;AAExB,8CAA4B;AAC5B,qDAAmC;AACnC,0CAAwB;AACxB,iDAA+B"}
|
package/dist/internals.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CompProps } from './Composition';
|
|
2
2
|
import { CompositionManagerContext, RenderAssetInfo, TAsset, TCompMetadata, TComposition, TSequence } from './CompositionManager';
|
|
3
|
+
import * as AssetCompression from './compress-assets';
|
|
3
4
|
import * as Logging from './config/log';
|
|
4
5
|
import { WebpackOverrideFn } from './config/override-webpack';
|
|
5
6
|
import { ProResProfile } from './config/prores-profile';
|
|
@@ -11,10 +12,9 @@ import { SetTimelineInOutContextValue, TimelineInOutContextValue } from './timel
|
|
|
11
12
|
import * as TimelinePosition from './timeline-position-state';
|
|
12
13
|
import { SetTimelineContextValue, TimelineContextValue } from './timeline-position-state';
|
|
13
14
|
import { truthy } from './truthy';
|
|
15
|
+
import { OpenGlRenderer } from './validation/validate-opengl-renderer';
|
|
14
16
|
import { MediaVolumeContextValue, SetMediaVolumeContextValue } from './volume-position-state';
|
|
15
17
|
import { useRemotionContexts } from './wrap-remotion-context';
|
|
16
|
-
import * as AssetCompression from './compress-assets';
|
|
17
|
-
import { OpenGlRenderer } from './validation/validate-opengl-renderer';
|
|
18
18
|
declare const Timeline: {
|
|
19
19
|
TimelineInOutContext: import("react").Context<TimelineInOutPosition.TimelineInOutContextValue>;
|
|
20
20
|
SetTimelineInOutContext: import("react").Context<TimelineInOutPosition.SetTimelineInOutContextValue>;
|
|
@@ -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: () => "
|
|
107
|
-
setProResProfile: (profile: "
|
|
108
|
-
validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "
|
|
106
|
+
getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined;
|
|
107
|
+
setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
|
|
108
|
+
validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
|
|
109
109
|
getMaxTimelineTracks: () => number;
|
|
110
110
|
SharedAudioContext: import("react").Context<{
|
|
111
111
|
registerAudio: (aud: import("./audio").RemotionAudioProps) => {
|
package/dist/internals.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAEN,yBAAyB,EAEzB,eAAe,EACf,MAAM,EACN,aAAa,EACb,YAAY,EACZ,SAAS,EACT,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"internals.d.ts","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,SAAS,EAAC,MAAM,eAAe,CAAC;AACxC,OAAO,EAEN,yBAAyB,EAEzB,eAAe,EACf,MAAM,EACN,aAAa,EACb,YAAY,EACZ,SAAS,EACT,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,gBAAgB,MAAM,mBAAmB,CAAC;AAiCtD,OAAO,KAAK,OAAO,MAAM,cAAc,CAAC;AAExC,OAAO,EAGN,iBAAiB,EACjB,MAAM,2BAA2B,CAAC;AAQnC,OAAO,EAEN,aAAa,EAGb,MAAM,yBAAyB,CAAC;AAYjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAC;AAG1C,OAAO,EAAyB,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AAO9E,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAK/B,OAAO,KAAK,qBAAqB,MAAM,iCAAiC,CAAC;AACzE,OAAO,EACN,4BAA4B,EAC5B,yBAAyB,EACzB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EACN,uBAAuB,EACvB,oBAAoB,EACpB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAahC,OAAO,EACN,cAAc,EAEd,MAAM,uCAAuC,CAAC;AAE/C,OAAO,EAEN,uBAAuB,EAEvB,0BAA0B,EAG1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAEN,mBAAmB,EACnB,MAAM,yBAAyB,CAAC;AACjC,QAAA,MAAM,QAAQ;;;;;;;;;;CAAkD,CAAC;AAIjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsFrB,CAAC;AAEF,YAAY,EACX,YAAY,EACZ,QAAQ,EACR,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,MAAM,EACN,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,yBAAyB,EACzB,4BAA4B,EAC5B,SAAS,EACT,yBAAyB,EACzB,uBAAuB,EACvB,0BAA0B,EAC1B,mBAAmB,EACnB,aAAa,EACb,cAAc,GACd,CAAC"}
|
package/dist/internals.js
CHANGED
|
@@ -22,13 +22,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
22
22
|
exports.Internals = void 0;
|
|
23
23
|
const shared_audio_tags_1 = require("./audio/shared-audio-tags");
|
|
24
24
|
const CompositionManager_1 = require("./CompositionManager");
|
|
25
|
+
const AssetCompression = __importStar(require("./compress-assets"));
|
|
25
26
|
const browser_1 = require("./config/browser");
|
|
26
27
|
const browser_executable_1 = require("./config/browser-executable");
|
|
27
|
-
const
|
|
28
|
+
const chromium_flags_1 = require("./config/chromium-flags");
|
|
28
29
|
const codec_1 = require("./config/codec");
|
|
29
30
|
const concurrency_1 = require("./config/concurrency");
|
|
30
31
|
const crf_1 = require("./config/crf");
|
|
31
32
|
const env_file_1 = require("./config/env-file");
|
|
33
|
+
const ffmpeg_executable_1 = require("./config/ffmpeg-executable");
|
|
32
34
|
const frame_range_1 = require("./config/frame-range");
|
|
33
35
|
const image_format_1 = require("./config/image-format");
|
|
34
36
|
const image_sequence_1 = require("./config/image-sequence");
|
|
@@ -42,10 +44,13 @@ const prores_profile_1 = require("./config/prores-profile");
|
|
|
42
44
|
const quality_1 = require("./config/quality");
|
|
43
45
|
const scale_1 = require("./config/scale");
|
|
44
46
|
const still_frame_1 = require("./config/still-frame");
|
|
47
|
+
const timeout_1 = require("./config/timeout");
|
|
45
48
|
const webpack_caching_1 = require("./config/webpack-caching");
|
|
46
49
|
const CSSUtils = __importStar(require("./default-css"));
|
|
50
|
+
const delay_render_1 = require("./delay-render");
|
|
47
51
|
const feature_flags_1 = require("./feature-flags");
|
|
48
52
|
const get_environment_1 = require("./get-environment");
|
|
53
|
+
const get_preview_dom_element_1 = require("./get-preview-dom-element");
|
|
49
54
|
const initial_frame_1 = require("./initial-frame");
|
|
50
55
|
const is_audio_codec_1 = require("./is-audio-codec");
|
|
51
56
|
const perf = __importStar(require("./perf"));
|
|
@@ -55,6 +60,7 @@ const sequencing_1 = require("./sequencing");
|
|
|
55
60
|
const setup_env_variables_1 = require("./setup-env-variables");
|
|
56
61
|
const TimelineInOutPosition = __importStar(require("./timeline-inout-position-state"));
|
|
57
62
|
const TimelinePosition = __importStar(require("./timeline-position-state"));
|
|
63
|
+
const timeout_2 = require("./timeout");
|
|
58
64
|
const truthy_1 = require("./truthy");
|
|
59
65
|
const use_lazy_component_1 = require("./use-lazy-component");
|
|
60
66
|
const use_unsafe_video_config_1 = require("./use-unsafe-video-config");
|
|
@@ -65,16 +71,10 @@ const validate_duration_in_frames_1 = require("./validation/validate-duration-in
|
|
|
65
71
|
const validate_fps_1 = require("./validation/validate-fps");
|
|
66
72
|
const validate_frame_1 = require("./validation/validate-frame");
|
|
67
73
|
const validate_image_format_1 = require("./validation/validate-image-format");
|
|
74
|
+
const validate_opengl_renderer_1 = require("./validation/validate-opengl-renderer");
|
|
68
75
|
const validate_quality_1 = require("./validation/validate-quality");
|
|
69
76
|
const volume_position_state_1 = require("./volume-position-state");
|
|
70
77
|
const wrap_remotion_context_1 = require("./wrap-remotion-context");
|
|
71
|
-
const AssetCompression = __importStar(require("./compress-assets"));
|
|
72
|
-
const timeout_1 = require("./timeout");
|
|
73
|
-
const timeout_2 = require("./config/timeout");
|
|
74
|
-
const chromium_flags_1 = require("./config/chromium-flags");
|
|
75
|
-
const validate_opengl_renderer_1 = require("./validation/validate-opengl-renderer");
|
|
76
|
-
const get_preview_dom_element_1 = require("./get-preview-dom-element");
|
|
77
|
-
const ready_manager_1 = require("./ready-manager");
|
|
78
78
|
const Timeline = { ...TimelinePosition, ...TimelineInOutPosition };
|
|
79
79
|
// Mark them as Internals so use don't assume this is public
|
|
80
80
|
// API and are less likely to use it
|
|
@@ -151,10 +151,10 @@ exports.Internals = {
|
|
|
151
151
|
DEFAULT_OVERWRITE: overwrite_1.DEFAULT_OVERWRITE,
|
|
152
152
|
AssetCompression,
|
|
153
153
|
defaultOverrideFunction: override_webpack_1.defaultOverrideFunction,
|
|
154
|
-
DEFAULT_PUPPETEER_TIMEOUT:
|
|
155
|
-
setupPuppeteerTimeout:
|
|
156
|
-
setPuppeteerTimeout:
|
|
157
|
-
getCurrentPuppeteerTimeout:
|
|
154
|
+
DEFAULT_PUPPETEER_TIMEOUT: timeout_2.DEFAULT_PUPPETEER_TIMEOUT,
|
|
155
|
+
setupPuppeteerTimeout: timeout_2.setupPuppeteerTimeout,
|
|
156
|
+
setPuppeteerTimeout: timeout_1.setPuppeteerTimeout,
|
|
157
|
+
getCurrentPuppeteerTimeout: timeout_1.getCurrentPuppeteerTimeout,
|
|
158
158
|
getChromiumDisableWebSecurity: chromium_flags_1.getChromiumDisableWebSecurity,
|
|
159
159
|
getIgnoreCertificateErrors: chromium_flags_1.getIgnoreCertificateErrors,
|
|
160
160
|
validateOpenGlRenderer: validate_opengl_renderer_1.validateOpenGlRenderer,
|
|
@@ -163,6 +163,6 @@ exports.Internals = {
|
|
|
163
163
|
DEFAULT_OPENGL_RENDERER: chromium_flags_1.DEFAULT_OPENGL_RENDERER,
|
|
164
164
|
getPreviewDomElement: get_preview_dom_element_1.getPreviewDomElement,
|
|
165
165
|
compositionsRef: CompositionManager_1.compositionsRef,
|
|
166
|
-
DELAY_RENDER_CALLSTACK_TOKEN:
|
|
166
|
+
DELAY_RENDER_CALLSTACK_TOKEN: delay_render_1.DELAY_RENDER_CALLSTACK_TOKEN,
|
|
167
167
|
};
|
|
168
168
|
//# sourceMappingURL=internals.js.map
|
package/dist/internals.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internals.js","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,iEAGmC;AAEnC,6DAS8B;AAC9B,8CAA6D;AAC7D,oEAAiE;AACjE,
|
|
1
|
+
{"version":3,"file":"internals.js","sourceRoot":"","sources":["../src/internals.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,iEAGmC;AAEnC,6DAS8B;AAC9B,oEAAsD;AACtD,8CAA6D;AAC7D,oEAAiE;AACjE,4DAMiC;AACjC,0CAIwB;AACxB,sDAAoD;AACpD,sCAIsB;AACtB,gDAAoD;AACpD,kEAAqE;AACrE,sDAI8B;AAC9B,wDAG+B;AAC/B,4DAAqE;AACrE,sDAAwC;AACxC,sEAAkE;AAClE,gEAImC;AACnC,kDAAyE;AACzE,wDAI+B;AAC/B,4DAAsD;AACtD,4DAKiC;AACjC,8CAA4C;AAC5C,0CAAwC;AACxC,sDAAkE;AAClE,8CAG0B;AAC1B,8DAG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;IACpB,iBAAiB,EAAjB,6BAAiB;IACjB,gBAAgB;IAChB,uBAAuB,EAAvB,0CAAuB;IACvB,yBAAyB,EAAzB,mCAAyB;IACzB,qBAAqB,EAArB,+BAAqB;IACrB,mBAAmB,EAAnB,6BAAmB;IACnB,0BAA0B,EAA1B,oCAA0B;IAC1B,6BAA6B,EAA7B,8CAA6B;IAC7B,0BAA0B,EAA1B,2CAA0B;IAC1B,sBAAsB,EAAtB,iDAAsB;IACtB,yBAAyB,EAAzB,0CAAyB;IACzB,uBAAuB,EAAvB,wCAAuB;IACvB,uBAAuB,EAAvB,wCAAuB;IACvB,oBAAoB,EAApB,8CAAoB;IACpB,eAAe,EAAf,oCAAe;IACf,4BAA4B,EAA5B,2CAA4B;CAC5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-video-config.d.ts","sourceRoot":"","sources":["../src/use-video-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,cAAc,QAAO,
|
|
1
|
+
{"version":3,"file":"use-video-config.d.ts","sourceRoot":"","sources":["../src/use-video-config.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,cAAc,QAAO,WAgBjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-folder-name.d.ts","sourceRoot":"","sources":["../../src/validation/validate-folder-name.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB,SAAU,MAAM,GAAG,IAAI,SAgBrD,CAAC;AAIF,eAAO,MAAM,iBAAiB,SAAU,MAAM,4BAA2B,CAAC;AAE1E,eAAO,MAAM,6BAA6B,QAEvC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.invalidFolderNameErrorMessage = exports.isFolderNameValid = exports.validateFolderName = void 0;
|
|
4
|
+
const validateFolderName = (name) => {
|
|
5
|
+
if (name === undefined || name === null) {
|
|
6
|
+
throw new TypeError('You must pass a name to a <Folder />.');
|
|
7
|
+
}
|
|
8
|
+
if (typeof name !== 'string') {
|
|
9
|
+
throw new TypeError(`The "name" you pass into <Folder /> must be a string. Got: ${typeof name}`);
|
|
10
|
+
}
|
|
11
|
+
if (!(0, exports.isFolderNameValid)(name)) {
|
|
12
|
+
throw new Error(`Folder name can only contain a-z, A-Z, 0-9 and -. You passed ${name}`);
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
exports.validateFolderName = validateFolderName;
|
|
16
|
+
const getRegex = () => /^([a-zA-Z0-9-])+$/g;
|
|
17
|
+
const isFolderNameValid = (name) => name.match(getRegex());
|
|
18
|
+
exports.isFolderNameValid = isFolderNameValid;
|
|
19
|
+
exports.invalidFolderNameErrorMessage = `Folder name must match ${String(getRegex())}`;
|
|
20
|
+
//# sourceMappingURL=validate-folder-name.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validate-folder-name.js","sourceRoot":"","sources":["../../src/validation/validate-folder-name.ts"],"names":[],"mappings":";;;AAAO,MAAM,kBAAkB,GAAG,CAAC,IAAmB,EAAE,EAAE;IACzD,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,IAAI,EAAE;QACxC,MAAM,IAAI,SAAS,CAAC,uCAAuC,CAAC,CAAC;KAC7D;IAED,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE;QAC7B,MAAM,IAAI,SAAS,CAClB,8DAA8D,OAAO,IAAI,EAAE,CAC3E,CAAC;KACF;IAED,IAAI,CAAC,IAAA,yBAAiB,EAAC,IAAI,CAAC,EAAE;QAC7B,MAAM,IAAI,KAAK,CACd,gEAAgE,IAAI,EAAE,CACtE,CAAC;KACF;AACF,CAAC,CAAC;AAhBW,QAAA,kBAAkB,sBAgB7B;AAEF,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,oBAAoB,CAAC;AAErC,MAAM,iBAAiB,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;AAA7D,QAAA,iBAAiB,qBAA4C;AAE7D,QAAA,6BAA6B,GAAG,0BAA0B,MAAM,CAC5E,QAAQ,EAAE,CACV,EAAE,CAAC"}
|
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>, "autoPlay" | "controls" | "loop" | "onEnded"> & {
|
|
4
4
|
volume?: import("../volume-prop").VolumeProp | undefined;
|
|
5
5
|
playbackRate?: number | undefined;
|
|
6
|
-
} & RemotionMainVideoProps, "
|
|
6
|
+
} & RemotionMainVideoProps, "key" | "height" | "playsInline" | "poster" | "width" | "disablePictureInPicture" | "disableRemotePlayback" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | "volume" | "playbackRate" | keyof RemotionMainVideoProps> & React.RefAttributes<HTMLVideoElement>>;
|
|
7
7
|
//# sourceMappingURL=Video.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionVideoProps } from './props';
|
|
3
|
-
export declare const VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "
|
|
3
|
+
export declare const VideoForDevelopment: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | "volume" | "playbackRate" | "height" | "poster" | "width" | "disablePictureInPicture" | "disableRemotePlayback"> & React.RefAttributes<HTMLVideoElement>>;
|
|
4
4
|
//# sourceMappingURL=VideoForDevelopment.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionVideoProps } from './props';
|
|
3
|
-
export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "
|
|
3
|
+
export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "key" | "height" | "playsInline" | "poster" | "width" | "disablePictureInPicture" | "disableRemotePlayback" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "preload" | "src" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "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" | "volume" | "playbackRate"> & 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"}
|