lipangit / JiaoZiVideoPlayer

MediaPlayer exoplayer ijkplayer ffmpeg
MIT License
10.47k stars 2.42k forks source link

Enter full screen mode with rotation #304

Closed hexlay closed 8 years ago

hexlay commented 8 years ago

i am entering full screen mode with setupPlayer.startWindowFullscreen(); but once i rotate, JCV also rotates and i`m ending up portrait mode once again. How to prevent player rotation and match current screen mode with Full Screen options?

lipangit commented 8 years ago

FULLSCREEN mode can not change , FULLSCREEN mode is full screen, can not mode is FULLSCREEN but display is not fullscreen

hexlay commented 8 years ago

then how to enter fullscreen without pressing FULLSCREEN BUTTON? i want to enter full screen with ROTATION

hexlay commented 8 years ago

found solution inside source

jcVideoPlayer.setRotation(90); -> public void startWindowFullscreen() {...

if we only had control of rotation, for example set True or false startWindowFullscreen(0), startWindowFullscreen(90)

lipangit commented 8 years ago

Good luck

hexlay commented 8 years ago

seriously? :D we have no control over full screen rotation, please make fullscreen video setRotation controllable, thanks in advanced

lipangit commented 8 years ago

I should not close the issue, I thought you have achive your goal.

I think screen is vertical when fullscreen is have grade good look and science and technology feeling, other people also said fullscreen should be landscape, we should observed the effect.

hexlay commented 8 years ago

after manual integration of lib and source editing, finally made it possible to follow rotations correctly on configChanges, but would be good if it was integrated so ppl could choose use portrait only apps or not. Thanks for that amazing player and for trying to help :) well if you wish, i can post my edit so anyone could use it