-
-
Notifications
You must be signed in to change notification settings - Fork 758
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
Playing the video in background while activity is stopped #326
Comments
mmm this snippet looks good, you actually don't need to override onPause and onDesotry, but that's not the issue. Are these the only places where you're using I need more details to understand what's wrong. |
Yes, that's the only places where I'm using It happens quite randomly when I quit when the youtube logo is about to appear or have just appeared and the video is still loading. Which other details can I give you? |
Are you using the player in a Fragment or in an Activity? I never encountered this issue (but since you're saying it happens every once in a while I may just have not noticed it), you could try checking the sample app to be sure you're doing everything in the same way. |
Iunderstand and I'll create a sample app later today. |
uhm ok. Let me know if you can replicate it, I'll be happy to look at the code! |
Here is a sample app where I can reproduce it, tested on Samsung Galaxy note 3 and Android 5.0 |
I also just tested your sample app with the basic example and I can reproduce it too. |
You're right, it seems like if you leave the app just after |
Bug fixed in version 10.0.2! thank you for the help :) |
No, thank YOU for your help. |
Hello, thanks again for this wonderful library!
Maybe I'm missing something but the player continues playing in the background when I press the home button or open another activity. It happens sometimes only when the video is not loaded yet even when mYouTubePlayer.pause(); is called in the onPause method.
Here is what I do :
Thanks in advance
The text was updated successfully, but these errors were encountered: