Skip to content
bobine

The media player your browser should have shipped.

Drop-in video and audio players for React. Same props as the native elements, calmer controls, and source code that lives in your repo.

Read the docs
terminal
$ npx shadcn@latest add https://bobine.fyi/r/video-player.json

Swap one tag

Keep your sources, posters and caption tracks. Drop the controls attribute and change the element name.

before.tsx
<video src="/clip.mp4" poster="/clip.jpg" controls />
after.tsx
import { VideoPlayer } from "@/components/ui/video-player"

<VideoPlayer src="/clip.mp4" poster="/clip.jpg" />

What you get

What the players do without extra setup.

Audio too

The audio player is built from the same parts, so both feel like one set.

Morning DriftDemo track
0:00

Start in the docs

Install commands, composition, streaming, every part and every shortcut.

Read the docs