remotion 3.0.9 → 3.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +5 -5
- package/.turbo/turbo-lint.log +11 -0
- package/.turbo/turbo-test.log +63 -0
- package/dist/Img.js +17 -7
- package/dist/config/index.d.ts +2 -2
- package/dist/internals.d.ts +6 -6
- package/dist/video/OffthreadVideo.d.ts +3 -0
- package/dist/video/OffthreadVideo.js +90 -0
- package/dist/video/Video.d.ts +2 -2
- package/dist/video/VideoForRendering.d.ts +1 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
[
|
|
2
|
-
[
|
|
3
|
-
[
|
|
4
|
-
[
|
|
5
|
-
[
|
|
1
|
+
[32mremotion:build: [0mcache hit, replaying output [2m7033d1295a679643[0m
|
|
2
|
+
[32mremotion:build: [0m
|
|
3
|
+
[32mremotion:build: [0m> remotion@3.0.9 build /Users/jonathanburger/remotion/packages/core
|
|
4
|
+
[32mremotion:build: [0m> tsc -d
|
|
5
|
+
[32mremotion:build: [0m
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
[34mremotion:lint: [0mcache hit, replaying output [2mca801c8a64489efb[0m
|
|
2
|
+
[34mremotion:lint: [0m
|
|
3
|
+
[34mremotion:lint: [0m> remotion@3.0.9 lint /Users/jonathanburger/remotion/packages/core
|
|
4
|
+
[34mremotion:lint: [0m> eslint src --ext ts,tsx
|
|
5
|
+
[34mremotion:lint: [0m
|
|
6
|
+
[34mremotion:lint: [0m
|
|
7
|
+
[34mremotion:lint: [0m/Users/jonathanburger/remotion/packages/core/src/use-lazy-component.ts
|
|
8
|
+
[34mremotion:lint: [0m 9:50 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
|
|
9
|
+
[34mremotion:lint: [0m
|
|
10
|
+
[34mremotion:lint: [0m✖ 1 problem (0 errors, 1 warning)
|
|
11
|
+
[34mremotion:lint: [0m
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
[34mremotion:test: [0mcache hit, replaying output [2mcceb170b4f03ca12[0m
|
|
2
|
+
[34mremotion:test: [0m
|
|
3
|
+
[34mremotion:test: [0m> remotion@3.0.9 test /Users/jonathanburger/remotion/packages/core
|
|
4
|
+
[34mremotion:test: [0m> jest --coverage && node generate-badges.js
|
|
5
|
+
[34mremotion:test: [0m
|
|
6
|
+
[34mremotion:test: [0mwatchman warning: Recrawled this watch 25 times, most recently because:
|
|
7
|
+
[34mremotion:test: [0mMustScanSubDirs UserDroppedTo resolve, please review the information on
|
|
8
|
+
[34mremotion:test: [0mhttps://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
|
|
9
|
+
[34mremotion:test: [0mTo clear this warning, run:
|
|
10
|
+
[34mremotion:test: [0m`watchman watch-del '/Users/jonathanburger/remotion' ; watchman watch-project '/Users/jonathanburger/remotion'`
|
|
11
|
+
[34mremotion:test: [0m
|
|
12
|
+
[34mremotion:test: [0mPASS src/test/easing.test.ts (16.995 s)
|
|
13
|
+
[34mremotion:test: [0mPASS src/test/interpolate.test.ts (17.428 s)
|
|
14
|
+
[34mremotion:test: [0mPASS src/test/crf.test.ts (17.267 s)
|
|
15
|
+
[34mremotion:test: [0mPASS src/test/volume-prop.test.ts
|
|
16
|
+
[34mremotion:test: [0mPASS src/test/interpolateColors.test.ts
|
|
17
|
+
[34mremotion:test: [0mPASS src/test/nested-sequences.test.tsx (21.573 s)
|
|
18
|
+
[34mremotion:test: [0mPASS src/test/pixel-format.test.ts
|
|
19
|
+
[34mremotion:test: [0mPASS src/test/media-validation.test.tsx
|
|
20
|
+
[34mremotion:test: [0mPASS src/test/random.test.ts
|
|
21
|
+
[34mremotion:test: [0mPASS src/test/image-format.test.ts
|
|
22
|
+
[34mremotion:test: [0mPASS src/test/codec.test.ts
|
|
23
|
+
[34mremotion:test: [0mPASS src/test/get-current-time.test.ts
|
|
24
|
+
[34mremotion:test: [0mPASS src/test/range.test.tsx (9.35 s)
|
|
25
|
+
[34mremotion:test: [0mPASS src/test/audio-for-rendering.test.tsx (7.636 s)
|
|
26
|
+
[34mremotion:test: [0mPASS src/test/sequence-validation.test.tsx
|
|
27
|
+
[34mremotion:test: [0mPASS src/test/use-audio-frame.test.tsx (5.104 s)
|
|
28
|
+
[34mremotion:test: [0mPASS src/test/freeze.test.tsx (6.656 s)
|
|
29
|
+
[34mremotion:test: [0mPASS src/test/composition-validation.test.tsx (32.821 s)
|
|
30
|
+
[34mremotion:test: [0mPASS src/test/validate-start-from-props.test.ts
|
|
31
|
+
[34mremotion:test: [0mPASS src/test/series.test.tsx (32.945 s)
|
|
32
|
+
[34mremotion:test: [0mPASS src/test/loop-validation.test.tsx (32.887 s)
|
|
33
|
+
[34mremotion:test: [0mPASS src/test/composition-rules.test.tsx (5.824 s)
|
|
34
|
+
[34mremotion:test: [0mPASS src/test/log.test.ts
|
|
35
|
+
[34mremotion:test: [0mPASS src/test/measure-spring.test.ts
|
|
36
|
+
[34mremotion:test: [0mPASS src/test/pro-res-profile.test.ts
|
|
37
|
+
[34mremotion:test: [0mPASS src/test/video.test.tsx (8.266 s)
|
|
38
|
+
[34mremotion:test: [0mPASS src/test/bezier.test.ts
|
|
39
|
+
[34mremotion:test: [0mPASS src/test/use-media-tag-volume.test.tsx
|
|
40
|
+
[34mremotion:test: [0mPASS src/test/quality.test.ts
|
|
41
|
+
[34mremotion:test: [0mPASS src/test/use-sync-volume-with-media-tag.test.ts
|
|
42
|
+
[34mremotion:test: [0mPASS src/test/image-sequence.test.ts
|
|
43
|
+
[34mremotion:test: [0mPASS src/test/overwrite.test.ts
|
|
44
|
+
[34mremotion:test: [0mPASS src/test/input-props.test.ts
|
|
45
|
+
[34mremotion:test: [0mPASS src/test/validate-frame.test.ts
|
|
46
|
+
[34mremotion:test: [0mPASS src/test/preview-server.test.ts
|
|
47
|
+
[34mremotion:test: [0mPASS src/test/concurrency.test.ts
|
|
48
|
+
[34mremotion:test: [0mPASS src/test/spring.test.ts
|
|
49
|
+
[34mremotion:test: [0mPASS src/test/webpack-caching.test.ts
|
|
50
|
+
[34mremotion:test: [0mPASS src/test/ready-manager.test.ts
|
|
51
|
+
[34mremotion:test: [0mPASS src/test/use-media-in-timeline.test.tsx
|
|
52
|
+
[34mremotion:test: [0mPASS src/test/get-asset-file-name.test.ts
|
|
53
|
+
[34mremotion:test: [0mPASS src/test/truthy.test.ts
|
|
54
|
+
[34mremotion:test: [0mPASS src/test/absolute-src.test.ts
|
|
55
|
+
[34mremotion:test: [0mPASS src/test/validate-image-format.test.ts
|
|
56
|
+
[34mremotion:test: [0mPASS src/test/audio.test.tsx (7.831 s)
|
|
57
|
+
[34mremotion:test: [0mPASS src/test/Img.test.tsx
|
|
58
|
+
[34mremotion:test: [0m
|
|
59
|
+
[34mremotion:test: [0mTest Suites: 46 passed, 46 total
|
|
60
|
+
[34mremotion:test: [0mTests: 474 passed, 474 total
|
|
61
|
+
[34mremotion:test: [0mSnapshots: 0 total
|
|
62
|
+
[34mremotion:test: [0mTime: 43.001 s
|
|
63
|
+
[34mremotion:test: [0mRan all test suites.
|
package/dist/Img.js
CHANGED
|
@@ -5,19 +5,26 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const delay_render_1 = require("./delay-render");
|
|
7
7
|
const ImgRefForwarding = ({ onLoad, onError, ...props }, ref) => {
|
|
8
|
-
const [handle] = (0, react_1.useState)(() =>
|
|
8
|
+
const [handle, setHandle] = (0, react_1.useState)(() => {
|
|
9
|
+
return null;
|
|
10
|
+
});
|
|
9
11
|
(0, react_1.useEffect)(() => {
|
|
10
12
|
if (ref &&
|
|
11
|
-
ref.current.complete
|
|
13
|
+
ref.current.complete &&
|
|
14
|
+
handle) {
|
|
12
15
|
(0, delay_render_1.continueRender)(handle);
|
|
13
16
|
}
|
|
14
17
|
}, [handle, ref]);
|
|
15
18
|
const didLoad = (0, react_1.useCallback)((e) => {
|
|
16
|
-
|
|
19
|
+
if (handle) {
|
|
20
|
+
(0, delay_render_1.continueRender)(handle);
|
|
21
|
+
}
|
|
17
22
|
onLoad === null || onLoad === void 0 ? void 0 : onLoad(e);
|
|
18
23
|
}, [handle, onLoad]);
|
|
19
24
|
const didGetError = (0, react_1.useCallback)((e) => {
|
|
20
|
-
|
|
25
|
+
if (handle) {
|
|
26
|
+
(0, delay_render_1.continueRender)(handle);
|
|
27
|
+
}
|
|
21
28
|
if (onError) {
|
|
22
29
|
onError(e);
|
|
23
30
|
}
|
|
@@ -25,12 +32,15 @@ const ImgRefForwarding = ({ onLoad, onError, ...props }, ref) => {
|
|
|
25
32
|
console.error('Error loading image:', e, 'Handle the event using the onError() prop to make this message disappear.');
|
|
26
33
|
}
|
|
27
34
|
}, [handle, onError]);
|
|
28
|
-
// If
|
|
35
|
+
// If image source switches, make new handle
|
|
29
36
|
(0, react_1.useEffect)(() => {
|
|
37
|
+
const newHandle = (0, delay_render_1.delayRender)('Loading <Img> with src=' + props.src);
|
|
38
|
+
setHandle(newHandle);
|
|
39
|
+
// If tag gets unmounted, clear pending handles because image is not going to load
|
|
30
40
|
return () => {
|
|
31
|
-
(0, delay_render_1.continueRender)(
|
|
41
|
+
(0, delay_render_1.continueRender)(newHandle);
|
|
32
42
|
};
|
|
33
|
-
}, [
|
|
43
|
+
}, [props.src]);
|
|
34
44
|
return (0, jsx_runtime_1.jsx)("img", { ...props, ref: ref, onLoad: didLoad, onError: didGetError }, void 0);
|
|
35
45
|
};
|
|
36
46
|
exports.Img = (0, react_1.forwardRef)(ImgRefForwarding);
|
package/dist/config/index.d.ts
CHANGED
|
@@ -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: "none" | "png" | "jpeg") => 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: "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
|
@@ -75,11 +75,11 @@ export declare const Internals: {
|
|
|
75
75
|
getDefaultCrfForCodec: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
|
|
76
76
|
getActualCrf: (codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => number;
|
|
77
77
|
setFrameRangeFromCli: (newFrameRange: string | number) => void;
|
|
78
|
-
getUserPreferredImageFormat: () => "
|
|
79
|
-
validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "
|
|
78
|
+
getUserPreferredImageFormat: () => "none" | "png" | "jpeg" | undefined;
|
|
79
|
+
validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", imageFormat: "none" | "png" | "jpeg") => "none" | "valid";
|
|
80
80
|
validateSelectedPixelFormatAndCodecCombination: (pixelFormat: "yuv420p" | "yuva420p" | "yuv422p" | "yuv444p" | "yuv420p10le" | "yuv422p10le" | "yuv444p10le" | "yuva444p10le", codec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv") => void;
|
|
81
81
|
validateFrameRange: (frameRange: import("./config/frame-range").FrameRange | null) => void;
|
|
82
|
-
validateNonNullImageFormat: (imageFormat: "
|
|
82
|
+
validateNonNullImageFormat: (imageFormat: "none" | "png" | "jpeg") => void;
|
|
83
83
|
getWebpackCaching: () => boolean;
|
|
84
84
|
useLazyComponent: <T>(compProps: CompProps<T>) => import("react").ExoticComponent<(import("react").PropsWithoutRef<T> & import("react").RefAttributes<import("react").Component<T, any, any>>) | import("react").PropsWithRef<T>> & {
|
|
85
85
|
readonly _result: import("react").ComponentType<T>;
|
|
@@ -101,9 +101,9 @@ export declare const Internals: {
|
|
|
101
101
|
validateFps: (fps: number, location: string) => void;
|
|
102
102
|
validateDimension: (amount: number, nameOfProp: string, location: string) => void;
|
|
103
103
|
getRemotionEnvironment: () => RemotionEnvironment;
|
|
104
|
-
getProResProfile: () => "4444-xq" | "4444" | "hq" | "standard" | "
|
|
105
|
-
setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "
|
|
106
|
-
validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "4444-xq" | "4444" | "hq" | "standard" | "
|
|
104
|
+
getProResProfile: () => "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined;
|
|
105
|
+
setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
|
|
106
|
+
validateSelectedCodecAndProResCombination: (actualCodec: "h264" | "h265" | "vp8" | "vp9" | "mp3" | "aac" | "wav" | "prores" | "h264-mkv", actualProResProfile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
|
|
107
107
|
getMaxTimelineTracks: () => number;
|
|
108
108
|
SharedAudioContext: import("react").Context<{
|
|
109
109
|
registerAudio: (aud: import("./audio").RemotionAudioProps) => {
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RemotionOffthreadVideoProps } from './props';
|
|
3
|
+
export declare const OffthreadVideo: React.ForwardRefExoticComponent<Pick<RemotionOffthreadVideoProps, "volume" | "playbackRate" | "key" | "muted" | keyof React.ImgHTMLAttributes<HTMLImageElement>> & React.RefAttributes<HTMLImageElement>>;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OffthreadVideo = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
6
|
+
const absolute_src_1 = require("../absolute-src");
|
|
7
|
+
const use_audio_frame_1 = require("../audio/use-audio-frame");
|
|
8
|
+
const CompositionManager_1 = require("../CompositionManager");
|
|
9
|
+
const Img_1 = require("../Img");
|
|
10
|
+
const random_1 = require("../random");
|
|
11
|
+
const sequencing_1 = require("../sequencing");
|
|
12
|
+
const use_frame_1 = require("../use-frame");
|
|
13
|
+
const use_unsafe_video_config_1 = require("../use-unsafe-video-config");
|
|
14
|
+
const volume_prop_1 = require("../volume-prop");
|
|
15
|
+
const get_current_time_1 = require("./get-current-time");
|
|
16
|
+
const OffthreadVideoForRenderingForwardFunction = ({ onError, volume: volumeProp, playbackRate, src, ...props }, ref) => {
|
|
17
|
+
const absoluteFrame = (0, use_frame_1.useAbsoluteCurrentFrame)();
|
|
18
|
+
const frame = (0, use_frame_1.useCurrentFrame)();
|
|
19
|
+
const volumePropsFrame = (0, use_audio_frame_1.useFrameForVolumeProp)();
|
|
20
|
+
const videoConfig = (0, use_unsafe_video_config_1.useUnsafeVideoConfig)();
|
|
21
|
+
const imageRef = (0, react_1.useRef)(null);
|
|
22
|
+
const sequenceContext = (0, react_1.useContext)(sequencing_1.SequenceContext);
|
|
23
|
+
const mediaStartsAt = (0, use_audio_frame_1.useMediaStartsAt)();
|
|
24
|
+
(0, react_1.useImperativeHandle)(ref, () => {
|
|
25
|
+
return imageRef.current;
|
|
26
|
+
});
|
|
27
|
+
const { registerAsset, unregisterAsset } = (0, react_1.useContext)(CompositionManager_1.CompositionManager);
|
|
28
|
+
if (!src) {
|
|
29
|
+
throw new TypeError('No `src` was passed to <OffthreadVideo>.');
|
|
30
|
+
}
|
|
31
|
+
// Generate a string that's as unique as possible for this asset
|
|
32
|
+
// but at the same time the same on all threads
|
|
33
|
+
const id = (0, react_1.useMemo)(() => `video-${(0, random_1.random)(src !== null && src !== void 0 ? src : '')}-${sequenceContext === null || sequenceContext === void 0 ? void 0 : sequenceContext.cumulatedFrom}-${sequenceContext === null || sequenceContext === void 0 ? void 0 : sequenceContext.relativeFrom}-${sequenceContext === null || sequenceContext === void 0 ? void 0 : sequenceContext.durationInFrames}-muted:${props.muted}`, [
|
|
34
|
+
src,
|
|
35
|
+
props.muted,
|
|
36
|
+
sequenceContext === null || sequenceContext === void 0 ? void 0 : sequenceContext.cumulatedFrom,
|
|
37
|
+
sequenceContext === null || sequenceContext === void 0 ? void 0 : sequenceContext.relativeFrom,
|
|
38
|
+
sequenceContext === null || sequenceContext === void 0 ? void 0 : sequenceContext.durationInFrames,
|
|
39
|
+
]);
|
|
40
|
+
if (!videoConfig) {
|
|
41
|
+
throw new Error('No video config found');
|
|
42
|
+
}
|
|
43
|
+
const volume = (0, volume_prop_1.evaluateVolume)({
|
|
44
|
+
volume: volumeProp,
|
|
45
|
+
frame: volumePropsFrame,
|
|
46
|
+
mediaVolume: 1,
|
|
47
|
+
});
|
|
48
|
+
(0, react_1.useEffect)(() => {
|
|
49
|
+
if (!src) {
|
|
50
|
+
throw new Error('No src passed');
|
|
51
|
+
}
|
|
52
|
+
if (props.muted) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
registerAsset({
|
|
56
|
+
type: 'video',
|
|
57
|
+
src: (0, absolute_src_1.getAbsoluteSrc)(src),
|
|
58
|
+
id,
|
|
59
|
+
frame: absoluteFrame,
|
|
60
|
+
volume,
|
|
61
|
+
mediaFrame: frame,
|
|
62
|
+
playbackRate: playbackRate !== null && playbackRate !== void 0 ? playbackRate : 1,
|
|
63
|
+
});
|
|
64
|
+
return () => unregisterAsset(id);
|
|
65
|
+
}, [
|
|
66
|
+
props.muted,
|
|
67
|
+
src,
|
|
68
|
+
registerAsset,
|
|
69
|
+
id,
|
|
70
|
+
unregisterAsset,
|
|
71
|
+
volume,
|
|
72
|
+
frame,
|
|
73
|
+
absoluteFrame,
|
|
74
|
+
playbackRate,
|
|
75
|
+
]);
|
|
76
|
+
const currentTime = (0, react_1.useMemo)(() => {
|
|
77
|
+
return (0, get_current_time_1.getMediaTime)({
|
|
78
|
+
fps: videoConfig.fps,
|
|
79
|
+
frame,
|
|
80
|
+
src,
|
|
81
|
+
playbackRate: playbackRate || 1,
|
|
82
|
+
startFrom: -mediaStartsAt,
|
|
83
|
+
});
|
|
84
|
+
}, [frame, mediaStartsAt, playbackRate, src, videoConfig.fps]);
|
|
85
|
+
const actualSrc = (0, react_1.useMemo)(() => {
|
|
86
|
+
return `https://remotionoffthreadvideo.com/proxy?src=${encodeURIComponent(src)}&time=${encodeURIComponent(currentTime)}`;
|
|
87
|
+
}, [currentTime, src]);
|
|
88
|
+
return (0, jsx_runtime_1.jsx)(Img_1.Img, { ref: imageRef, src: actualSrc, ...props, onError: onError }, void 0);
|
|
89
|
+
};
|
|
90
|
+
exports.OffthreadVideo = (0, react_1.forwardRef)(OffthreadVideoForRenderingForwardFunction);
|
package/dist/video/Video.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RemotionVideoProps } from './props';
|
|
3
|
-
export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "
|
|
3
|
+
export declare const VideoForRendering: React.ForwardRefExoticComponent<Pick<RemotionVideoProps, "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>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.10",
|
|
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": "3ae18de4dd2dda522e37a04c0a5c225f2a94e3a1"
|
|
59
59
|
}
|