remotion 4.1.0-alpha3 → 4.1.0-alpha4
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 +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/index.mjs +6 -4
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.1.0-
|
|
1
|
+
export declare const VERSION = "4.1.0-alpha4";
|
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 = '4.1.0-
|
|
61
|
+
const VERSION = '4.1.0-alpha4';
|
|
62
62
|
|
|
63
63
|
const checkMultipleRemotionVersions = () => {
|
|
64
64
|
if (typeof globalThis === 'undefined') {
|
|
@@ -3708,7 +3708,7 @@ const Series = ({ children }) => {
|
|
|
3708
3708
|
throw new TypeError(`A <Series.Sequence /> component (${debugInfo}) was detected to not have any children. Delete it to fix this error.`);
|
|
3709
3709
|
}
|
|
3710
3710
|
const durationInFramesProp = castedChild.props.durationInFrames;
|
|
3711
|
-
const { durationInFrames, children: _children, ...passedProps } = castedChild.props;
|
|
3711
|
+
const { durationInFrames, children: _children, from, ...passedProps } = castedChild.props; // `from` is not accepted and must be filtered out if used in JS
|
|
3712
3712
|
if (i !== flattenedChildren.length - 1 ||
|
|
3713
3713
|
durationInFramesProp !== Infinity) {
|
|
3714
3714
|
validateDurationInFrames({
|
|
@@ -4328,7 +4328,9 @@ const VideoForDevelopment = forwardRef(VideoForDevelopmentRefForwardingFunction)
|
|
|
4328
4328
|
* @see [Documentation](https://www.remotion.dev/docs/offthreadvideo)
|
|
4329
4329
|
*/
|
|
4330
4330
|
const OffthreadVideo = (props) => {
|
|
4331
|
-
|
|
4331
|
+
// Should only destruct `startFrom` and `endAt` from props,
|
|
4332
|
+
// rest gets drilled down
|
|
4333
|
+
const { startFrom, endAt, ...otherProps } = props;
|
|
4332
4334
|
const environment = useRemotionEnvironment();
|
|
4333
4335
|
const onDuration = useCallback(() => undefined, []);
|
|
4334
4336
|
if (typeof props.src !== 'string') {
|
|
@@ -4345,7 +4347,7 @@ const OffthreadVideo = (props) => {
|
|
|
4345
4347
|
}
|
|
4346
4348
|
validateMediaProps(props, 'Video');
|
|
4347
4349
|
if (environment === 'rendering') {
|
|
4348
|
-
return
|
|
4350
|
+
return jsx(OffthreadVideoForRendering, { ...otherProps });
|
|
4349
4351
|
}
|
|
4350
4352
|
return (jsx(VideoForDevelopment, { onDuration: onDuration, onlyWarnForMediaSeekingError: true, ...otherProps }));
|
|
4351
4353
|
};
|
package/dist/esm/version.mjs
CHANGED