react-native-video/examples/LaftelVideo/App.tsx

28 lines
619 B
TypeScript
Raw Normal View History

/**
* 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'
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>
);
};
export default App;