Installation
import {TableOfContents} from '../../components/TableOfContents/player';
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
To install the Player, run the following command in a React project:
<Tabs
defaultValue="npm"
values={[
{ label: 'npm', value: 'npm', },
{ label: 'yarn', value: 'yarn', },
{ label: 'pnpm', value: 'pnpm', },
]
}>
bash
npm i remotion @remotion/player
bash
npm i remotion @remotion/player
bash
pnpm i remotion @remotion/player
bash
pnpm i remotion @remotion/player
bash
yarn add remotion @remotion/player
bash
yarn add remotion @remotion/player
Also update all the other Remotion packages to have the same version: remotion
, @remotion/cli
and others.
note
Make sure no package version number has a ^
character in front of it as it can lead to a version conflict.
Read the examples and API reference next.