I use react-native-video to render a video player for my app.
I try to change the source of the video. This is my code run well.
<Video
source={{uri: _getVideo().video_url}}
style={Styles.backgroundVideo}
autoplay={true}
controls={false}
disableFocus={true}
resizeMode="cover"
/>;
But I change 'controls={true}'. It don't render new video, just render audio. And still show old video.
_getVideo().video_url
This function just return source video. I'm sure element also changes source but not re-render new video.
Is there any solution to resolve it?