VideoProgressEvent
A Video's progress event, sent while playing: currentTime and the buffered playableDuration, in seconds.
Verwendung
Display a video with native controls.
Dieser Typ wird verwendet von 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" />;Typdeklaration
export type VideoProgressEvent = NativeViewEvent<
'progress',
{
currentTime: number;
/** How far the player has buffered, in seconds from the start. */
playableDuration: number;
}
>;Mitglieder 5
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
type | "progress" | Ja | — |
target | unknown | Ja | — |
isTrusted | boolean | Ja | — |
currentTime | number | Ja | — |
playableDuration | number | Ja | How far the player has buffered, in seconds from the start. |
Generiert aus den öffentlichen TypeScript-Deklarationen: Signaturen, Props und Standardwerte stammen aus der geprüften Quelle, Beschreibungen aus deren JSDoc. Kein Standardwert ist erfunden.