Skip to content

🎥 Make videos programmatically with React

mjs -> ts

Patric Salvisberg0e3a77a49980
diff --git a/packages/docs/docs/recorder/create.mdx b/packages/docs/docs/recorder/create.mdx
index fc36e10c35..418bdb5a93 100644
--- a/packages/docs/docs/recorder/create.mdx
+++ b/packages/docs/docs/recorder/create.mdx
@@ -50,9 +50,9 @@ Copy and paste the [`<Composition />`](/docs/composition) component to duplicate
/>
```
-Then, edit `copy-from-downloads.mjs` by setting the `prefix` to the [ID](/docs/terminology/composition#composition-id) of the `<Composition>` you just cloned.
+Then, edit `copy.ts` by setting the `prefix` to the [ID](/docs/terminology/composition#composition-id) of the `<Composition>` you just cloned.
-```js filename="copy-from-downloads.tss"
+```js filename="copy.ts"
const prefix = "<your-composition-id>";
```
diff --git a/packages/docs/docs/recorder/record.mdx b/packages/docs/docs/recorder/record.mdx
index cd21fe7fa3..cf3e1955a1 100644
--- a/packages/docs/docs/recorder/record.mdx
+++ b/packages/docs/docs/recorder/record.mdx
@@ -80,7 +80,7 @@ There is no countdown, the recording will start immediately, but the silence at
After you have recorded a scene and you are happy with your take, run
```bash
-bun copy-from-downloads.mjs
+bun copy.ts
```
to copy the file from your `Downloads` folder into your project.