Skip to content

Commit ee8a0d0

Browse files
committed
docs updates
1 parent 9d404b4 commit ee8a0d0

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

packages/docs/docs/client-side-rendering/index.mdx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Unlike server-side rendering with [`@remotion/renderer`](/docs/renderer), client
2525

2626
## APIs
2727

28-
The package will provide APIs called [`renderStillOnWeb()`](/docs/web-renderer/render-still-on-web) and [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web).
28+
The package provides APIs called [`renderStillOnWeb()`](/docs/web-renderer/render-still-on-web) and [`renderMediaOnWeb()`](/docs/web-renderer/render-media-on-web).
2929

3030
Here is an example of how to use it:
3131

@@ -54,6 +54,16 @@ const {getBlob} = await renderMediaOnWeb({
5454
});
5555
```
5656

57+
## Enable in the Studio
58+
59+
To enable client-side rendering in the Studio, you need to call `Config.setExperimentalClientSideRenderingEnabled(true)` in your `remotion.config.ts` file.
60+
61+
```ts twoslash title="remotion.config.ts"
62+
import {Config} from '@remotion/cli/config';
63+
// ---cut---
64+
Config.setExperimentalClientSideRenderingEnabled(true);
65+
```
66+
5767
## Status
5868

5969
Client-side rendering is currently in heavy iteration.

packages/docs/docs/client-side-rendering/telemetry.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The telemetry is designed to collect as little data as possible while ensuring a
3232
If you [qualify for the free license](/docs/license), you don't need to register for a license key.
3333
Pass `"free-license"` to `licenseKey` to disable any warning in the console and declare your eligibility for the free license.
3434

35-
```tsx twoslash title="Setting a license key" {6}
35+
```tsx twoslash title="Declare eligibility for the free license" {6}
3636
import React from 'react';
3737
const Component: React.FC = () => {
3838
return (
@@ -64,7 +64,7 @@ await renderMediaOnWeb({
6464

6565
If you have a Remotion Company License or Enterprise License, go to [remotion.pro](https://remotion.pro) and get your license key from the "Usage" tab.
6666

67-
```tsx twoslash title="Declare eligibility for the free licnse" {6}
67+
```tsx twoslash title="Set a license key" {6}
6868
import React from 'react';
6969
const Component: React.FC = () => {
7070
return (

0 commit comments

Comments
 (0)