Skip to content

πŸŽ₯ Make videos programmatically with React

add more docs

Jonny Burger879c3ecd588c
diff --git a/packages/docs/docs/recorder/record/delete.mdx b/packages/docs/docs/recorder/record/delete.mdx
new file mode 100644
index 0000000000..3be0839e8e
--- /dev/null
+++ b/packages/docs/docs/recorder/record/delete.mdx
@@ -0,0 +1,21 @@
+---
+title: Delete a recording
+sidebar_label: Delete recordings
+crumb: Recorder
+---
+
+To delete a recording, open the project in your file explorer and locate the recording in the `public` folder:
+
+```
+public
+└── my-video
+ β”œβ”€β”€ webcam10.mp4
+ β”œβ”€β”€ display10.mp4
+ β”œβ”€β”€ webcam20.mp4
+ └── webcam30.mp4
+```
+
+Locate the recording that you want to remove and delete it.
+The Remotion Studio will automatically refresh and move all other recordings to the next available number.
+
+To prevent the settings from the scenes cascading, delete the scene in the default props editor as well.
diff --git a/packages/docs/docs/recorder/record.mdx b/packages/docs/docs/recorder/record/index.mdx
similarity index 75%
rename from packages/docs/docs/recorder/record.mdx
rename to packages/docs/docs/recorder/record/index.mdx
index 346382c178..ed40c04c33 100644
--- a/packages/docs/docs/recorder/record.mdx
+++ b/packages/docs/docs/recorder/record/index.mdx
@@ -1,10 +1,11 @@
---
image: /generated/articles-docs-recorder-record.png
-title: Record a scene
+title: Record using the interface
+sidebar_label: Using the interface
crumb: Recorder
---
-import { RecordingButton } from "../../components/recorder/RecordButton";
+import { RecordingButton } from "../../../components/recorder/RecordButton";
The Recorder ships with its own recording interface.
From it, you can record a clip and add it as a scene to your project.
@@ -116,31 +117,3 @@ bun sub.ts
```
If you want to not use a take, just make another recording. The `copy.ts` script will only take the recordings with the latest timestamp.
-
-## Manually adding recordings
-
-You can also add recordings from other sources, like your phone.
-Simply name the file `webcam` followed by any number, like `10`, followed by one of the supported file extensions: `.mp4`, `.webm`, `.mkv` or `.mov`.
-
-The order your recordings appear in your video is based on the number suffix. Here is a way you could structure your recordings:
-
-```txt
-webcam10.mp4
-display10.mp4
-webcam20.mp4
-webcam30.mp4
-```
-
-If there is only a `webcam` recording with said number, the webcam will be fullscreen.
-
-A `display` recording will only get picked up if there is also a `webcam` recording.
-The webcam will be miniaturized in this case.
-
-If you only have recorded a display, give it a `webcam` prefix nonetheless for it to get picked up.
-
-## Deleting a recording
-
-To delete a recording, simply delete locate the file in your public folder and delete them.
-The Remotion Studio will automatically refresh move all other recordings to the next available number.
-
-To prevent the settings from the scenes cascading, delete the scene in the default props editor as well.
diff --git a/packages/docs/docs/recorder/record/manually.mdx b/packages/docs/docs/recorder/record/manually.mdx
new file mode 100644
index 0000000000..94726eb6b7
--- /dev/null
+++ b/packages/docs/docs/recorder/record/manually.mdx
@@ -0,0 +1,27 @@
+---
+title: Manually add recordings
+sidebar_label: Manually add recordings
+crumb: Recorder
+---
+
+You can also add recordings from other sources, like your phone.
+Simply name the file `webcam` followed by any number, like `10`, followed by one of the supported file extensions: `.mp4`, `.webm`, `.mkv` or `.mov`.
+
+The order your recordings appear in your video is based on the number suffix.
+Here is a way you could structure your recordings:
+
+```txt
+public
+└── my-video
+ β”œβ”€β”€ webcam10.mp4
+ β”œβ”€β”€ display10.mp4
+ β”œβ”€β”€ webcam20.mp4
+ └── webcam30.mp4
+```
+
+If there is only a `webcam` recording with said number, the webcam will be fullscreen.
+
+A `display` recording will only get picked up if there is also a `webcam` recording.
+The webcam will be miniaturized in this case.
+
+If you only have recorded a display, give it a `webcam` prefix nonetheless for it to get picked up.
diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.js
index 1519159448..31cfbf8118 100644
--- a/packages/docs/sidebars.js
+++ b/packages/docs/sidebars.js
@@ -966,7 +966,19 @@ module.exports = {
"recorder/buy",
"recorder/setup",
"recorder/create",
- "recorder/record",
+ {
+ type: "category",
+ label: "Record",
+ link: {
+ type: "doc",
+ id: "recorder/record/index",
+ },
+ items: [
+ "recorder/record/index",
+ "recorder/record/manually",
+ "recorder/record/delete",
+ ],
+ },
"recorder/captions",
{
type: "category",