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
onFullScreenToggle callback #48
Comments
I'm having this same problem and other, also related to full screen mode. I have to allow users to open video in full screen mode but keep the device in portraitUp orientation. Something like this: If user turns the device to landscape mode, then, the player have to rotate automatically. There's the possibility to provide callbacks to override the @newtaDev can you take a look here? Thank you! |
To do this, you can wrap the video preview in This is how we did it and it works, but now we want to play the video inline, and in this case we need either callbacks or parameters for |
I have created these callbacks in my fork... I'm making other changes right now, but as soon as possible I'll send a PR. |
Is there any way to restore the app's PreferredOrientations after exiting fullScreen mode?
The application sets the preferred orientation at startup, but after switching the video to fullscreen and back (even when autoplay to false, just after switching to fullscreen preview), the application starts responding to a change in device orientation.
I did not find anything suitable in the API.
For example, it could be like this:
The text was updated successfully, but these errors were encountered: