Installation
videoCn ships as a shadcn registry. Declare it once, then install the player like any other component.
1. Declare the registry
In your project's components.json:
{
"registries": {
"@videocn": "https://videocn.dev/r/{name}.json"
}
}2. Install the player
npx shadcn@latest add @videocn/playerThe CLI copies the source into your project and adds any missing shadcn primitives along the way. The code is yours: change it as you like.
The player is not published yet. This page describes the target; the registry is live and already serves its catalog at /r/registry.json.