Video Player Chrome

Video player chrome with a 16:9 stage, a centered play and pause button, a volume icon, a playback progress bar and a title. Bring your own video in React.

src/registry/ui/video-player-chrome.tsx/r/video-player-chrome.json

Installation#

bash
npx shadcn@latest add @minidev/video-player-chrome

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/video-player-chrome.json

Usage#

tsx
import { VideoPlayerChrome } from "@/components/ui/video-player-chrome"

export function Example() {
  return <VideoPlayerChrome />
}

API reference#

VideoPlayerChrome props
PropTypeDefault
titlestring-
playingboolean-
onToggle() => void-
progressnumber0
classNamestring-

Dependencies#

npm

lucide-react

Built from

All media and upload components