VideoPictureInPictureEvent
A Video's pictureInPictureChange event, with active saying whether picture in picture is on.
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 VideoPictureInPictureEvent = NativeViewEvent<
'pictureInPictureChange',
{ active: boolean }
>;Members 4
| Name | Type | Required | Description |
|---|---|---|---|
type | "pictureInPictureChange" | Yes | — |
target | unknown | Yes | — |
isTrusted | boolean | Yes | — |
active | boolean | Yes | — |
Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.