Skip to content

🎥 Make videos programmatically with React

update with an example

Jonny Burger6de262687a5b
diff --git a/packages/docs/docs/recorder/index.mdx b/packages/docs/docs/recorder/index.mdx
index a2be73d6ba..169f447cea 100644
--- a/packages/docs/docs/recorder/index.mdx
+++ b/packages/docs/docs/recorder/index.mdx
@@ -25,16 +25,65 @@ The Remotion Recorder is a video production tool <strong>built entirely in JavaS
Each platform has its own conventions for how videos should look.
-<table>
+<div style={{overflowX: 'auto', WebkitOverflowScrolling: 'touch', }}>
+<table style={{ tableLayout: "fixed", width: 950 }}>
<tr>
- <td>
- <strong>Twitter, LinkedIn</strong>
+ <td valign="top">
+ <img
+ style={{ height: 230, border: "3px solid black", borderRadius: 5, aspectRatio: '1 / 1' }}
+ src="/recorder/vps-square.png"
+ />
+ </td>
+ <td valign="top">
+ <img
+ style={{
+ height: 230,
+ border: "3px solid black",
+ borderRadius: 5,
+ overflow: "hidden",
+ }}
+ src="/recorder/vps-landscape.png"
+ />
+
+ </td>
+ <td valign="top">
+ <div
+ style={{
+ display: "flex",
+ flexDirection: "row",
+ justifyContent: "center",
+ }}
+ >
+ <div
+ style={{
+ height: 230,
+ border: "3px solid black",
+ borderRadius: 5,
+ overflow: "hidden",
+ aspectRatio: "9 / 16",
+ backgroundColor: "#FAFAFA",
+ justifyContent: "center",
+ alignItems: "center",
+ color: "#ccc",
+ display: "flex",
+ fontWeight: "bold",
+ }}
+ >
+ WIP
+ </div>
+ </div>
+ </td>
+
+ </tr>
+ <tr>
+ <td valign="top">
+ <strong>Twitter, LinkedIn</strong>
<div>1:1</div>
<div>Muted by default</div>
<div>Captions burned in</div>
- </td>
- <td>
- <strong>YouTube</strong>
+ </td>
+ <td valign="top">
+ <strong>YouTube</strong>
<div>16:9</div>
<div>Audio by default</div>
<div>
@@ -44,30 +93,27 @@ Each platform has its own conventions for how videos should look.
</sup>
</div>
<div>Endcard with related videos</div>
- </td>
- <td>
+ </td>
+ <td valign="top">
+
<strong>
- TikTok, Reels, Shorts<sup>2)</sup>
+ TikTok, Reels, Shorts{" "}
+ <sup>
+ <a href="#tiktok-format">planned</a>
+ </sup>
</strong>
<div>9:16</div>
<div>Safe space at bottom required</div>
<div>Word-by-word captions</div>
- </td>
+ </td>
</tr>
</table>
+</div>
-The goal of the Recorder: Make it easy and fast to <strong>edit once and export for different platforms</strong>.
+The goal of the Recorder: Edit once <strong>and feel native on each platform</strong>.
## What makes a good video?
-### Platform-agnostic
-
-YouTube videos should have an aspect ratio of 16:9.
-LinkedIn and Twitter should use 1:1.
-YouTube videos should have endcards, while a Twitter videos should have captions.
-
-With the Recorder, you record and edit once, and export the best format for each platform.
-
### Captioned
By default, videos on Instagram, LinkedIn and Twitter are muted.
diff --git a/packages/docs/static/recorder/vps-landscape.png b/packages/docs/static/recorder/vps-landscape.png
new file mode 100644
index 0000000000..8bbf654e3a
Binary files /dev/null and b/packages/docs/static/recorder/vps-landscape.png differ
diff --git a/packages/docs/static/recorder/vps-square.png b/packages/docs/static/recorder/vps-square.png
new file mode 100644
index 0000000000..4790196b03
Binary files /dev/null and b/packages/docs/static/recorder/vps-square.png differ