remotion 4.0.215 → 4.0.217
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/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
package/dist/cjs/video/Video.js
CHANGED
|
@@ -19,7 +19,7 @@ const VideoForRendering_js_1 = require("./VideoForRendering.js");
|
|
|
19
19
|
const duration_state_js_1 = require("./duration-state.js");
|
|
20
20
|
const VideoForwardingFunction = (props, ref) => {
|
|
21
21
|
var _a, _b;
|
|
22
|
-
const { startFrom, endAt, name, pauseWhenBuffering, stack, _remotionInternalNativeLoopPassed, showInTimeline, onAutoPlayError,
|
|
22
|
+
const { startFrom, endAt, name, pauseWhenBuffering, stack, _remotionInternalNativeLoopPassed, showInTimeline, onAutoPlayError, ...otherProps } = props;
|
|
23
23
|
const { loop, _remotionDebugSeeking, ...propsOtherThanLoop } = props;
|
|
24
24
|
const { fps } = (0, use_video_config_js_1.useVideoConfig)();
|
|
25
25
|
const environment = (0, get_remotion_environment_js_1.getRemotionEnvironment)();
|
|
@@ -57,7 +57,7 @@ const VideoForwardingFunction = (props, ref) => {
|
|
|
57
57
|
}
|
|
58
58
|
return ((0, jsx_runtime_1.jsx)(VideoForPreview_js_1.VideoForPreview, { onlyWarnForMediaSeekingError: false, ...otherProps, ref: ref, onVideoFrame: null,
|
|
59
59
|
// Proposal: Make this default to true in v5
|
|
60
|
-
pauseWhenBuffering: pauseWhenBuffering !== null && pauseWhenBuffering !== void 0 ? pauseWhenBuffering : false, onDuration: onDuration, _remotionInternalStack: stack !== null && stack !== void 0 ? stack : null, _remotionInternalNativeLoopPassed: _remotionInternalNativeLoopPassed !== null && _remotionInternalNativeLoopPassed !== void 0 ? _remotionInternalNativeLoopPassed : false, _remotionDebugSeeking: _remotionDebugSeeking !== null && _remotionDebugSeeking !== void 0 ? _remotionDebugSeeking : false, showInTimeline: showInTimeline !== null && showInTimeline !== void 0 ? showInTimeline : true, onAutoPlayError: onAutoPlayError !== null && onAutoPlayError !== void 0 ? onAutoPlayError : undefined
|
|
60
|
+
pauseWhenBuffering: pauseWhenBuffering !== null && pauseWhenBuffering !== void 0 ? pauseWhenBuffering : false, onDuration: onDuration, _remotionInternalStack: stack !== null && stack !== void 0 ? stack : null, _remotionInternalNativeLoopPassed: _remotionInternalNativeLoopPassed !== null && _remotionInternalNativeLoopPassed !== void 0 ? _remotionInternalNativeLoopPassed : false, _remotionDebugSeeking: _remotionDebugSeeking !== null && _remotionDebugSeeking !== void 0 ? _remotionDebugSeeking : false, showInTimeline: showInTimeline !== null && showInTimeline !== void 0 ? showInTimeline : true, onAutoPlayError: onAutoPlayError !== null && onAutoPlayError !== void 0 ? onAutoPlayError : undefined }));
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* @description allows you to include a video file in your Remotion project. It wraps the native HTMLVideoElement.
|
|
@@ -9,7 +9,7 @@ type VideoForPreviewProps = RemotionVideoProps & {
|
|
|
9
9
|
readonly _remotionDebugSeeking: boolean;
|
|
10
10
|
readonly showInTimeline: boolean;
|
|
11
11
|
readonly onVideoFrame: null | OnVideoFrame;
|
|
12
|
-
readonly crossOrigin
|
|
12
|
+
readonly crossOrigin?: '' | 'anonymous' | 'use-credentials';
|
|
13
13
|
};
|
|
14
14
|
export declare const VideoForPreview: React.ForwardRefExoticComponent<Omit<VideoForPreviewProps, "ref"> & React.RefAttributes<HTMLVideoElement>>;
|
|
15
15
|
export {};
|
package/dist/esm/index.mjs
CHANGED
|
@@ -151,7 +151,7 @@ function truthy(value) {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
// src/version.ts
|
|
154
|
-
var VERSION = "4.0.
|
|
154
|
+
var VERSION = "4.0.217";
|
|
155
155
|
|
|
156
156
|
// src/multiple-versions-warning.ts
|
|
157
157
|
var checkMultipleRemotionVersions = () => {
|
|
@@ -6545,7 +6545,6 @@ var VideoForwardingFunction = (props2, ref) => {
|
|
|
6545
6545
|
_remotionInternalNativeLoopPassed,
|
|
6546
6546
|
showInTimeline,
|
|
6547
6547
|
onAutoPlayError,
|
|
6548
|
-
crossOrigin,
|
|
6549
6548
|
...otherProps
|
|
6550
6549
|
} = props2;
|
|
6551
6550
|
const { loop, _remotionDebugSeeking, ...propsOtherThanLoop } = props2;
|
|
@@ -6620,8 +6619,7 @@ var VideoForwardingFunction = (props2, ref) => {
|
|
|
6620
6619
|
_remotionInternalNativeLoopPassed: _remotionInternalNativeLoopPassed ?? false,
|
|
6621
6620
|
_remotionDebugSeeking: _remotionDebugSeeking ?? false,
|
|
6622
6621
|
showInTimeline: showInTimeline ?? true,
|
|
6623
|
-
onAutoPlayError: onAutoPlayError ?? undefined
|
|
6624
|
-
crossOrigin
|
|
6622
|
+
onAutoPlayError: onAutoPlayError ?? undefined
|
|
6625
6623
|
});
|
|
6626
6624
|
};
|
|
6627
6625
|
var Video = forwardRef11(VideoForwardingFunction);
|
package/dist/esm/version.mjs
CHANGED
package/package.json
CHANGED