// TO-DO: This file breaks due to this issue: // https://github.com/expo/web-examples/issues/73 // For now, we do not import it elsewhere to avoid crashing Expo servers on web when importing the SDK. import * as React from 'react'; import { View } from 'react-native'; import ReactVideo from 'react-native-video'; // Subset of Image props, many are irrelevant for native (such as altText, etc) /** * * @typedef {{ * attributes?: any; * video?: string; * autoPlay?: boolean; * controls?: boolean; * muted?: boolean; * loop?: boolean; * playsInline?: boolean; * aspectRatio?: number; * fit?: 'contain' | 'cover' | 'stretch'; * position?: * | 'center' * | 'top' * | 'left' * | 'right' * | 'bottom' * | 'top left' * | 'top right' * | 'bottom left' * | 'bottom right'; * posterImage?: string; * children?: any; * }} VideoProps */ // TODO: support children by wrapping in a View /** * @param {VideoProps} props */ export default function Video(props) { return ( ); }