-
Notifications
You must be signed in to change notification settings - Fork 484
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
ExoPlayer UI Controller Not Hiding with DPAD_DOWN in Media3 1.3.1 #2160
Comments
At ExoPlayer 2.11.8,
So it's likely you are observing a difference in behaviour between
Are either of these logic branches hit when you're using media3? I wonder if media/libraries/ui/src/main/java/androidx/media3/ui/PlayerView.java Lines 933 to 947 in 76088cd
This would suggest it's not a problem with the implementation/functionality of the |
I am developing an Android TV application using ExoPlayer. In ExoPlayer 2.11.8, I used KEYCODE_DPAD_UP to show the player controls and KEYCODE_DPAD_DOWN to hide them. This functionality worked perfectly.
However, after migrating to Media3 1.3.1, the KEYCODE_DPAD_DOWN event does not hide the controls anymore. Instead, the UI remains visible, and the expected behavior does not occur.
Expected Behavior (as in ExoPlayer 2.11.8):
Observed Behavior in Media3 1.3.1:
Code Implementation:
This is the code I used in ExoPlayer 2.11.8, which worked as expected:
After upgrading to Media3 1.3.1, the same code no longer hides the controller when pressing KEYCODE_DPAD_DOWN.
Current Dependencies:
Questions :
Is there a new method or approach required in Media3 1.3.1 to hide the player controls with KEYCODE_DPAD_DOWN?
Has the behavior of hideController() changed in this version?
Are there any recommended workarounds to achieve the same functionality?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: