🎥 Make videos programmatically with React
split up player API and docs
Jonny Burger801836aa8774
diff --git a/packages/docs/docs/player/api.md b/packages/docs/docs/player/api.mdindex 945127d060..107a7d8a33 100644--- a/packages/docs/docs/player/api.md+++ b/packages/docs/docs/player/api.md@@ -1,6 +1,6 @@---id: api-title: "API"+title: "<Player>"---## `<Player />`diff --git a/packages/docs/docs/player/installation.md b/packages/docs/docs/player/installation.mdindex 89db27c6f5..2de6efd839 100644--- a/packages/docs/docs/player/installation.md+++ b/packages/docs/docs/player/installation.md@@ -7,7 +7,7 @@ slug: /player/installationimport Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-To install the player, run the following command in a React project:+To install the Player, run the following command in a React project:<TabsdefaultValue="npm"@@ -42,4 +42,10 @@ yarn add remotion @remotion/player</Tabs>+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](/docs/player/examples) and [API reference](/docs/player/api) next.diff --git a/packages/docs/sidebars.js b/packages/docs/sidebars.jsindex 0c8f67dd2d..ec0bcbee91 100644--- a/packages/docs/sidebars.js+++ b/packages/docs/sidebars.js@@ -98,19 +98,10 @@ module.exports = {type: "category",link: {type: "doc",- id: "player/player",+ id: "player/installation",},label: "@remotion/player",- items: [- "player/installation",- "player/examples",- "player/api",- "player/scaling",- "player/integration",- "player/autoplay",- "player/preloading",- "player/best-practices",- ],+ items: ["player/api"],},{type: "category",@@ -320,6 +311,22 @@ module.exports = {"render-as-gif",],},+ {+ type: "category",+ link: {+ type: "doc",+ id: "player/player",+ },+ label: "Player",+ items: [+ "player/examples",+ "player/scaling",+ "player/integration",+ "player/autoplay",+ "player/preloading",+ "player/best-practices",+ ],+ },{type: "category",label: "Troubleshooting",