Skip to content

Commit

Permalink
Merge pull request #4358 from gdaunton/crossorigin-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JonnyBurger authored Oct 4, 2024
2 parents dac638c + 800155a commit 85cdc7c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/video/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ const VideoForwardingFunction: React.ForwardRefRenderFunction<
_remotionInternalNativeLoopPassed,
showInTimeline,
onAutoPlayError,
crossOrigin,
...otherProps
} = props;
const {loop, _remotionDebugSeeking, ...propsOtherThanLoop} = props;
Expand Down Expand Up @@ -144,7 +143,6 @@ const VideoForwardingFunction: React.ForwardRefRenderFunction<
_remotionDebugSeeking={_remotionDebugSeeking ?? false}
showInTimeline={showInTimeline ?? true}
onAutoPlayError={onAutoPlayError ?? undefined}
crossOrigin={crossOrigin}
/>
);
};
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/video/VideoForPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type VideoForPreviewProps = RemotionVideoProps & {
readonly _remotionDebugSeeking: boolean;
readonly showInTimeline: boolean;
readonly onVideoFrame: null | OnVideoFrame;
readonly crossOrigin: '' | 'anonymous' | 'use-credentials' | undefined;
readonly crossOrigin?: '' | 'anonymous' | 'use-credentials';
};

const VideoForDevelopmentRefForwardingFunction: React.ForwardRefRenderFunction<
Expand Down

0 comments on commit 85cdc7c

Please sign in to comment.