Please provide the following:
- SDK Version: 4.2.1
- Platforms: all
- video, expo-av
how to play a video automatically just after it’s been loaded
I tried this with expo-av
<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()}}
/>