🎥 Make videos programmatically with React
Simplify example render command in templates
Jonny Burger39ab09fab066
diff --git a/packages/template-helloworld/src/Root.tsx b/packages/template-helloworld/src/Root.tsxindex 7a09caa656..14824c10ff 100644--- a/packages/template-helloworld/src/Root.tsx+++ b/packages/template-helloworld/src/Root.tsx@@ -9,7 +9,7 @@ export const RemotionRoot: React.FC = () => {<><Composition// You can take the "id" to render a video:- // npx remotion render src/index.ts <id> out/video.mp4+ // npx remotion render HelloWorldid="HelloWorld"component={HelloWorld}durationInFrames={150}diff --git a/packages/template-javascript/src/Root.jsx b/packages/template-javascript/src/Root.jsxindex 1d37574388..44536d4c68 100644--- a/packages/template-javascript/src/Root.jsx+++ b/packages/template-javascript/src/Root.jsx@@ -9,7 +9,7 @@ export const RemotionRoot = () => {<><Composition// You can take the "id" to render a video:- // npx remotion render src/index.jsx <id> out/video.mp4+ // npx remotion render HelloWorldid="HelloWorld"component={HelloWorld}durationInFrames={150}diff --git a/packages/template-render-server/remotion/Root.tsx b/packages/template-render-server/remotion/Root.tsxindex 4b149a062f..40f33deae3 100644--- a/packages/template-render-server/remotion/Root.tsx+++ b/packages/template-render-server/remotion/Root.tsx@@ -8,7 +8,7 @@ export const RemotionRoot: React.FC = () => {<><Composition// You can take the "id" to render a video:- // npx remotion render src/index.ts <id> out/video.mp4+ // npx remotion render HelloWorldid="HelloWorld"component={HelloWorld}durationInFrames={800}