ExoVideoView icon indicating copy to clipboard operation
ExoVideoView copied to clipboard

Bottom controller not replaced by bottom landscape controller when I press fullscreen button

Open taibuiSW opened this issue 7 years ago • 5 comments

On by S6 edge (android 7), when I'm in portrait mode, press full screen button and it switches to landscape mode but the bottom bottom controller is not replaced by bottom landscape controller. I have to press the fullscreen button again to change the controller view. Please have a check. Thank you.

taibuiSW avatar May 07 '18 00:05 taibuiSW

@taibuiSW I'll check it later

JarvanMo avatar Jun 28 '18 04:06 JarvanMo

Have you tried the lasted one?

JarvanMo avatar Sep 04 '18 14:09 JarvanMo

Hi, I'm sorry for late reply. I just got to work with video again and with the latest it's still broken. I've spend some time reading your code and finally figure out what's wrong. When I press the full screen button in portrait mode at first the controller will change to landscape mode but right after that the activity got recreated which mean ExoVideoView got recreated too, calling showControllerByDisplayMode() in ExoVideoPlaybackControllerView constructor. And because of that the controller got reset to portrait mode (cause private boolean portrait = true by default) Hope this will help! :D

taibuiSW avatar Oct 21 '18 02:10 taibuiSW

Thanks for report~

JarvanMo avatar Oct 22 '18 08:10 JarvanMo

Any solution for this?

shabbir-dhangot avatar Oct 07 '20 18:10 shabbir-dhangot