import React from 'react'; import { View, StyleSheet, Dimensions } from 'react-native'; import { WebView } from 'react-native-webview'; const { width } = Dimensions.get('window'); const VIDEO_HEIGHT = width * 0.5625; interface Props { uri: string; } const buildHtml = (uri: string) => ` `; export function NativeVideoPlayer({ uri }: Props) { return ( ); } const styles = StyleSheet.create({ container: { width, height: VIDEO_HEIGHT, backgroundColor: '#000' }, webview: { width, height: VIDEO_HEIGHT, backgroundColor: '#000' }, });