Skip to content

🎥 Make videos programmatically with React

Update html-in-canvas-guide.mdx

JonnyBurger7a7730b7b682
diff --git a/packages/docs/docs/html-in-canvas-guide.mdx b/packages/docs/docs/html-in-canvas-guide.mdx
index 4ccca3094d..073a755693 100644
--- a/packages/docs/docs/html-in-canvas-guide.mdx
+++ b/packages/docs/docs/html-in-canvas-guide.mdx
@@ -13,7 +13,7 @@ crumb: 'Designing visuals'
loop
muted
playsInline
- style={{width: '100%', borderRadius: 'var(--ifm-global-radius)', marginBottom: 0, aspectRation: '3/1'}}
+ style={{width: '100%', borderRadius: 'var(--ifm-global-radius)', marginBottom: 0, aspectRatio: '3 / 1'}}
/>
<SuggestedPrompts prompts={['use remotion html-in-canvas best practices. create a sample composition and apply a glitch effect to it!', 'use remotion html-in-canvas best practices. make a new composition and implement a subtle CRT convex shape shader on top of a HTML element. content: terminal and remotion themed. the command and output of "npx create-video@latest --yes --blank my-video" should be animated. then "claude" should be invoked and the prompt "Add a CRT effect using HTML-in-canvas " should be shown']} />