react-native-youtube icon indicating copy to clipboard operation
react-native-youtube copied to clipboard

Screen Resolution changes when video quality changes

Open rohitsingh2410 opened this issue 3 years ago • 0 comments

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: image

Can anyone please suggest how to fix this?

rohitsingh2410 avatar Jan 11 '22 11:01 rohitsingh2410