Skip to content

🎥 Make videos programmatically with React

fix `loop` changing the layout

Jonny Burger1dcedaa84647
diff --git a/packages/core/src/video/Video.tsx b/packages/core/src/video/Video.tsx
index 887403c8e9..edf7b351a6 100644
--- a/packages/core/src/video/Video.tsx
+++ b/packages/core/src/video/Video.tsx
@@ -53,6 +53,7 @@ const VideoForwardingFunction: React.ForwardRefRenderFunction<
playbackRate: props.playbackRate ?? 1,
startFrom,
})}
+ layout="none"
>
<Video {...propsOtherThanLoop} ref={ref} />
</Loop>