Open tanvan81 opened 4 years ago
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"
still error
When I run full screen, onConfigurationChanged event not raise
Try my fork maybe it works for you
Hi.
I've setup play video success. But when I click full screen, breakout and return main page