-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
autoplay after onEnd #36
Comments
Hey @ioRekz, I'm assuming you are having this problem with the YouTube player. Have you tried using the <ReactPlayer
url='https://www.youtube.com/watch?v=nySZH0tcL9I'
youtubeConfig={{ preload: true }}
/> See the original PR for more details. |
same result so far. I was thinking that the onEnd callback could not be called when the tab is not focus but it is. |
@ioRekz could you post some code or an example repo where this happens? Or just some more detailed steps to reproduce the problem. |
Closing this due to age. Feel free to re-open with steps to reproduce the issue. |
I'm trying to play the next song when one is finished.
I've added this to the onEnded prop but it only triggers when tab gain focus again.
The component is not created again, the iframe is not recreated.
This should work since the latest updates right ?
I'm only trying on localhost (just stating in case chrome is allowing iframe on specific domain)
The text was updated successfully, but these errors were encountered: