/** * Video 组件入口文件 * 注意:多视频播放互斥问题 */ import React from 'react'; import { VideoWebProps, VideoState } from './interface'; interface VideoAdapter { } interface VideoLayoutProps { } declare const Video_base: { new (props: any): { viewAdapter: { component: React.ComponentClass; }; logicalAdapter: VideoAdapter; readonly RenderComponent: React.ComponentClass; readonly defaultViewAdapter: { component: any; }; readonly adapter: VideoAdapter; context: any; setState(state: VideoState | ((prevState: Readonly, props: Readonly) => VideoState | Pick) | Pick, callback?: () => void): void; forceUpdate(callback?: () => void): void; render(): React.ReactNode; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; state: Readonly; refs: { [key: string]: React.ReactInstance; }; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; }; readonly clsPrefix: "dzq"; readonly defaultLogicalAdapter: {}; contextType?: React.Context; }; export default class Video extends Video_base { constructor(props: any); /** * 属性默认值 */ static defaultProps: { controls: boolean; autoplay: boolean; loop: boolean; muted: boolean; initialTime: number; onReady: () => void; onPlay: () => void; onPause: () => void; onEnded: () => void; onError: () => void; onTimeUpdate: () => void; onFullscreenChange: () => void; onProgress: () => void; onLoadedMetaData: () => void; onWaiting: () => void; singleton: boolean; }; render(): JSX.Element; } export {};