'How to play HD video in react-native-video smoothly in android?

We are developing mobile app in react native, and we have used react-native-video library to play video in app.

There is no problem in any device when I play video which is uploaded by mobile, or small size of video.

When I play hd video or fullscreen video in android then it is playing very slow, it is working well in iOS but in android the hd video file is not playing smoothly like iOS.

Is there any setting that provide help me to play hd video smoothly ?

Please someone help me.

Here is the code that I am using to play video :-

**

<Video source={{ uri: this.props.item.image }}   
ref={(ref) => {
this.player = ref
}}   
controls = {true} 
style={styles.backgroundVideo} 
/>

**



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source