video in react native stack overflow

Solutions on MaxInterview for video in react native stack overflow by the best coders in the world

showing results for - "video in react native stack overflow"
Kenny
18 Feb 2017
1<View style={styles.videoContainer}>
2    <Video
3        source={{uri: 'http://d23dyxeqlo5psv.cloudfront.net/big_buck_bunny.mp4'}}
4        ref={(ref) => {
5            this._player = ref
6        }}                                      
7        ...
8        style={styles.video}/>
9</View>
Melina
11 Jun 2018
1videoContainer: {
2    flex: 1,
3    backgroundColor: 'black',
4},
5video: {
6    position: 'absolute',
7    top: 0,
8    bottom: 0,
9    left: 0,
10    right: 0,
11},