🎥 Make videos programmatically with React
player
Jonny Burgerb8ba24f0dc7f
diff --git a/packages/docs/docs/composition.mdx b/packages/docs/docs/composition.mdxindex 1e1314f5d4..b6fa11e3c3 100644--- a/packages/docs/docs/composition.mdx+++ b/packages/docs/docs/composition.mdx@@ -75,7 +75,7 @@ Give your component default props. Default props can be overriden using the [ProProps must be an object that contains only pure JSON-serializable values.Functions, classes, and other non-serializable values will be lost while rendering.-(This restriction does not apply to the [`<Player>`](/docs/player/api), where you are allowed to pass functions as props.)+(This restriction does not apply to the [`<Player>`](/docs/player/player), where you are allowed to pass functions as props.)You may in addition use `Date`, `Map`, `Set` and [`staticFile()`](/docs/staticfile) in your default props and Remotion will guarantee the proper serialization.diff --git a/packages/player/src/Player.tsx b/packages/player/src/Player.tsxindex 8e2e939eee..df4473f6a8 100644--- a/packages/player/src/Player.tsx+++ b/packages/player/src/Player.tsx@@ -407,7 +407,7 @@ const forward = forwardRef as <T, P = {}>(/*** @description Creates and renders a customizable video player with various interactive controls for a React application.- * @see [Documentation](https://remotion.dev/docs/player/api)+ * @see [Documentation](https://remotion.dev/docs/player/player)* @param {PlayerProps<Schema, Props>} props The properties for configuring the player, including video specifics and UI controls.* @param {MutableRefObject<PlayerRef>} ref Reference to the player for controlling playback, volume, and other aspects.* @returns {JSX.Element} The rendered video player component.