Skip to content

🎥 Make videos programmatically with React

`bun run dev`

Jonny Burger53c16872cfa1
diff --git a/packages/docs/docs/recorder/create.mdx b/packages/docs/docs/recorder/create.mdx
index 00b0f411f8..b6ec904691 100644
--- a/packages/docs/docs/recorder/create.mdx
+++ b/packages/docs/docs/recorder/create.mdx
@@ -7,7 +7,7 @@ crumb: Recorder
If you haven't done so yet, start the Recorder:
```bash
-bun start
+bun run dev
```
Remotion calls each output video a "Composition". There are two ways to generate a new composition:
@@ -26,11 +26,11 @@ Open the project in a code editor. You will see an empty [`<Composition>`](/docs
id="empty"
schema={videoConf}
defaultProps={{
- theme: "light" as const,
- canvasLayout: "square" as const,
+ theme: 'light' as const,
+ canvasLayout: 'square' as const,
scenes: [],
scenesAndMetadata: [],
- platform: "x" as const,
+ platform: 'x' as const,
}}
calculateMetadata={calcMetadata}
/>
diff --git a/packages/docs/docs/recorder/editing/editing.mdx b/packages/docs/docs/recorder/editing/editing.mdx
index 6b9ccac68f..c742896957 100644
--- a/packages/docs/docs/recorder/editing/editing.mdx
+++ b/packages/docs/docs/recorder/editing/editing.mdx
@@ -7,7 +7,7 @@ crumb: Recorder
To start the editing environment, run
```
-bun start
+bun run dev
```
This will start the development server and open a Remotion Studio instance in a new window.
@@ -25,7 +25,7 @@ The ID should be the same as the name of the subfolder of `public` where you sto
Open the right sidebar. By default there are no scenes.
Click the `+` button to add a new scene.
-<img style={{ width: 300 }} src="/recorder/add-scene.png" />
+<img style={{width: 300}} src="/recorder/add-scene.png" />
By default, it will add a video scene, which will consume the first recording in the `public/[composition-id]` folder.
diff --git a/packages/docs/docs/recorder/record/index.mdx b/packages/docs/docs/recorder/record/index.mdx
index 4696bc9ed1..63b1cf5d85 100644
--- a/packages/docs/docs/recorder/record/index.mdx
+++ b/packages/docs/docs/recorder/record/index.mdx
@@ -13,7 +13,7 @@ From it, you can record a clip and add it as a scene to your project.
If you haven't done so, start the Remotion Recorder:
```tsx
-bun start
+bun run dev
```
A Vite app will listen on [`http://localhost:4000`](http://localhost:4000).
diff --git a/packages/docs/docs/recorder/setup.mdx b/packages/docs/docs/recorder/setup.mdx
index dbefca5ab2..351a098539 100644
--- a/packages/docs/docs/recorder/setup.mdx
+++ b/packages/docs/docs/recorder/setup.mdx
@@ -7,7 +7,6 @@ crumb: Recorder
# Setup
-
## 1. Fork and clone
[Create a fork](https://github.com/remotion-dev/recorder/fork) of the `remotion-dev/recorder` repository.
@@ -49,5 +48,5 @@ bun sub.ts
Once done, you are ready to start the Remotion Recorder:
```bash
-bun start
+bun run dev
```
diff --git a/packages/template-recorder/package.json b/packages/template-recorder/package.json
index 8d46351f77..403b56f53e 100644
--- a/packages/template-recorder/package.json
+++ b/packages/template-recorder/package.json
@@ -6,7 +6,7 @@
"scripts": {
"build": "tsc && vite build",
"lint": "eslint src && tsc",
- "dev": "bun studio.ts # Run this with `npm run dev`",
+ "dev": "bun studio.ts",
"upgrade": "remotion upgrade",
"test": "bun run lint && bun test test.ts && tsc"
},