import {Component} from 'react';
import {StyleProp, ViewStyle} from 'react-native';
import Video, {LoadError, VideoProperties} from 'react-native-video';
interface DuckNavigator {
pop: () => void;
}
interface VideoPlayerProperties extends VideoProperties {
/** If true, clicking the fullscreen button will toggle the component between cover/contain, set to false if you want to customize fullscreen behaviour */
toggleResizeModeOnFullscreen?: boolean;
/** The amountof time (in milliseconds) to animate the controls in and out. */
controlAnimationTiming?: number;
/** Tapping twice within this amount of time in milliseconds is considered a double tap. Single taps will not be actioned until this time has expired. */
doubleTapTime?: number;
/** Hide controls after X amount of time in milliseconds */
controlTimeout?: number;
/** If > 0, enable live scrubbing when moving the seek bar. The provided value is the minimum time step of the scrubbing in milliseconds. */
scrubbing?: number;
/** Show or hide the controls on first render */
showOnStart?: boolean;
/** React Native StyleSheet object that is appended to the