0

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} 
/>

**

Pankaj Sonava
  • 519
  • 4
  • 20
  • 1
    The solution is to encode video in various resolutions so you can serve video depending on device OS and hardware specification. That's what popular video stream app do for better video experience across different devices hardware capabilities – Fiston Emmanuel Mar 02 '22 at 13:06

0 Answers0