-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Library not working in oreo #155
Comments
Facing the same issue. |
1 similar comment
Facing the same issue. |
When the youtube app is not playing in the background and when we try to initialize the youtube api in our application, then we face this issue. However, when the youtube app is running in the background it is working as expected. It is working as expected for Android OS <= Android N |
I am also facing similar issue on One Plus 5T running oreo. I am using YouTube fragment to play the videos as suggested in their doc. Once I get ERROR_CONNECTING_TO_SERVICE error and then I press back to close the activity, I get another error (below is the full log). The error persists even after killing the app. I have another app (TVF play: https://play.google.com/store/apps/details?id=com.tvf.tvfplay&hl=en ) which also uses the YouTube player to play the videos. Once I open that app, plays any video and revisit my app then only my player starts working. This is seriously weird:
YouTubeVideoActivity.java:108: One more thing I have observed is that if I click on YouTube logo to open the same video in YouTube's app and play it for some time (10-20min) and go back to my app (using recent app list button), then I get a dead Object exception.
After getting DeadObjectException, the above issues (ERROR_CONNECTING_TO_SERVICE and leaked ServiceConnection issue) again starts and I have to open TVF app (as I mentioned in start of this comment) in order to resolve it |
Well, I couldn't find a concrete solution for this...But there is a way around. Once the init fail, you can open YouTubeStandalonePlayer inside onInitFailure(). For that:
|
Thanks deeps2HOG, i could not find a solution. |
I am also getting the same issue. |
Having same issue with YouTubePlayerView |
I confirm |
I am having same issue, did anyone solve this? |
I am having the same issue with our app. |
C'est trop compliqué pour moi à cause des d'étapes |
The youtube library fails to load in Oreo.
ERROR_CONNECTING_TO_SERVICE
The text was updated successfully, but these errors were encountered: