Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

Portrait Orientation gives Portrait Fullscreen video #50

Open
SayaGames opened this issue Sep 6, 2019 · 1 comment
Open

Portrait Orientation gives Portrait Fullscreen video #50

SayaGames opened this issue Sep 6, 2019 · 1 comment

Comments

@SayaGames
Copy link

SayaGames commented Sep 6, 2019

Hi, I use portrait orientation in my app by the code:

SystemChrome.setPreferredOrientations([
DeviceOrientation.portraitUp,
DeviceOrientation.portraitDown,
]);
If user click fullscreen mode on the player, result is portrait video (shrunk)***

I want if user click fullscreen button, result is landscape (correct ratio of the video). User can manually turn the phone to watch.
How to?
Best regards

(Also, is there any event to enter fullscreen?)

@SayaGames
Copy link
Author

I noticed that, removing the "SystemChrome.setPreferredOrientations" declarations (not forcing the specific orientation) cure for the issue. But this time we have to implement on UI for horizontal / vertical layouts both.

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

No branches or pull requests

1 participant