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

28 lines
594 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}}>
<Video style={{flex:1}} source={{uri: "https://rawgit.com/mediaelement/mediaelement-files/master/big_buck_bunny.mp4"}} />
</View>
);
};
export default App;