VideoSource
A stream or a file: https:// (HLS .m3u8 or progressive MP4) or file://.
Usage
Display a video with native controls.
This type is used by Video
// Display a video with native controls.
import { Video } from 'kuito';
<Video src={{ uri: 'https://example.com/waves.mp4' }} height={320} muted loop objectFit="cover" />;Type declaration
export type VideoSource = { uri: string };Members 1
| Name | Type | Required | Description |
|---|---|---|---|
uri | string | Yes | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.