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

Autoplay not working #2

Open
MrAmericanMike opened this issue Nov 20, 2023 · 0 comments
Open

Autoplay not working #2

MrAmericanMike opened this issue Nov 20, 2023 · 0 comments

Comments

@MrAmericanMike
Copy link

I understand that been lazy loading autoplay by default may not work as the embed is waiting for the user to click the thumbnail for it to actually load the video embed, however and even having autoplay set to 1, you have to click a second time for the video to start playing.

It's an annoying behavior, is it possible to get around this?

<YouTube embedParams={{ autoplay: 1 }} thumbnailRes="maxres" title="Nature" videoId="0Nu8R2CwvrA" />
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

1 participant