BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/jarvis-ui/video-player

Video Player

jarvis-ui/video-player
FreeComponent

A themed media-chrome video player with composable controls.

Live preview

live · rendered by the registry
Rendered by jarvis-ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ui.jarv.is/r/video-player.json

Source

ui/video-player.tsxui.jarv.is/r/video-player.json
1"use client";
2
3import {
4 MediaControlBar,
5 MediaController,
6 MediaMuteButton,
7 MediaPlayButton,
8 MediaSeekBackwardButton,
9 MediaSeekForwardButton,
10 MediaTimeDisplay,
11 MediaTimeRange,
12 MediaVolumeRange,
13} from "media-chrome/react";
14import type * as React from "react";
15
16import { cn } from "@/lib/utils";
17
18type VideoPlayerVariables = React.CSSProperties & Record<`--${string}`, string>;
19type VideoPlayerContentProps = React.ComponentProps<"video"> & {
20 captionsSrc?: string;
21 captionsLabel?: string;
22 captionsSrcLang?: string;
23};
24
25const videoPlayerVariables = {
26 "--media-primary-color": "var(--primary)",
27 "--media-secondary-color": "var(--background)",
28 "--media-text-color": "var(--foreground)",
29 "--media-background-color": "var(--background)",
30 "--media-control-hover-background": "var(--accent)",
31 "--media-font-family": "var(--font-sans)",
32 "--media-live-button-icon-color": "var(--muted-foreground)",
33 "--media-live-button-indicator-color": "var(--destructive)",
34 "--media-range-track-background": "var(--border)",
35} satisfies VideoPlayerVariables;
36const emptyCaptionsSrc = "data:text/vtt,WEBVTT%0A%0A";
37
38function VideoPlayer({ style, ...props }: React.ComponentProps<typeof MediaController>) {
39 return <MediaController style={{ ...videoPlayerVariables, ...style }} {...props} />;
40}
41
42function VideoPlayerControlBar(props: React.ComponentProps<typeof MediaControlBar>) {
43 return <MediaControlBar {...props} />;
44}
45
46function VideoPlayerTimeRange({
47 className,
48 ...props
49}: React.ComponentProps<typeof MediaTimeRange>) {
50 return <MediaTimeRange className={cn("p-2.5", className)} {...props} />;
51}
52
53function VideoPlayerTimeDisplay({
54 className,
55 ...props
56}: React.ComponentProps<typeof MediaTimeDisplay>) {
57 return <MediaTimeDisplay className={cn("p-2.5", className)} {...props} />;
58}
59
60function VideoPlayerVolumeRange({
61 className,
62 ...props
63}: React.ComponentProps<typeof MediaVolumeRange>) {
64 return <MediaVolumeRange className={cn("p-2.5", className)} {...props} />;
65}
66
67function VideoPlayerPlayButton({
68 className,
69 ...props
70}: React.ComponentProps<typeof MediaPlayButton>) {
71 return <MediaPlayButton aria-label="Play" className={cn("p-2.5", className)} {...props} />;
72}
73
74function VideoPlayerSeekBackwardButton({
75 className,
76 ...props
77}: React.ComponentProps<typeof MediaSeekBackwardButton>) {
78 return (
79 <MediaSeekBackwardButton
80 aria-label="Seek backward"
81 className={cn("p-2.5", className)}
82 {...props}
83 />
84 );
85}
86
87// … truncated

What it pulls in

npm packages

  • media-chrome

Files it writes

  • ui/video-player.tsx

Facts

Registry
jarvis-ui
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-09
Last confirmed
today

Go to the source

Docs on jarvis-ui ui.jarv.is jakejarvis/ui on GitHub Raw registry item This item as JSON

More from jarvis-ui

All 10 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Browser Windowbrowser-windowjarvis-uiComponentsFreeno deps
Cookie Consentcookie-consentjarvis-uiComponentsFreeno deps
Copy Buttoncopy-buttonjarvis-uiComponentsFree1 dep
Copyable Fieldcopyable-fieldjarvis-uiComponentsFreeno deps
Parallax Cardparallax-cardjarvis-uiComponentsFree1 dep
Scroll Areascroll-areajarvis-uiComponentsFree1 dep
Stepperstepperjarvis-uiComponentsFree1 dep
Tipovertipoverjarvis-uiComponentsFree1 dep · 2 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex