VideoProgressEvent
A Video's progress event, sent while playing: currentTime and the buffered playableDuration, in seconds.
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 VideoProgressEvent = NativeViewEvent<
'progress',
{
currentTime: number;
/** How far the player has buffered, in seconds from the start. */
playableDuration: number;
}
>;Members 5
| Name | Type | Required | Description |
|---|---|---|---|
type | "progress" | Yes | — |
target | unknown | Yes | — |
isTrusted | boolean | Yes | — |
currentTime | number | Yes | — |
playableDuration | number | Yes | How far the player has buffered, in seconds from the start. |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.