/** * ✔ src * ✘ duration * ✔ controls * ✘ danmu-list * ✘ danmu-btn * ✘ enable-danmu * ✔ autoplay * ✔ loop * ✔ muted * ✔ initial-time * ✘ page-gesture * ✘ direction * ✘ show-progress * ✘ show-fullscreen-btn * ✘ show-play-btn * ✘ show-center-play-btn * ✘ enable-progress-gesture * ✔ object-fit * ✔ poster * ✘ show-mute-btn * ✘ title * ✘ play-btn-position * ✘ enable-play-gesture * ✘ auto-pause-if-navigate * ✘ auto-pause-if-open-native * ✘ vslide-gesture * ✘ vslide-gesture-in-fullscreen * ✘ show-bottom-progress(use show-progress) * ✘ ad-unit-id * ✘ poster-for-crawler * ✘ show-casting-button * ✘ picture-in-picture-mode * ✘ picture-in-picture-show-progress * ✘ picture-in-picture-init-position * ✔ enable-auto-rotation (only ios) * ✘ show-screen-lock-button * ✘ show-snapshot-button * ✘ show-background-playback-button * ✘ background-poster * ✘ referrer-policy * ✔ is-drm * ✘ is-live * ✔ provision-url(android) * ✔ certificate-url(ios) * ✔ license-url * ✔ preferred-peak-bit-rate * ✔ bindplay * ✔ bindpause * ✔ bindended * ✘ bindtimeupdate * ✔ bindfullscreenchange * ✔ bindwaiting * ✔ binderror * ✘ bindprogress * ✔ bindloadedmetadata * ✔ bindcontrolstoggle(only android) * ✘ bindenterpictureinpicture * ✘ bindleavepictureinpicture * ✔ bindseekcomplete * ✘ bindcastinguserselect * ✘ bindcastingstatechange * ✘ bindcastinginterrupt */ /// import { View, ViewStyle } from 'react-native'; import { HandlerRef } from './useNodesRef'; interface VideoProps { src: string; autoplay?: boolean; loop?: boolean; muted?: boolean; controls?: boolean; poster?: string; style?: ViewStyle; 'initial-time'?: number; 'object-fit'?: null | 'contain' | 'fill' | 'cover'; 'is-drm'?: boolean; 'provision-url'?: string; 'certificate-url'?: string; 'license-url'?: string; 'preferred-peak-bit-rate'?: number; 'enable-auto-rotation'?: number; 'enable-var'?: boolean; 'external-var-context'?: Record; 'parent-font-size'?: number; 'parent-width'?: number; 'parent-height'?: number; bindplay?: (event: Record) => void; bindpause?: (event: Record) => void; bindended?: (event: Record) => void; bindtimeupdate?: (event: Record) => void; bindfullscreenchange?: (event: Record) => void; bindwaiting?: (event: Record) => void; binderror?: (event: Record) => void; bindloadedmetadata?: (event: Record) => void; bindcontrolstoggle?: (event: Record) => void; bindseekcomplete?: (event: Record) => void; } declare const MpxVideo: import("react").ForwardRefExoticComponent>>; export default MpxVideo;