-
-
Notifications
You must be signed in to change notification settings - Fork 763
An error occured. Please try again later #1147
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
When i override fun onError(youTubePlayer: YouTubePlayer,error: PlayerConstants.PlayerError). |
Please provide a code sample, or try to replicate in the sample app. |
Can you double check that the video ID you're providing the second time is correct? |
@mfrizki1 you can also try to use fixed id, and check if issue occurs or not. if occurs, might data been lost between transition |
Good morning, maybe you have already solved it, but for anyone else who came here, we have face with the same situation and the problem was that the player don't initialize on time when we do the code as you (let the initialization be done automatically and only add an AbstractYouTubePlayerListener in order to know when the player is ready). To solve the problem, we have:
This solves the problem for us. |
I have a problem when play the video.
version: 12.1.0
Case :
when first time open the app, the video will start normally in fragment, but after go to another activity/fragment and come back to the fragment video player the video cannot to play. The message is An error occured. Please try again later. After i kill the app, the video start normally again.
The text was updated successfully, but these errors were encountered: