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

Play full screen error #199

Open
tanvan81 opened this issue Aug 28, 2020 · 3 comments
Open

Play full screen error #199

tanvan81 opened this issue Aug 28, 2020 · 3 comments

Comments

@tanvan81
Copy link

Hi.

I've setup play video success. But when I click full screen, breakout and return main page

@tridipk
Copy link

tridipk commented Sep 7, 2020

This might be an issue with configuration change specifically orientation change. Try this and see if it helps:

Add this in your activity/fragment class:

@OverRide
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
PlayerManager.getInstance().onConfigurationChanged(newConfig);
}

Also add this line to your activity in android manifest file:

android:configChanges="orientation"

@tanvan81
Copy link
Author

tanvan81 commented Sep 8, 2020

still error

When I run full screen, onConfigurationChanged event not raise

@KunalDhyani
Copy link

Try my fork maybe it works for you

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

3 participants