Skip to content

🎥 Make videos programmatically with React

Fix toneMapped being written to the DOM

Jonny Burgerb91d80187f18
diff --git a/packages/core/src/video/OffthreadVideo.tsx b/packages/core/src/video/OffthreadVideo.tsx
index d32329ecff..cb0ba5e847 100644
--- a/packages/core/src/video/OffthreadVideo.tsx
+++ b/packages/core/src/video/OffthreadVideo.tsx
@@ -61,7 +61,7 @@ export const OffthreadVideo: React.FC<OffthreadVideoProps> = (props) => {
return <OffthreadVideoForRendering {...otherProps} />;
}
- const {transparent, ...withoutTransparent} = otherProps;
+ const {transparent, toneMapped, ...withoutTransparent} = otherProps;
return (
<VideoForPreview