# Video player: Minimal

> Use only the parts you need. `tooltips={false}` turns off the hover hints, and `type="remaining"` counts down instead of up.

Example: https://hextaui.com/docs/video-player/examples/minimal
Component docs: https://hextaui.com/docs/video-player.md

## Add this example

```bash
npx shadcn@latest add https://hextaui.com/r/video-player-minimal.json
```

This adds `components/examples/video-player/minimal.tsx` with the Video player component and the HextaUI theme tokens.

## Source

```tsx title="components/examples/video-player/minimal.tsx"
import {
  VideoPlayer,
  VideoPlayerContent,
  VideoPlayerControls,
  VideoPlayerFullscreenButton,
  VideoPlayerPlayButton,
  VideoPlayerSeekBar,
  VideoPlayerSpacer,
  VideoPlayerTime,
} from "@/components/ui/video-player"

export function VideoPlayerMinimal() {
  return (
    <VideoPlayer className="max-w-md">
      <VideoPlayerContent
        src="https://media.w3.org/2010/05/sintel/trailer.mp4"
        poster="https://media.w3.org/2010/05/sintel/poster.png"
        aria-label="Sintel trailer"
      />
      <VideoPlayerControls tooltips={false}>
        <VideoPlayerSeekBar />
        <VideoPlayerPlayButton />
        <VideoPlayerTime type="remaining" />
        <VideoPlayerSpacer />
        <VideoPlayerFullscreenButton />
      </VideoPlayerControls>
    </VideoPlayer>
  )
}
```

## Props in this example

### VideoPlayerControls

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `tooltips` | `boolean` | `true` | Show each control’s label and shortcut on hover. |

### VideoPlayerTime

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `type` | `"both" \| "elapsed" \| "remaining" \| "duration"` | `"both"` |  |

## More Video player examples

- [Bar](https://hextaui.com/docs/video-player/examples/bar.md)
- [Seek offsets and speeds](https://hextaui.com/docs/video-player/examples/seek-offsets.md)
- [Page-wide shortcuts](https://hextaui.com/docs/video-player/examples/global-shortcuts.md)
- [Captions](https://hextaui.com/docs/video-player/examples/captions.md)
- [Custom controls](https://hextaui.com/docs/video-player/examples/custom-controls.md)
- [Error](https://hextaui.com/docs/video-player/examples/error.md)
- [Right to left](https://hextaui.com/docs/video-player/examples/rtl.md)
