react-native-youtube
react-native-youtube copied to clipboard
Screen Resolution changes when video quality changes
Platform: Android 10 the issue is random, one thing we have observed is, whenever video starts in low quality and further when its quality improves, its resolution changes or screen width shrinks. Below is the code we are rendering.
<YouTube apiKey="API_KEY" videoId={String(videoURL)} play={true} fullscreen={true} controls={1} onError={(e)=>this.onVideoEnd(e)} style={{ alignSelf: 'stretch', height: "100%" }} />
Issue Screenshot:
Can anyone please suggest how to fix this?