Skip to content

🎥 Make videos programmatically with React

1.0 KB
Raw Blame

name: player-example description: Start the @remotion/player example app and open it in the Codex browser. Use when the user invokes /player-example or $player-example, asks to launch the player testbed, or wants to inspect @remotion/player locally.

Player Example

Overview

Prepare the Remotion monorepo, launch the player example app, and open the served URL in the Codex in-app browser.

Workflow

  1. From the repository root, run:
bun i && bun run build
  1. Start the player example:
cd packages/player-example && bun run dev
  1. Keep the server process running and read its output for the local URL. The expected default is http://localhost:3000, but follow the printed URL if Next.js chooses another port.
  2. Open the URL in the Codex in-app browser. If no browser tool is available yet, use tool_search for the in-app browser control tool, then navigate to the local URL.
  3. Tell the user the player example URL and whether this is a newly started or already running server.