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

Quit fullscreen mode when change orientation in Android 8.1 #42

Open
xiachengcheng opened this issue Jul 30, 2018 · 0 comments
Open

Quit fullscreen mode when change orientation in Android 8.1 #42

xiachengcheng opened this issue Jul 30, 2018 · 0 comments

Comments

@xiachengcheng
Copy link

Thank you for this lib, it's very useful. But recently I met a strange issue.
My app shows text and videos like this image:
screenshot_20180730-145640

And play video in full screen like:
screenshot_20180730-150734

But when I change orientation to landscape, it will quit fullscreen, like this:
screenshot_20180730-145659

When orientation changed, onHideCustomView() will be called and quit full-screen mode.
I don’t why it happened, and how can I keep it in full-screen mode even when change orientation?

Forget to say, it work very well in pre-8.1 android devices.

Thank 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

1 participant