Video

@/components/kamod-ui/video

Installation

Import Video from `@/components/kamod-ui/video`.

pnpm add @kamod-ch/ui

Usage

Use controls for playback affordance and provide fallback text where needed.

import { Video } from "@/components/kamod-ui/video";
<Video />

Video With Source

Provide a source file and keep controls enabled.

Muted Preview

Use muted autoplay previews in media galleries.

API Reference

Props, slots and variants for this component.

Video

Video component props and accepted values.

PropTypeDefault
controlsbooleantrue
muted / autoPlay / loopbooleanfalse
childrensource tracks and fallbackundefined

Accessibility Notes

Provide captions/subtitles when possible and avoid autoplay with sound to reduce accessibility friction.