Skip to content
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

Youtube Videos play without sound #422

Closed
ethanshar opened this issue Jun 12, 2018 · 1 comment
Closed

Youtube Videos play without sound #422

ethanshar opened this issue Jun 12, 2018 · 1 comment

Comments

@ethanshar
Copy link

Recently I noticed that videos will start play without any sound.
Changing the volume will not have any effect.
Refreshing the whole page load the video again and fix it.

I see this warning in the console
ReactPlayer: the attempt to load http://www.youtube.com/watch?v=C9dFKRZ8EbU is being deferred until the player has loaded
I'm guessing it's related to TY new autoplay policy.
But since it happens randomly it's difficult to debug it and I can figure out exactly what's the cause of it.

Any ideas?

@cookpete
Copy link
Owner

Seems like a duplicate of #413. This warning happens if the url you are passing in changes between the first render of ReactPlayer and the onReady event.

I don't know why this would affect the volume though? That seems like a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants