Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Screen Resolution changes when video quality changes #533

Open
rohitsingh2410 opened this issue Jan 11, 2022 · 0 comments
Open

Screen Resolution changes when video quality changes #533

rohitsingh2410 opened this issue Jan 11, 2022 · 0 comments

Comments

@rohitsingh2410
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@rohitsingh2410 and others