-
-
Notifications
You must be signed in to change notification settings - Fork 763
Player controls are not visible anymore, can't seek, see time, etc. #1213
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
Comments
Controls still show up in the sample app. Is that not the case for you? |
ok, I tried sample and it seems to be working fine, then I copied my player class activity to your project and it also works fine, controls are there, I'm trying figure out what's wrong, why the same code doesn't work in my own project, basically controls are visible but for a very short time and they never become visible again... UPDATE: actually, I reproduced the issue in your sample with my code, I will send the modified sample as example soon |
Here's the example video of the issue and tiny sample app to reproduce it. Rarely controls can stay visible when starting the app, but in most cases, they aren't, and when tapping to pause the video, they won't appear. ScreenVideoRecording.mp4FullScreenSampleYouTubeApp.zip So, I use Main code from this sample: Activity:
Layout:
Manifest:
App build.gradle:
|
I got the same problem. Some devices show all the controls, while others only display the video. |
I found out that with every other reinstallation of the APK, the UI and buttons reappear. Maybe it has something to do with YouTube's UI changes? |
The issue occurs when switching to fullscreen programmatically. However, if we disable that and instead display a fullscreen button for users to click, it works fine — but we want to control fullscreen programmatically. |
I tried to clear data/cache of the app and controls returned |
The sample app has an example for full screen, does it happen there? |
I can't reproduce in the sample app. What are the steps there? I toggle full screen programmatically by clicking the "toggle full screen" button outside the player, and it works well. |
just try to install it a couple of times from android studio without deleting previous version |
com.pierfrancescosoffritti.androidyoutubeplayer:core:12.1.1
(latest version)So recently player controls stopped appearing. I believe YouTube has changed something.
I didn't make any updates to this app, so it worked normally not a long time ago
I can notice they are visible at first player opening but then they disappear fast
The text was updated successfully, but these errors were encountered: