2023-04-12 23:41:28 -06:00
|
|
|
/**
|
|
|
|
* Sample React Native App
|
|
|
|
* https://github.com/facebook/react-native
|
|
|
|
*
|
|
|
|
* Generated with the TypeScript template
|
|
|
|
* https://github.com/react-native-community/react-native-template-typescript
|
|
|
|
*
|
|
|
|
* @format
|
|
|
|
*/
|
|
|
|
|
|
|
|
import React, {type PropsWithChildren} from 'react';
|
|
|
|
import {
|
|
|
|
StyleSheet,
|
|
|
|
View,
|
|
|
|
} from 'react-native';
|
2023-04-13 01:20:15 -06:00
|
|
|
import Video from 'react-native-video'
|
2023-04-12 23:41:28 -06:00
|
|
|
|
|
|
|
const App = () => {
|
|
|
|
|
|
|
|
return (
|
2023-04-13 01:20:15 -06:00
|
|
|
<View style={{flex: 1}}>
|
2023-04-13 03:24:02 -06:00
|
|
|
<Video style={{flex:1, backgroundColor: 'blue'}} source={{uri: "https://rawgit.com/mediaelement/mediaelement-files/master/big_buck_bunny.mp4"}} />
|
2023-04-13 01:20:15 -06:00
|
|
|
</View>
|
2023-04-12 23:41:28 -06:00
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default App;
|