My purpose is to play a video as background, which will start just after the app loaded,
<Video
ref={video}
style={styles.video}
source={{
uri: 'http://d23dyxeqlo5psv.cloudfront.net/big_buck_bunny.mp4',
}}
isLooping
resizeMode="contain"
onPlaybackStatusUpdate={status => setStatus(() => status)}
onLoad={() => {video.setPositionAsync(0); video.current.playAsync()}}
/>
It worked twice for me. Until then just remained stopped after every compiling.
What change should it require? As a background video there should be no controls visible.