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.
@@ -3,4 +3,4 @@
3
3
  * @see [Documentation](https://remotion.dev/docs/version)
4
4
  * @returns {string} The current version of the remotion package
5
5
  */
6
- export declare const VERSION = "4.0.215";
6
+ export declare const VERSION = "4.0.217";
@@ -7,4 +7,4 @@ exports.VERSION = void 0;
7
7
  * @see [Documentation](https://remotion.dev/docs/version)
8
8
  * @returns {string} The current version of the remotion package
9
9
  */
10
- exports.VERSION = '4.0.215';
10
+ exports.VERSION = '4.0.217';
@@ -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, crossOrigin, ...otherProps } = props;
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, crossOrigin: crossOrigin }));
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: '' | 'anonymous' | 'use-credentials' | undefined;
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 {};
@@ -151,7 +151,7 @@ function truthy(value) {
151
151
  }
152
152
 
153
153
  // src/version.ts
154
- var VERSION = "4.0.215";
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);
@@ -1,5 +1,5 @@
1
1
  // src/version.ts
2
- var VERSION = "4.0.215";
2
+ var VERSION = "4.0.217";
3
3
  export {
4
4
  VERSION
5
5
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/core"
4
4
  },
5
5
  "name": "remotion",
6
- "version": "4.0.215",
6
+ "version": "4.0.217",
7
7
  "description": "Make videos programmatically",
8
8
  "main": "dist/cjs/index.js",
9
9
  "types": "dist/cjs/index.d.ts",