Skip to content

🎥 Make videos programmatically with React

rebrand to remotion studio

Jonny Burger04e0932dc5c9
diff --git a/packages/bundler/src/index-html.ts b/packages/bundler/src/index-html.ts
index 48cfcd159e..60d8e75fc9 100644
--- a/packages/bundler/src/index-html.ts
+++ b/packages/bundler/src/index-html.ts
@@ -1,5 +1,6 @@
import path from 'node:path';
import type {StaticFile} from 'remotion';
+import {Internals} from 'remotion';
export type RenderDefaults = {
jpegQuality: number;
@@ -122,7 +123,7 @@ ${
}
<script>window.remotion_staticFiles = ${JSON.stringify(publicFiles)}</script>
- <div id="container"></div>
+ <div id="${Internals.REMOTION_STUDIO_CONTAINER_ELEMENT}"></div>
<div id="menuportal-0"></div>
<div id="menuportal-1"></div>
<div id="menuportal-2"></div>
diff --git a/packages/cli-autocomplete/src/source.ts b/packages/cli-autocomplete/src/source.ts
index 1be43e53c6..ed29a5de15 100644
--- a/packages/cli-autocomplete/src/source.ts
+++ b/packages/cli-autocomplete/src/source.ts
@@ -849,10 +849,9 @@ const completionSpec: Fig.Spec = {
],
},
{
- name: "preview",
+ name: ["preview", "studio"],
priority: 50,
- description:
- "Start the server which allows you to preview the Remotion video",
+ description: "Start the Remotion Studio",
args: {
name: "entry",
template: ["filepaths"],
diff --git a/packages/cli/src/config/index.ts b/packages/cli/src/config/index.ts
index 4714f9eeca..91e45f3e42 100644
--- a/packages/cli/src/config/index.ts
+++ b/packages/cli/src/config/index.ts
@@ -119,7 +119,7 @@ declare global {
*/
readonly setCachingEnabled: (flag: boolean) => void;
/**
- * Define on which port Remotion should start it's HTTP servers during preview and rendering.
+ * Define on which port Remotion should start it's HTTP servers.
* By default, Remotion will try to find a free port.
* If you specify a port, but it's not available, Remotion will throw an error.
*/
@@ -153,14 +153,14 @@ declare global {
*/
readonly setNumberOfSharedAudioTags: (numberOfAudioTags: number) => void;
/**
- * Enable Webpack polling instead of file system listeners for hot reloading in the preview.
+ * Enable Webpack polling instead of file system listeners for hot reloading in the Studio.
* This is useful if you are using a remote directory or a virtual machine.
* @param interval
* @default null
*/
readonly setWebpackPollingInMilliseconds: (interval: number | null) => void;
/**
- * Whether Remotion should open a browser when starting the Preview.
+ * Whether Remotion should open a browser when starting the Studio.
* @param should
* @default true
*/
diff --git a/packages/cli/src/config/max-timeline-tracks.ts b/packages/cli/src/config/max-timeline-tracks.ts
index 8e34273c02..d24fa4149a 100644
--- a/packages/cli/src/config/max-timeline-tracks.ts
+++ b/packages/cli/src/config/max-timeline-tracks.ts
@@ -3,25 +3,25 @@ let maxTimelineTracks = 15;
export const setMaxTimelineTracks = (maxTracks: number) => {
if (typeof maxTracks !== 'number') {
throw new Error(
- `Need to pass a number to Config.Preview.setMaxTimelineTracks(), got ${typeof maxTracks}`
+ `Need to pass a number to Config.setMaxTimelineTracks(), got ${typeof maxTracks}`
);
}
if (Number.isNaN(maxTracks)) {
throw new Error(
- `Need to pass a real number to Config.Preview.setMaxTimelineTracks(), got NaN`
+ `Need to pass a real number to Config.setMaxTimelineTracks(), got NaN`
);
}
if (!Number.isFinite(maxTracks)) {
throw new Error(
- `Need to pass a real number to Config.Preview.setMaxTimelineTracks(), got ${maxTracks}`
+ `Need to pass a real number to Config.setMaxTimelineTracks(), got ${maxTracks}`
);
}
if (maxTracks < 0) {
throw new Error(
- `Need to pass a non-negative number to Config.Preview.setMaxTimelineTracks(), got ${maxTracks}`
+ `Need to pass a non-negative number to Config.setMaxTimelineTracks(), got ${maxTracks}`
);
}
diff --git a/packages/cli/src/config/preview-server.ts b/packages/cli/src/config/preview-server.ts
index 994d24515e..2cb0fc228c 100644
--- a/packages/cli/src/config/preview-server.ts
+++ b/packages/cli/src/config/preview-server.ts
@@ -3,7 +3,7 @@ let serverPort: number | undefined;
export const setPort = (port: number | undefined) => {
if (!['number', 'undefined'].includes(typeof port)) {
throw new Error(
- `Preview server port should be a number. Got ${typeof port} (${JSON.stringify(
+ `Studio server port should be a number. Got ${typeof port} (${JSON.stringify(
port
)})`
);
@@ -16,7 +16,7 @@ export const setPort = (port: number | undefined) => {
if (port < 1 || port > 65535) {
throw new Error(
- `Preview server port should be a number between 1 and 65535. Got ${port}`
+ `Studio server port should be a number between 1 and 65535. Got ${port}`
);
}
diff --git a/packages/cli/src/editor/components/CurrentCompositionSideEffects.tsx b/packages/cli/src/editor/components/CurrentCompositionSideEffects.tsx
index 9f4bd6617c..fe43e7d1f1 100644
--- a/packages/cli/src/editor/components/CurrentCompositionSideEffects.tsx
+++ b/packages/cli/src/editor/components/CurrentCompositionSideEffects.tsx
@@ -31,7 +31,7 @@ export const CurrentCompositionKeybindings: React.FC = () => {
}
if (type !== 'connected') {
- sendErrorNotification('Preview server is offline');
+ sendErrorNotification('Studio server is offline');
return;
}
diff --git a/packages/cli/src/editor/components/KeyboardShortcutsExplainer.tsx b/packages/cli/src/editor/components/KeyboardShortcutsExplainer.tsx
index a8a4534529..1ccfd01b1f 100644
--- a/packages/cli/src/editor/components/KeyboardShortcutsExplainer.tsx
+++ b/packages/cli/src/editor/components/KeyboardShortcutsExplainer.tsx
@@ -69,7 +69,7 @@ export const KeyboardShortcutsExplainer: React.FC = () => {
<ul style={ul}>
<li style={li}>a) --disable-keyboard-shortcuts being passed</li>
<li style={li}>
- b) Config.Preview.setKeyboardShortcutsEnabled(false) being set or
+ b) Config.setKeyboardShortcutsEnabled(false) being set or
</li>
<li style={li}> c) a Remotion version mismatch.</li>
</ul>
diff --git a/packages/cli/src/editor/components/Menu/is-menu-item.tsx b/packages/cli/src/editor/components/Menu/is-menu-item.tsx
index 34aac4ffc1..7e83cb25e0 100644
--- a/packages/cli/src/editor/components/Menu/is-menu-item.tsx
+++ b/packages/cli/src/editor/components/Menu/is-menu-item.tsx
@@ -1,5 +1,5 @@
-export const MENU_INITIATOR_CLASSNAME = '__remotion-preview-menu-initiator';
-export const MENU_ITEM_CLASSNAME = '__remotion-preview-menu-item';
+export const MENU_INITIATOR_CLASSNAME = '__remotion-studio-menu-initiator';
+export const MENU_ITEM_CLASSNAME = '__remotion-studio-menu-item';
export const HORIZONTAL_SCROLLBAR_CLASSNAME = '__remotion-horizontal-scrollbar';
export const VERTICAL_SCROLLBAR_CLASSNAME = '__remotion-vertical-scrollbar';
diff --git a/packages/cli/src/editor/components/Notifications/ServerDisconnected.tsx b/packages/cli/src/editor/components/Notifications/ServerDisconnected.tsx
index c712c8453f..c448f2f4e7 100644
--- a/packages/cli/src/editor/components/Notifications/ServerDisconnected.tsx
+++ b/packages/cli/src/editor/components/Notifications/ServerDisconnected.tsx
@@ -51,7 +51,7 @@ export const ServerDisconnected: React.FC = () => {
return (
<div style={container} className="css-reset">
<div style={message}>
- The preview server has disconnected. <br />
+ The studio server has disconnected. <br />
{window.remotion_studioServerCommand ? (
<span>
Run{' '}
diff --git a/packages/cli/src/editor/components/RenderButton.tsx b/packages/cli/src/editor/components/RenderButton.tsx
index 717adb4af0..254663029b 100644
--- a/packages/cli/src/editor/components/RenderButton.tsx
+++ b/packages/cli/src/editor/components/RenderButton.tsx
@@ -41,7 +41,7 @@ export const RenderButton: React.FC = () => {
const tooltip =
type === 'connected'
? 'Export the current composition ' + shortcut
- : 'Connect to the preview server to render';
+ : 'Connect to the Studio server to render';
const iconStyle: SVGProps<SVGSVGElement> = useMemo(() => {
return {
diff --git a/packages/cli/src/editor/components/RenderModal/DataEditor.tsx b/packages/cli/src/editor/components/RenderModal/DataEditor.tsx
index ac201ca32b..9464e791ce 100644
--- a/packages/cli/src/editor/components/RenderModal/DataEditor.tsx
+++ b/packages/cli/src/editor/components/RenderModal/DataEditor.tsx
@@ -354,7 +354,7 @@ export const DataEditor: React.FC<{
<div style={explainer}>
<Spacing y={5} />
<div style={errorExplanation}>
- The preview server has disconnected. Reconnect to edit the schema.
+ The studio server has disconnected. Reconnect to edit the schema.
</div>
<Spacing y={2} block />
</div>
diff --git a/packages/cli/src/editor/components/RenderQueue/index.tsx b/packages/cli/src/editor/components/RenderQueue/index.tsx
index f2d22e0e11..89debc247b 100644
--- a/packages/cli/src/editor/components/RenderQueue/index.tsx
+++ b/packages/cli/src/editor/components/RenderQueue/index.tsx
@@ -43,7 +43,7 @@ export const RenderQueue: React.FC = () => {
return (
<div style={explainer}>
<Spacing y={5} />
- <div style={errorExplanation}>The preview server has disconnected.</div>
+ <div style={errorExplanation}>The studio server has disconnected.</div>
<Spacing y={2} block />
</div>
);
diff --git a/packages/cli/src/editor/helpers/use-keybinding.ts b/packages/cli/src/editor/helpers/use-keybinding.ts
index d5aad3e850..b83e27135d 100644
--- a/packages/cli/src/editor/helpers/use-keybinding.ts
+++ b/packages/cli/src/editor/helpers/use-keybinding.ts
@@ -5,7 +5,7 @@ import {useZIndex} from '../state/z-index';
if (!process.env.KEYBOARD_SHORTCUTS_ENABLED) {
console.warn(
- 'Keyboard shortcuts disabled either due to: a) --disable-keyboard-shortcuts being passed b) Config.Preview.setKeyboardShortcutsEnabled(false) being set or c) a Remotion version mismatch.'
+ 'Keyboard shortcuts disabled either due to: a) --disable-keyboard-shortcuts being passed b) Config.setKeyboardShortcutsEnabled(false) being set or c) a Remotion version mismatch.'
);
}
diff --git a/packages/cli/src/editor/helpers/use-menu-structure.tsx b/packages/cli/src/editor/helpers/use-menu-structure.tsx
index e9f3e6023d..b18d6ac655 100644
--- a/packages/cli/src/editor/helpers/use-menu-structure.tsx
+++ b/packages/cli/src/editor/helpers/use-menu-structure.tsx
@@ -171,7 +171,7 @@ export const useMenuStructure = (closeMenu: () => void) => {
onClick: () => {
closeMenu();
if (type !== 'connected') {
- sendErrorNotification('Preview server is offline');
+ sendErrorNotification('Restart the studio to render');
return;
}
diff --git a/packages/cli/src/event-source.ts b/packages/cli/src/event-source.ts
index 607212cc8e..6acd1ebbd7 100644
--- a/packages/cli/src/event-source.ts
+++ b/packages/cli/src/event-source.ts
@@ -66,7 +66,7 @@ export const openEventSource = () => {
'error',
() => {
studioServerConnectionRef.current?.set({type: 'disconnected'});
- // Display an error message that the preview server has disconnected.
+ // Display an error message that the studio server has disconnected.
source?.close();
// Retry later
diff --git a/packages/cli/src/preview-server/render-queue/process-still.ts b/packages/cli/src/preview-server/render-queue/process-still.ts
index 0d97b288a9..d2ba5a51bb 100644
--- a/packages/cli/src/preview-server/render-queue/process-still.ts
+++ b/packages/cli/src/preview-server/render-queue/process-still.ts
@@ -34,7 +34,7 @@ export const processStill = async ({
browser,
browserExecutable,
chromiumOptions: job.chromiumOptions,
- entryPointReason: 'same as preview',
+ entryPointReason: 'same as Studio',
envVariables: job.envVariables,
height: null,
fullEntryPoint,
diff --git a/packages/cli/src/preview-server/render-queue/process-video.ts b/packages/cli/src/preview-server/render-queue/process-video.ts
index cd767fe415..fc4badb6a6 100644
--- a/packages/cli/src/preview-server/render-queue/process-video.ts
+++ b/packages/cli/src/preview-server/render-queue/process-video.ts
@@ -33,7 +33,7 @@ export const processVideoJob = async ({
browser,
browserExecutable,
chromiumOptions: job.chromiumOptions,
- entryPointReason: 'same as preview',
+ entryPointReason: 'same as Studio',
envVariables: job.envVariables,
height: null,
fullEntryPoint,
diff --git a/packages/cli/src/print-help.ts b/packages/cli/src/print-help.ts
index b6c8234422..23091ed7ab 100644
--- a/packages/cli/src/print-help.ts
+++ b/packages/cli/src/print-help.ts
@@ -20,7 +20,7 @@ export const printHelp = () => {
Log.info('Available commands:');
Log.info('');
Log.info('remotion studio <entry-point.ts>');
- Log.info(chalk.gray('Start the preview server.'));
+ Log.info(chalk.gray('Start the Remotion studio.'));
printFlags([['--props', 'Pass input props as filename or as JSON']]);
Log.info();
Log.info('remotion render <entry-point.ts> <comp-id> <output-file.mp4>');
diff --git a/packages/cli/src/test/preview-server.test.ts b/packages/cli/src/test/preview-server.test.ts
index 4df92bb1b3..d15e965c96 100644
--- a/packages/cli/src/test/preview-server.test.ts
+++ b/packages/cli/src/test/preview-server.test.ts
@@ -9,12 +9,12 @@ describe('setting preview server port', () => {
});
test.each<[number | string, string]>([
- ['e', `Preview server port should be a number. Got string \\(\\"e\\"\\)`],
- [-1, `Preview server port should be a number between 1 and 65535. Got -1`],
- [0, `Preview server port should be a number between 1 and 65535. Got 0`],
+ ['e', `Studio server port should be a number. Got string \\(\\"e\\"\\)`],
+ [-1, `Studio server port should be a number between 1 and 65535. Got -1`],
+ [0, `Studio server port should be a number between 1 and 65535. Got 0`],
[
999999,
- `Preview server port should be a number between 1 and 65535. Got 999999`,
+ `Studio server port should be a number between 1 and 65535. Got 999999`,
],
])('throw error on invalid ports %s', (port, errorPattern) => {
// @ts-expect-error
diff --git a/packages/core/src/get-preview-dom-element.ts b/packages/core/src/get-preview-dom-element.ts
index 6bc516d4b5..04ba719d45 100644
--- a/packages/core/src/get-preview-dom-element.ts
+++ b/packages/core/src/get-preview-dom-element.ts
@@ -1,3 +1,5 @@
+export const REMOTION_STUDIO_CONTAINER_ELEMENT = '__remotion-studio-container';
+
export const getPreviewDomElement = () => {
- return document.getElementById('container');
+ return document.getElementById(REMOTION_STUDIO_CONTAINER_ELEMENT);
};
diff --git a/packages/core/src/internals.ts b/packages/core/src/internals.ts
index c5410ef1d1..f8da1f4b8b 100644
--- a/packages/core/src/internals.ts
+++ b/packages/core/src/internals.ts
@@ -24,7 +24,10 @@ import {
getRemotionEnvironment,
useRemotionEnvironment,
} from './get-environment.js';
-import {getPreviewDomElement} from './get-preview-dom-element.js';
+import {
+ getPreviewDomElement,
+ REMOTION_STUDIO_CONTAINER_ELEMENT,
+} from './get-preview-dom-element.js';
import {processColor} from './interpolate-colors.js';
import {IsPlayerContextProvider, useIsPlayer} from './is-player.js';
import {NonceContext} from './nonce.js';
@@ -131,6 +134,7 @@ export const Internals = {
useResolvedVideoConfig,
resolveCompositionsRef,
ResolveCompositionConfig,
+ REMOTION_STUDIO_CONTAINER_ELEMENT,
};
export type {
diff --git a/packages/core/src/warn-about-non-seekable-media.ts b/packages/core/src/warn-about-non-seekable-media.ts
index 0dcdd39939..6604edc24c 100644
--- a/packages/core/src/warn-about-non-seekable-media.ts
+++ b/packages/core/src/warn-about-non-seekable-media.ts
@@ -31,7 +31,7 @@ export const warnAboutNonSeekableMedia = (
console.error(msg);
} else if (type === 'console-warning') {
console.warn(
- `The media ${ref.src} does not support seeking. The video will render fine, but may not play correctly in preview and in the <Player>. See https://remotion.dev/docs/non-seekable-media for an explanation.`
+ `The media ${ref.src} does not support seeking. The video will render fine, but may not play correctly in the Remotion Studio and in the <Player>. See https://remotion.dev/docs/non-seekable-media for an explanation.`
);
} else {
throw new Error(msg);
diff --git a/packages/docs/blog/2023-04-01-remotion-4-0.md b/packages/docs/blog/2023-04-01-remotion-4-0.md
index b5f009784a..02f5a79bb8 100644
--- a/packages/docs/blog/2023-04-01-remotion-4-0.md
+++ b/packages/docs/blog/2023-04-01-remotion-4-0.md
@@ -11,15 +11,15 @@ Welcome to the new release notes of one of the biggest Remotion updates ever! Wi
## Render button
-Instead of quitting the Remotion Preview and rendering using a CLI command, you can now simply press a button to render a video, audio or still!
+Instead of quitting the Remotion Studio and rendering using a CLI command, you can now simply press a button to render a video, audio or still!
-A graphical interface allows you to discover and tweak all options of a render. You may follow the progress of a render in the Remotion Preview, queue multiple renders, and open the resulting render in the file explorer.
+A graphical interface allows you to discover and tweak all options of a render. You may follow the progress of a render in the Remotion Studio, queue multiple renders, and open the resulting render in the file explorer.
-Every render triggered through the UI is also trackable in the CLI as usual and synchronizes to other instances of the Remotion Preview. Failed renders show the stacktrace and allow for retries with the same configuration.
+Every render triggered through the UI is also trackable in the CLI as usual and synchronizes to other instances of the Remotion Studio. Failed renders show the stacktrace and allow for retries with the same configuration.
## Interactive editing of props
-The props of a composition can now be defined as a Zod Schema! Doing this will not only make your `defaultProps` type-safe, but also allow you to edit the props live in the Remotion Preview.
+The props of a composition can now be defined as a Zod Schema! Doing this will not only make your `defaultProps` type-safe, but also allow you to edit the props live in the Remotion Studio.
Our visual schema editor supports editing numbers, strings, arrays, objects, enums and dates! Alternatively, you can also edit the JSON directly. Like the changes you've made? In a lot of cases, you can save the props back to your project!
diff --git a/packages/docs/components/Player/features.tsx b/packages/docs/components/Player/features.tsx
index b8129ceb38..9b78f99185 100644
--- a/packages/docs/components/Player/features.tsx
+++ b/packages/docs/components/Player/features.tsx
@@ -1,9 +1,9 @@
import { useColorMode } from "@docusaurus/theme-common";
import React, { useState } from "react";
-import styles from "./features.module.css";
+import { ColorPicker, colorPickerColors } from "../Player/ColorPicker";
import { PlayerExample } from "../PlayerExample";
import { CoolInput } from "../TextInput";
-import { ColorPicker, colorPickerColors } from "../Player/ColorPicker";
+import styles from "./features.module.css";
export const PlayerFeatures: React.FC = () => {
const { colorMode } = useColorMode();
@@ -88,7 +88,7 @@ export const PlayerFeatures: React.FC = () => {
<p>
Connect to the Remotion server-side rendering APIs to turn the
preview into real videos. We have support for audio and various
- codecs, and allow rendering in Node.JS or serverless (coming soon).
+ codecs, and allow rendering in Node.JS or AWS Lambda.
</p>
</div>
<div style={{ width: 20 }} />
diff --git a/packages/docs/components/TableOfContents/remotion.tsx b/packages/docs/components/TableOfContents/remotion.tsx
index e0e697cc3a..de620bbbf3 100644
--- a/packages/docs/components/TableOfContents/remotion.tsx
+++ b/packages/docs/components/TableOfContents/remotion.tsx
@@ -18,7 +18,7 @@ export const TableOfContents: React.FC = () => {
</TOCItem>
<TOCItem link="/docs/folder">
<strong>{"<Folder>"}</strong>
- <div>Organize compositions in the preview sidebar</div>
+ <div>Organize compositions in the Studio sidebar</div>
</TOCItem>
<TOCItem link="/docs/register-root">
<strong>{"registerRoot()"}</strong>
diff --git a/packages/docs/docs/audio.md b/packages/docs/docs/audio.md
index de1d4183d4..2a8fc71249 100644
--- a/packages/docs/docs/audio.md
+++ b/packages/docs/docs/audio.md
@@ -127,12 +127,12 @@ export const MyVideo = () => {
## `acceptableTimeShiftInSeconds`<AvailableFrom v="3.2.42"/>
-During [Preview](/docs/terminology#remotion-preview) or in the [Remotion Player](/docs/player), Remotion will seek the audio if it gets too much out of sync with Remotion's internal time - be it due to the audio loading or the page being too slow to keep up in real-time. By default, a seek is triggered if `0.45` seconds of time shift is encountered. Using this prop, you can customize the threshold.
+In the [Remotion Studio](/docs/terminology#remotion-studio) or in the [Remotion Player](/docs/player), Remotion will seek the audio if it gets too much out of sync with Remotion's internal time - be it due to the audio loading or the page being too slow to keep up in real-time. By default, a seek is triggered if `0.45` seconds of time shift is encountered. Using this prop, you can customize the threshold.
## `allowAmplificationDuringRender`<AvailableFrom v="3.3.17"/>
Make values for [`volume`](#volume) greater than `1` result in amplification during renders.
-During Preview, the volume will be limited to `1`, since the browser cannot amplify audio.
+In the Remotion Studio, the volume will be limited to `1`, since the browser cannot amplify audio.
## See also
diff --git a/packages/docs/docs/brownfield-installation.md b/packages/docs/docs/brownfield-installation.md
index 38707e6d12..c2df36ed25 100644
--- a/packages/docs/docs/brownfield-installation.md
+++ b/packages/docs/docs/brownfield-installation.md
@@ -119,12 +119,12 @@ registerRoot(RemotionRoot);
The file that calls [`registerRoot()`](/docs/register-root) is now your Remotion **entrypoint**.
-## Starting the preview
+## Starting the Studio
-Start the preview server using the following command:
+Start the Remotion Studio using the following command:
```
-npx remotion preview remotion/index.ts
+npx remotion studio remotion/index.ts
```
Replace `remotion/index.ts` with your entrypoint if necessary.
diff --git a/packages/docs/docs/cli/studio.md b/packages/docs/docs/cli/studio.md
index c4e7138067..2876c47ffb 100644
--- a/packages/docs/docs/cli/studio.md
+++ b/packages/docs/docs/cli/studio.md
@@ -51,7 +51,7 @@ Specify a location for a dotenv file - Default `.env`. [Read about how environme
### `--disable-keyboard-shortcuts`<AvailableFrom v="3.2.11" />
-[Disables all keyboard shortcuts in the Preview](/docs/config#setkeyboardshortcutsenabled).
+[Disables all keyboard shortcuts in the Studio](/docs/config#setkeyboardshortcutsenabled).
### `--webpack-poll`<AvailableFrom v="3.3.11" />
@@ -75,7 +75,5 @@ For backwards compatibility, the `BROWSER` environment variable is also supporte
A set of command line flags that should be passed to the browser. Pass them like this:
```console
-remotion preview --browser-args="--disable-web-security"
+npx remotion studio --browser-args="--disable-web-security"
```
-
-Notice that Chrome will try to reuse the process, so you want to quit it first before you start it with the flags.
diff --git a/packages/docs/docs/composition.md b/packages/docs/docs/composition.md
index ac1ea88482..80427de054 100644
--- a/packages/docs/docs/composition.md
+++ b/packages/docs/docs/composition.md
@@ -71,7 +71,7 @@ If you use `lazyComponent`, Remotion will use React Suspense to load the compone
_optional_
-Give your component default props that will be shown in the preview. You can override these props during render using a CLI flag.
+Give your component default props. Default props can be overriden using the [Props editor](/docs/visual-editing) and with [Input Props](/docs/props-resolution)
:::note
Type your components using the `React.FC<{}>` type and the `defaultProps` prop will be typesafe.
diff --git a/packages/docs/docs/config.md b/packages/docs/docs/config.md
index 5214946269..99c796b5ee 100644
--- a/packages/docs/docs/config.md
+++ b/packages/docs/docs/config.md
@@ -81,7 +81,7 @@ By default, Remotion will try to find a free port.
If you specify a port, but it's not available, Remotion will throw an error.
:::note
-When starting the [Remotion Preview](/docs/terminology#remotion-preview), a server will be started to host it.
+When starting the [Remotion Studio](/docs/terminology#remotion-studio), a server will be started to host it.
During rendering, a HTTP server is also started in the background to serve the Webpack [bundle](/docs/terminology#bundle).
:::
@@ -139,7 +139,7 @@ The [command line flag](/docs/cli/render#--log) `--log` will take precedence ove
## setMaxTimelineTracks()<AvailableFrom v="2.1.10" />
-Set how many tracks are being displayed in the timeline in the Preview at most. This does not affect your video, just the amount of tracks shown when previewing. Default `15`.
+Set how many tracks are being displayed in the timeline in the Studio at most. This does not affect your video, just the amount of tracks shown when previewing. Default `15`.
```ts twoslash title="remotion.config.ts"
import { Config } from "@remotion/cli/config";
@@ -149,7 +149,7 @@ Config.setMaxTimelineTracks(20);
## setKeyboardShortcutsEnabled()<AvailableFrom v="3.2.11" />
-Whether the Preview should react to keyboard shortcuts. Default `true`.
+Whether the Studio should react to keyboard shortcuts. Default `true`.
```ts twoslash title="remotion.config.ts"
import { Config } from "@remotion/cli/config";
@@ -174,7 +174,7 @@ The [command line flag](/docs/cli/studio#--webpack-poll) `--webpack-poll` will t
## setNumberOfSharedAudioTags()<AvailableFrom v="3.3.2" />
-How many shared audio tags should be mounted in the Preview. Shared audio tags can help prevent playback issues due to audio autoplay policies of the browser. See [this article](/docs/player/autoplay#use-the-numberofsharedaudiotags-property) which covers the same option but for the Player. Default `0`, meaning no autoplay policies are circumvented.
+How many shared audio tags should be mounted in the Studio. Shared audio tags can help prevent playback issues due to audio autoplay policies of the browser. See [this article](/docs/player/autoplay#use-the-numberofsharedaudiotags-property) which covers the same option but for the Player. Default `0`, meaning no autoplay policies are circumvented.
```ts twoslash title="remotion.config.ts"
import { Config } from "@remotion/cli/config";
@@ -185,7 +185,7 @@ Config.setNumberOfSharedAudioTags(5);
## setShouldOpenBrowser()<AvailableFrom v="3.3.19" />
-Whether Remotion should open a browser when starting the Preview. Default `true`.
+Whether Remotion should open a browser when starting the Studio. Default `true`.
```ts twoslash title="remotion.config.ts"
import { Config } from "@remotion/cli/config";
diff --git a/packages/docs/docs/contributing/feature.md b/packages/docs/docs/contributing/feature.md
index f00116b417..6fe0df0941 100644
--- a/packages/docs/docs/contributing/feature.md
+++ b/packages/docs/docs/contributing/feature.md
@@ -28,7 +28,7 @@ See the [CONTRIBUTING.md](https://github.com/remotion-dev/remotion/blob/main/CON
## Icons
-Remotion uses [Font Awesome](https://fontawesome.com/) v5.15.4 for the icons in the Remotion Preview.
+Remotion uses [Font Awesome](https://fontawesome.com/) v5.15.4 for the icons in the Remotion Studio.
We have a license and can grant access to Pro icons if needed.
diff --git a/packages/docs/docs/contributing/option.md b/packages/docs/docs/contributing/option.md
index fe4194ff02..e54f740ccf 100644
--- a/packages/docs/docs/contributing/option.md
+++ b/packages/docs/docs/contributing/option.md
@@ -11,7 +11,7 @@ Adding a new option to a feature is a great way to contribute to Remotion and en
There are multiple ways to specify an option:
- APIs that can be called via Node.JS can directly accept a parameter.
-- Options influencing a render can be added to the render dialog in the [Remotion Preview](/docs/terminology#remotion-preview).
+- Options influencing a render can be added to the render dialog in the [Remotion Studio](/docs/terminology#remotion-studio).
- If the action is available as a [CLI](/docs/cli) command, the option should also be added as a CLI flag.
- The [config](/docs/config) file can be also be used to specify multiple options. <br/>
:::note
@@ -23,7 +23,7 @@ There are multiple ways to specify an option:
The option should be resolved in the following order:
<Step>1</Step> Directly passed to the Node.JS API<br/>
-<Step>2</Step> Specified via the render UI in the <a href="/docs/terminology#remotion-preview">Remotion Preview</a><br/>
+<Step>2</Step> Specified via the render UI in the <a href="/docs/terminology#remotion-studio">Remotion Studio</a><br/>
<Step>3</Step> Specified via <a href="/docs/cli">CLI flag</a><br/>
<Step>4</Step> Specified via <a href="/docs/config">config file</a><br/>
<Step>5</Step> Fallback to a default value
diff --git a/packages/docs/docs/folder.md b/packages/docs/docs/folder.md
index e8059dfbfe..69031c4fb4 100644
--- a/packages/docs/docs/folder.md
+++ b/packages/docs/docs/folder.md
@@ -49,9 +49,9 @@ will create a tree structure in the sidebar that looks like this:
## Folder behavior
+- They only visually change the sidebar in the Remotion Studio and have no further behavior.
- Folder names can only contain `a-z`, `A-Z`, `0-9` and `-`.
- Folders can be nested.
-- They only visually change the sidebar in the preview.
## See also
diff --git a/packages/docs/docs/get-input-props.md b/packages/docs/docs/get-input-props.md
index d3bd2a14d1..7ce028ccbd 100644
--- a/packages/docs/docs/get-input-props.md
+++ b/packages/docs/docs/get-input-props.md
@@ -17,16 +17,16 @@ This method is not available when inside a Remotion Player. Instead, get the pro
## API
-Pass in a [parseable](/docs/cli) JSON representation using the `--props` flag to either `remotion preview` or `remotion render`:
+Pass in a [parseable](/docs/cli) JSON representation using the `--props` flag to either `remotion studio` or `remotion render`:
```bash
npx remotion render --props='{"hello": "world"}'
```
-To simulate how it behaves, you can also pass props when previewing:
+To simulate how it behaves, you can also pass props when using the Remotion Studio:
```bash
-npx remotion preview --props='{"hello": "world"}'
+npx remotion studio --props='{"hello": "world"}'
```
You may also specify a file containing JSON and Remotion will parse the file for you:
diff --git a/packages/docs/docs/get-static-files.md b/packages/docs/docs/get-static-files.md
index 81f4cb9b0b..9f96303a9e 100644
--- a/packages/docs/docs/get-static-files.md
+++ b/packages/docs/docs/get-static-files.md
@@ -11,7 +11,7 @@ Gets an array containing all files in the `public/` folder. You can reference th
:::note
This feature does not work in the Remotion Player and returns an empty array.
-On Linux, watching for changes in subdirectories is only supported from Node.js v19.1.0. If you use a version earlier than that, you need to refresh the Remotion Preview browser tab manually.
+On Linux, watching for changes in subdirectories is only supported from Node.js v19.1.0. If you use a version earlier than that, you need to refresh the Remotion Studio browser tab manually.
:::
```tsx twoslash title="example.ts"
@@ -59,7 +59,7 @@ Takes no arguments and returns an array of object, each of which have three entr
Contains forward slashes `/` even on Windows.
:::note
-- `src`: The path with a prefix. The prefix changes whenever the preview server reloads.
+- `src`: The path with a prefix. The prefix changes whenever the Studio server restarts.
- `sizeInBytes`: The file size. If it is a symbolic link, the file size of the original is reported.
- `lastModified`: Last modified date in Unix timestamp in milliseconds.
diff --git a/packages/docs/docs/getting-started.md b/packages/docs/docs/getting-started.md
index d162a7835d..ca7f494d89 100644
--- a/packages/docs/docs/getting-started.md
+++ b/packages/docs/docs/getting-started.md
@@ -53,7 +53,7 @@ yarn create video
Choose the template that is most suitable for you. For your first project, we recommend the [Hello World](/templates/hello-world) template.
-After the project has been scaffolded, we recommend to open the project in your text editor and running to start the Remotion Preview:
+After the project has been scaffolded, we recommend to open the project in your text editor and starting the [Remotion Studio](/docs/timeline):
```bash
npm start
diff --git a/packages/docs/docs/gpu.md b/packages/docs/docs/gpu.md
index 0c5f581666..025e6fc6ba 100644
--- a/packages/docs/docs/gpu.md
+++ b/packages/docs/docs/gpu.md
@@ -12,7 +12,7 @@ Some types of content in Remotion can benefit from a GPU being available on the
- 2D Canvas graphics
- GPU-accelerated CSS properties such as `box-shadow`, `filter: blur()` and `filter: drop-shadow`
-If a GPU is available, it should be enabled by default while rendering the preview. However, in headless mode, Chromium disables the GPU, leading to a significant
+If a GPU is available, it should be enabled by default while in the Remotion Studio or Remotion Player. However, in headless mode, Chromium disables the GPU, leading to a significant
slowdown in rendering time.
## Use `--gl=angle` for local renders
diff --git a/packages/docs/docs/how-props-flow.md b/packages/docs/docs/how-props-flow.md
index d87bc32a3d..6aea4ddd63 100644
--- a/packages/docs/docs/how-props-flow.md
+++ b/packages/docs/docs/how-props-flow.md
@@ -14,7 +14,7 @@ Three factors play a role:
<Step>1</Step> <strong>Default props</strong> is the fallback data if no props are passed to the render. You can specify them using the <a href="/docs/composition#defaultprops"><code>defaultProps</code></a> property of your <a href="/docs/composition#defaultprops"><code>&lt;Composition /&gt;</code></a>.<br/>
-<Step>2</Step> <strong>Input props</strong> is the data being passed while invoking a render, either via the <a href="/docs/renderer/render-media#inputprops"><code>inputProps</code></a> option, the <a href="/docs/cli/render#--props"><code>--props</code> flag</a> or using the render dialog in the Remotion Preview. <br/>
+<Step>2</Step> <strong>Input props</strong> is the data being passed while invoking a render, either via the <a href="/docs/renderer/render-media#inputprops"><code>inputProps</code></a> option, the <a href="/docs/cli/render#--props"><code>--props</code> flag</a> or using the render dialog in the Remotion Studio. <br/>
<Step>3</Step> <a href="/docs/composition#calculatemetadata"><code>calculateMetadata()</code></a> may be used to dynamically transform the props, as well as the metadata of the composition.
@@ -25,15 +25,15 @@ The following diagram shows how the props get resolved:
<HowPropsFlow/>
-## During Preview
+## In the Remotion Studio
-During Preview in the browser, the props are resolved in a similar way, but with a <strong>few differences</strong>:
+In the Remotion Studio, the props are resolved in a similar way, but with a <strong>few differences</strong>:
<Step>1</Step> The default props can be <strong>edited in the right sidebar</strong>. Invalid modifications will be marked with a red outline and do not apply.<br/>
<Step>2</Step> If you render a video using the Render button, the <strong>input props form gets pre-propagated</strong> with the default props, including modifications in the right sidebar. <br/><br/>
The following rules <strong>stay the same</strong>, which you should be aware of:
-<Step>1</Step> If you start the Preview with the <a href="/docs/cli/studio#--props"><code>--props</code></a> flag, this data will take priority over the default props, including modifications in the sidebar. It is not recommended to pass input props to the Preview. <br/>
+<Step>1</Step> If you start the Studio with the <a href="/docs/cli/studio#--props"><code>--props</code></a> flag, this data will take priority over the default props, including modifications in the sidebar. It is not recommended to pass input props to the Studio. <br/>
<Step>2</Step> The passed input props may get transformed by <a href="/docs/composition#calculatemetadata"><code>calculateMetadata()</code></a>. <br/>
diff --git a/packages/docs/docs/miscellaneous/snippets/accelerated-video.md b/packages/docs/docs/miscellaneous/snippets/accelerated-video.md
index c6ea8d46d1..462fd60862 100644
--- a/packages/docs/docs/miscellaneous/snippets/accelerated-video.md
+++ b/packages/docs/docs/miscellaneous/snippets/accelerated-video.md
@@ -53,7 +53,7 @@ export const AcceleratedVideo: React.FC = () => {
};
```
-Note that the timeline in the Remotion Preview might move as you play the video because we reposition the sequence over time. This is okay as long as we calculate the frame in an idempotent way.
+Note that the timeline in the Remotion Studio might move as you play the video because we reposition the sequence over time. This is okay as long as we calculate the frame in an idempotent way.
## Demo
diff --git a/packages/docs/docs/miscellaneous/video-formats.md b/packages/docs/docs/miscellaneous/video-formats.md
index 52be81127d..e553cdbc0d 100644
--- a/packages/docs/docs/miscellaneous/video-formats.md
+++ b/packages/docs/docs/miscellaneous/video-formats.md
@@ -10,7 +10,7 @@ Remotion supports a variety of video codecs.
**Output formats**: Videos can be rendered to `H.264` (MP4), `H.265`, (HEVC), `VP8` and `VP9` (WebM), `ProRes` as well as GIFs. See the [Encoding guide](/docs/encoding) for more detail.
**Codecs supported for [`<Video>`](/docs/video):** Remotion uses the default `<video>` tag for playback and therefore inherits codec support from the browser.
-During rendering this means that the Chrome codecs are supported. During [Preview](/docs/terminology#preview) and in the [Player](/docs/terminology#player), the codec support from the browser in which the webpage is hosted in applies.
+During rendering this means that the Chrome codecs are supported. In the [Remotion Studio](/docs/terminology#remotion-studio) and in the [Player](/docs/terminology#remotion-player), the codec support from the browser in which the webpage is hosted in applies.
Codec support varies between browsers and changes from time to time. Refer to this [MDN article](https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs) for browser support.
**Codecs supported for [`<OffthreadVideo>`](/docs/offthreadvideo)**: The same support that applies to `<Video>` applies to `<OffthreadVideo>` as well, however, more codecs can be supported during rendering since FFmpeg is used under the hood to read the video file. We however don't maintain an exact list of supported video codecs.
diff --git a/packages/docs/docs/non-seekable-media.md b/packages/docs/docs/non-seekable-media.md
index 0c1b921abf..4ed65333a1 100644
--- a/packages/docs/docs/non-seekable-media.md
+++ b/packages/docs/docs/non-seekable-media.md
@@ -62,4 +62,4 @@ Consider one of these solutions:
- Serve the media from a webhost that supports the `Range` header and returns a `Content-Length` and `Content-Range` header.
- Download the media and import it locally using an `import` or `require()` statement.
-- Use the [`<OffthreadVideo>`](/docs/offthreadvideo) component which will render the video fine. You may still see problems during playback in the preview or the [`<Player>`](/docs/player).
+- Use the [`<OffthreadVideo>`](/docs/offthreadvideo) component which will render the video fine. You may still see problems during playback in the Remotion Studio or the [`<Player>`](/docs/player).
diff --git a/packages/docs/docs/null.md b/packages/docs/docs/null.md
index 37c815a8cb..d5b251149f 100644
--- a/packages/docs/docs/null.md
+++ b/packages/docs/docs/null.md
@@ -33,7 +33,7 @@ export const MyComp: React.FC = () => {
<Step>1</Step> If this component is rendered, no screenshot will be taken during rendering
</div>
<div>
-<Step>2</Step> In the preview, the content will be rendered with zero opacity.
+<Step>2</Step> In the Remotion Studio and the Remotion Player, the content will be rendered with zero opacity.
</div>
<div>
<Step>3</Step> Even elements <strong>outside</strong> of the <code>{"<Null>"}</code> component will disappear.
diff --git a/packages/docs/docs/offthreadvideo.md b/packages/docs/docs/offthreadvideo.md
index f31c04ecd4..bf71581772 100644
--- a/packages/docs/docs/offthreadvideo.md
+++ b/packages/docs/docs/offthreadvideo.md
@@ -43,7 +43,7 @@ export const MyComposition = () => {
The props [`volume`](/docs/video#volume), [`playbackRate`](/docs/video#playbackrate), [`muted`](/docs/video#muted) and [`acceptableTimeShiftInSeconds`](/docs/video#acceptabletimeshiftinseconds) are supported and work the same as in [`<Video>`](/docs/video).
-The props [`onError`](/docs/img#onerror), `className` and `style` are supported and get passed to the underlying HTML element. Remember that during render, this is a `<img>` element, and during preview, this is a `<video>` element.
+The props [`onError`](/docs/img#onerror), `className` and `style` are supported and get passed to the underlying HTML element. Remember that during render, this is a `<img>` element, and during Preview, this is a `<video>` element.
### `transparent`<AvailableFrom v="4.0.0" />
diff --git a/packages/docs/docs/overwriting-webpack-config.md b/packages/docs/docs/overwriting-webpack-config.md
index c5f4279f73..24026debe7 100644
--- a/packages/docs/docs/overwriting-webpack-config.md
+++ b/packages/docs/docs/overwriting-webpack-config.md
@@ -286,7 +286,7 @@ Config.overrideWebpackConfig(enableSass);
4. Add it to your [Node.JS API calls as well if necessary](#when-using-bundle-and-deploysite).
-5. Restart the preview server.
+5. Restart the Remotion Studio.
### Enable support for GLSL imports
@@ -374,7 +374,7 @@ declare module "*.glsl" {
4. Add it to your [Node.JS API calls as well if necessary](#when-using-bundle-and-deploysite).
5. Reset the webpack cache by deleting the `node_modules/.cache` folder.
-6. Restart the preview server.
+6. Restart the Remotion Studio.
### Enable WebAssembly
diff --git a/packages/docs/docs/parametrized-rendering.md b/packages/docs/docs/parametrized-rendering.md
index 37e31f11c4..6064eb766b 100644
--- a/packages/docs/docs/parametrized-rendering.md
+++ b/packages/docs/docs/parametrized-rendering.md
@@ -16,7 +16,7 @@ Props are a React concept and take the shape of a JavaScript object.
To determine the data which gets passed to the video, the following steps are taken:
-<Step>1</Step> <strong>Default props</strong> are defined statically, so that the video can be designed in the Preview without any data. <br/>
+<Step>1</Step> <strong>Default props</strong> are defined statically, so that the video can be designed in the Studio without any data. <br/>
<ul>
<li>
@@ -26,7 +26,7 @@ The default props define the shape of the data.
A schema can be defined and validated.
</li>
<li>
-In absence of data, default props can be edited in the Remotion Preview.
+In absence of data, default props can be edited in the Remotion Studio.
</li>
</ul>
<Step>2</Step> <strong>Input props</strong> may be specified when rendering a video to override the default props.<br/>
diff --git a/packages/docs/docs/player/player-integration.md b/packages/docs/docs/player/player-integration.md
index ce46b99109..0ed2b8e9ec 100644
--- a/packages/docs/docs/player/player-integration.md
+++ b/packages/docs/docs/player/player-integration.md
@@ -8,7 +8,7 @@ crumb: "@remotion/player"
import Tabs from "@theme/Tabs";
import TabItem from '@theme/TabItem';
-If you are using the player, a common desire is to share the code with your Remotion Preview and/or server-side rendering. With the correct setup, you can write the component once and use it for previewing, displaying and rendering.
+If you are using the player, a common desire is to share the code with your Remotion Studio and/or server-side rendering. With the correct setup, you can write the component once and use it for previewing, displaying and rendering.
:::note
Remotion and your React app use a different Webpack config. Therefore, if you want to override your [Webpack configuration](/docs/webpack), you need to override both the Remotion one and the React app one.
@@ -126,19 +126,23 @@ registerRoot(MyVideo);
Don't move these statements together into one file, as you might break hot reloading.
:::
-## Using Remotion Preview
+## Using Remotion Studion
-You can open the Remotion Preview using the `npx remotion preview command`:
+You can open the Remotion Studion using the `npx remotion studio` command:
```bash
-npx remotion preview src/remotion/index.ts
+npx remotion studio src/remotion/index.ts
```
+:::note
+Before v4.0, the command was `npx remotion preview`.
+:::
+
We recommend adding a new script into your package.json for easy access:
```diff
"scripts": {
-+ "video": "remotion preview src/remotion/index.ts"
++ "video": "remotion studio src/remotion/index.ts"
}
```
diff --git a/packages/docs/docs/preload/preload-audio.md b/packages/docs/docs/preload/preload-audio.md
index c1f6c98965..7db21bc870 100644
--- a/packages/docs/docs/preload/preload-audio.md
+++ b/packages/docs/docs/preload/preload-audio.md
@@ -10,7 +10,7 @@ _This function is part of the [`@remotion/preload`](/docs/preload) package._
This function preloads audio in the DOM so that when a audio tag is mounted, it can play immediately.
-While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the preview.
+While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the Studio.
An alternative to `preloadAudio()` is the [`prefetch()`](/docs/prefetch) API. See [`@remotion/preload` vs `prefetch()`](/docs/player/preloading#remotionpreload-vs-prefetch) to decide which one is better for your usecase.
diff --git a/packages/docs/docs/preload/preload-font.md b/packages/docs/docs/preload/preload-font.md
index 601c987ac3..50c3845688 100644
--- a/packages/docs/docs/preload/preload-font.md
+++ b/packages/docs/docs/preload/preload-font.md
@@ -10,7 +10,7 @@ _This function is part of the [`@remotion/preload`](/docs/preload) package._
This function preloads a font so that when an [`<Img>`](/docs/img) tag is mounted, it can display immediately.
-While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the preview.
+While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the Studio.
An alternative to `preloadFont()` is the [`prefetch()`](/docs/prefetch) API. See [`@remotion/preload` vs `prefetch()`](/docs/player/preloading#remotionpreload-vs-prefetch) to decide which one is better for your usecase.
diff --git a/packages/docs/docs/preload/preload-image.md b/packages/docs/docs/preload/preload-image.md
index 7ac2c489a9..3481f73a05 100644
--- a/packages/docs/docs/preload/preload-image.md
+++ b/packages/docs/docs/preload/preload-image.md
@@ -10,7 +10,7 @@ _This function is part of the [`@remotion/preload`](/docs/preload) package._
This function preloads an image so that when an [`<Img>`](/docs/img) tag is mounted, it can display immediately.
-While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the preview.
+While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the Studio.
An alternative to `preloadImage()` is the [`prefetch()`](/docs/prefetch) API. See [`@remotion/preload` vs `prefetch()`](/docs/player/preloading#remotionpreload-vs-prefetch) to decide which one is better for your usecase.
diff --git a/packages/docs/docs/preload/preload-video.md b/packages/docs/docs/preload/preload-video.md
index 4a850621e6..0da485066e 100644
--- a/packages/docs/docs/preload/preload-video.md
+++ b/packages/docs/docs/preload/preload-video.md
@@ -11,7 +11,7 @@ _This function is part of the [`@remotion/preload`](/docs/preload) package._
This function preloads a video in the DOM so that when a video tag is mounted, it can play immediately.
-While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the preview.
+While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the Studio.
An alternative to `preloadVideo()` is the [`prefetch()`](/docs/prefetch) API. See [`@remotion/preload` vs `prefetch()`](/docs/player/preloading#remotionpreload-vs-prefetch) to decide which one is better for your usecase.
diff --git a/packages/docs/docs/preload/preload.md b/packages/docs/docs/preload/preload.md
index 32c18b110b..982f63c25d 100644
--- a/packages/docs/docs/preload/preload.md
+++ b/packages/docs/docs/preload/preload.md
@@ -9,7 +9,7 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import {TableOfContents} from '../../components/TableOfContents/preload';
-This package provides functions for preloading assets. While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the preview. Currently, three functions are implemented:
+This package provides functions for preloading assets. While preload is not necessary for rendering, it can help with seamless playback in the [`<Player />`](/docs/player) and in the Studio. Currently, three functions are implemented:
<TableOfContents />
diff --git a/packages/docs/docs/schemas.md b/packages/docs/docs/schemas.md
index 60c8e08acd..184ea9ca14 100644
--- a/packages/docs/docs/schemas.md
+++ b/packages/docs/docs/schemas.md
@@ -9,7 +9,7 @@ crumb: "How To"
As an alternative to [using TypeScript types](/docs/parametrized-rendering) to define the shape of the props your component accepts, you may use [Zod](https://zod.dev/) to define a schema for your props. You may do so if you want to:
<Step>1</Step> Validate the props during rendering. [TODO] <br/>
-<Step>2</Step> Edit the props visually in the Remotion Preview.
+<Step>2</Step> Edit the props visually in the Remotion Studio.
## Prerequisites
@@ -140,7 +140,7 @@ export const RemotionRoot: React.FC = () => {
## Editing props visually
-When you have defined a schema for your props, you can [edit them visually in the Remotion Preview](/docs/visual-editing). This is useful if you want to quickly try out different values for your props.
+When you have defined a schema for your props, you can [edit them visually in the Remotion Studio](/docs/visual-editing). This is useful if you want to quickly try out different values for your props.
## Supported types
@@ -148,4 +148,4 @@ All schemas that are supported by [Zod](https://zod.dev/) are supported by Remot
Remotion requires that the top-level type is a `z.object()`, because the collection of props of a React component is always an object.
-In addition to the built in types, the `@remotion/zod-types` package also provides [`zColor()`](/docs/zod-types/z-color), including a color picker interface for the Remotion Preview.
+In addition to the built in types, the `@remotion/zod-types` package also provides [`zColor()`](/docs/zod-types/z-color), including a color picker interface for the Remotion Studio.
diff --git a/packages/docs/docs/sequence.md b/packages/docs/docs/sequence.md
index 4dd86f6016..722e62d49f 100644
--- a/packages/docs/docs/sequence.md
+++ b/packages/docs/docs/sequence.md
@@ -67,7 +67,7 @@ For how many frames the sequence should be displayed. Children are unmounted if
_optional_
-You can give your sequence a name and it will be shown as the label of the sequence in the timeline of the Remotion preview. This property is purely for helping you keep track of sequences in the timeline.
+You can give your sequence a name and it will be shown as the label of the sequence in the timeline of the Remotion Studio. This property is purely for helping you keep track of sequences in the timeline.
### `layout`
diff --git a/packages/docs/docs/spline.md b/packages/docs/docs/spline.md
index 26b2309e78..2f8ec775c7 100644
--- a/packages/docs/docs/spline.md
+++ b/packages/docs/docs/spline.md
@@ -177,7 +177,7 @@ rotation={[constantRotation / 2, constantRotation, 0]}
The X rotation is half of the Y rotation, so for every 2 turns in the Y axis, our Torus will turn once in the X axis.
:::
-11. That's it! See a rotating Torus in the Remotion Preview.
+11. That's it! See a rotating Torus in the Remotion Studio.
12. If you want to export your video to a MP4 video file, run:
diff --git a/packages/docs/docs/staticfile.md b/packages/docs/docs/staticfile.md
index 0aa1d75154..027d5ff466 100644
--- a/packages/docs/docs/staticfile.md
+++ b/packages/docs/docs/staticfile.md
@@ -60,7 +60,7 @@ You can now load the asset via:
If you are a Create React App or Next.JS user, you might be used to just to be able to reference the asset from a string: `<img src="/my-image.png"/>`. Remotion chooses to be different in that you need to use the `staticFile()` API because:
- It prevents breaking when deploying your site into a subdirectory of a domain: `https://example.com/my-folder/my-logo.png`
-- It avoids conflicts with composition names which might share the same name (for example `http://localhost:3000/conflicting-name` while running the preview)
+- It avoids conflicts with composition names which might share the same name (for example `http://localhost:3000/conflicting-name` while running the studio)
- It allows us to make paths framework-agnostic, so your code can work across Remotion, Create React App, Next.JS and potentially other frameworks.
## Getting all files in the public folder
diff --git a/packages/docs/docs/terminology.md b/packages/docs/docs/terminology.md
index 31b90037ef..64226fd141 100644
--- a/packages/docs/docs/terminology.md
+++ b/packages/docs/docs/terminology.md
@@ -8,7 +8,7 @@ Here we try to explain the meaning of some terms that are used often in the docu
## Composition
-A composition is the definition of a renderable asset. It consists of a React component, width, height, FPS and a duration. It can be registered in the [Remotion Preview](#remotion-preview) by rendering a [`<Composition>`](/docs/composition) (to render video or audio render target) or a [`<Still>`](/docs/still).
+A composition is the definition of a renderable asset. It consists of a React component, width, height, FPS and a duration. It can be registered in the [Remotion Studio](#remotion-studio) by rendering a [`<Composition>`](/docs/composition) (to render video or audio render target) or a [`<Still>`](/docs/still).
In the [Remotion Player](#remotion-player), you don't use the `<Composition>` component, rather you pass the component and metadata directly to the [`<Player>`](/docs/player).
@@ -67,7 +67,7 @@ The former name of the [Remotion Studio](#remotion-studio), renamed in v4.0. Sin
## Remotion Player
-The Remotion Player is a React component [`<Player>`](/docs/player) that can be embedded into a React app. It can be used by installing the `@remotion/player` package into a React app (for example: Create React App, Next.JS, Remix). It is not the same as the [Remotion Preview](#remotion-preview).
+The Remotion Player is a React component [`<Player>`](/docs/player) that can be embedded into a React app. It can be used by installing the `@remotion/player` package into a React app (for example: Create React App, Next.JS, Remix). It is not the same as the [Remotion Studio](#remotion-studio).
## Concurrency
@@ -84,6 +84,6 @@ Input props are data that can be passed to a render in order to parametrize the
- This data is passed as actual React props to the component that you defined in your [composition](#composition)
- Using the [`getInputProps()`](/docs/get-input-props) function, you can retrieve the props even outside your component, for example to dynamically change the [duration or dimensions](/docs/dynamic-metadata).
-In the [Remotion Preview](#remotion-preview), you can set [default props](/docs/composition#defaultprops) to serve as placeholder data for designing your video. If your input props don't override the default props, the default props will be used.
+In the [Remotion Studio](#remotion-studio), you can set [default props](/docs/composition#defaultprops) to serve as placeholder data for designing your video. If your input props don't override the default props, the default props will be used. See: [How props get resolved](/docs/props-resolution)
In the [Remotion Player](#remotion-player), there are no default props, but you can pass [`inputProps`](/docs/player/player#inputprops) directly to the [`<Player>`](/docs/player).
diff --git a/packages/docs/docs/three-canvas.md b/packages/docs/docs/three-canvas.md
index d6c9c3713d..5d037ddae4 100644
--- a/packages/docs/docs/three-canvas.md
+++ b/packages/docs/docs/three-canvas.md
@@ -11,7 +11,7 @@ Since React Three Fiber is a custom renderer, normally the React contexts that s
Instead of using React Three Fibers `useFrame` API, you can (and must) write your animations fully declaratively using Remotions `useCurrentFrame` API. This will ensure that you can scrub back and forth in the timeline and pause the animation.
-A browser bug [would normally cause the layout to be broken](https://github.com/pmndrs/react-three-fiber/issues/1394) because we apply a `scale` transform to the canvas in preview mode. To work around this problem, the `<ThreeCanvas />` requires the `width` and `height` props to be set.
+A browser bug [would normally cause the layout to be broken](https://github.com/pmndrs/react-three-fiber/issues/1394) because we apply a `scale` transform to the canvas in the Studio. To work around this problem, the `<ThreeCanvas />` requires the `width` and `height` props to be set.
## Example
diff --git a/packages/docs/docs/timeline.md b/packages/docs/docs/timeline.md
index 3e9c48558c..fc5e40cd8a 100644
--- a/packages/docs/docs/timeline.md
+++ b/packages/docs/docs/timeline.md
@@ -21,7 +21,7 @@ A server will be started on port `3000` (or a higher port if it isn't available)
<img src="/img/timeline.png"></img>
-## Preview controls
+## Playback controls
Use the <svg
aria-hidden="true"
diff --git a/packages/docs/docs/troubleshooting/broken-fast-refresh.md b/packages/docs/docs/troubleshooting/broken-fast-refresh.md
index 13e4aa49ac..929a0b987b 100644
--- a/packages/docs/docs/troubleshooting/broken-fast-refresh.md
+++ b/packages/docs/docs/troubleshooting/broken-fast-refresh.md
@@ -5,9 +5,9 @@ title: Fast Refresh not working
crumb: "Troubleshooting"
---
-If the Remotion Preview does not update after you have updated your file, it is usually due to one of two reasons:
+If the Remotion Studio does not update after you have updated your file, it is usually due to one of two reasons:
-<Step>1</Step> Preview server disconnected: This happens when you quit the process that was started when running <code>npx remotion preview</code>, usually using <code>Ctrl+C</code> or by quitting the terminal. <br/><br/>
+<Step>1</Step> Studio server disconnected: This happens when you quit the process that was started when running <code>npx remotion studio</code>, usually using <code>Ctrl+C</code> or by quitting the terminal. <br/><br/>
<Step>2</Step> Mismatched capitalization in the filenames: Ensure that the capitalization of filenames is correct in imports. For example, if your filename is <code>MyComp.tsx</code>, but you import it using <code>{'import {MyComp} from "./myComp.tsx"'}</code>, Fast Refresh may break. <br/><br/>
diff --git a/packages/docs/docs/troubleshooting/video-flicker.md b/packages/docs/docs/troubleshooting/video-flicker.md
index ea424f01d9..a9186d9bd0 100644
--- a/packages/docs/docs/troubleshooting/video-flicker.md
+++ b/packages/docs/docs/troubleshooting/video-flicker.md
@@ -32,7 +32,7 @@ This is a design tradeoff of Remotion, but can be fought with different levels o
<strong><Step>1</Step>Option 1: Ignore</strong><br/>
-It should be mentioned that this effect is only happening in the Remotion Preview and the Remotion Player, and will not appear in the rendered video. If you are only looking for a frame-perfect rendered video, you do not need to take additional steps.
+It should be mentioned that this effect is only happening in the Remotion Studio and the Remotion Player, and will not appear in the rendered video. If you are only looking for a frame-perfect rendered video, you do not need to take additional steps.
<strong><Step>2</Step>Option 2: Pause the <code>{"<Player/>"}</code> when media is buffering</strong><br/>
diff --git a/packages/docs/docs/video.md b/packages/docs/docs/video.md
index 0f7e49b8d2..64c4441da5 100644
--- a/packages/docs/docs/video.md
+++ b/packages/docs/docs/video.md
@@ -180,7 +180,7 @@ export const MyComposition = () => {
### `acceptableTimeShiftInSeconds`<AvailableFrom v="3.2.42" />
-During [Preview](/docs/terminology#remotion-preview) or in the [Remotion Player](/docs/player), Remotion will seek the video if it gets too much out of sync with Remotion's internal time - be it due to the video loading or the page being too slow to keep up in real-time. By default, a seek is triggered if `0.45` seconds of time shift is encountered. Using this prop, you can customize the threshold.
+In the [Studio](/docs/terminology#remotion-studio) or in the [Remotion Player](/docs/player), Remotion will seek the video if it gets too much out of sync with Remotion's internal time - be it due to the video loading or the page being too slow to keep up in real-time. By default, a seek is triggered if `0.45` seconds of time shift is encountered. Using this prop, you can customize the threshold.
### `allowAmplificationDuringRender`<AvailableFrom v="3.3.17" />
diff --git a/packages/docs/docs/visual-editing.md b/packages/docs/docs/visual-editing.md
index 2fc9b15e50..152e6be61c 100644
--- a/packages/docs/docs/visual-editing.md
+++ b/packages/docs/docs/visual-editing.md
@@ -11,7 +11,7 @@ To edit props visually, first register a [`schema`](/docs/composition#schema) wi
## Opening the props editor
To open the props editor, press the <svg style={{width: 20, verticalAlign:"middle", marginLeft: 4, marginRight: 4}} viewBox="0 0 100 100" fill="transparent"><rect x="3" y="3" width="94" height="94" rx="7" stroke="var(--ifm-font-color-base)" strokeWidth="6"/><path d="M59 91.5V8.5C59 4.63401 62.134 1.5 66 1.5H92C95.866 1.5 99 4.63401 99 8.5V91.5C99 95.366 95.866 98.5 92 98.5H66C62.134 98.5 59 95.366 59 91.5Z" fill="var(--ifm-font-color-base)" stroke="var(--ifm-font-color-base)"/></svg>
-icon in the top right corner of the Remotion Preview to open the right sidebar. Alternatively, press <kbd>Cmd/Ctrl</kbd> + <kbd>J</kbd> to toggle the sidebar. Select the <code>Props</code> tab.
+icon in the top right corner of the Remotion Studio to open the right sidebar. Alternatively, press <kbd>Cmd/Ctrl</kbd> + <kbd>J</kbd> to toggle the sidebar. Select the <code>Props</code> tab.
## Editing props
diff --git a/packages/docs/docs/wrong-composition-mount.md b/packages/docs/docs/wrong-composition-mount.md
index 0b10ba3ddd..c2c292d0a3 100644
--- a/packages/docs/docs/wrong-composition-mount.md
+++ b/packages/docs/docs/wrong-composition-mount.md
@@ -21,7 +21,7 @@ or, inside a player:
## Solution
-### In the Remotion Preview
+### In the Remotion Studio
The cause for the error is that a [`<Composition>`](/docs/composition) was nested inside the `component` that was passed to another `<Composition>`.
@@ -111,7 +111,7 @@ const Index: React.FC = () => {
```
:::note
-There is no use for compositions in `<Player>`. Only use them during rendering and when using the Remotion Preview.
+There is no use for compositions in `<Player>`. Only use them during rendering and when using the Remotion Studio.
:::
To fix it, pass the component directly to the player's [`component`](/docs/player/player#component) prop and provide the [`durationInFrames`](/docs/player/player#durationinframes), [`fps`](/docs/player/player#fps), [`compositionHeight`](/docs/player/player#compositionheight) and [`compositionWidth`](/docs/player/player#compositionwidth) props to the player.