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

player will start playing despite having autoPlay off #112

Open
Estremadoyro opened this issue Dec 9, 2024 · 0 comments
Open

player will start playing despite having autoPlay off #112

Estremadoyro opened this issue Dec 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Estremadoyro
Copy link

What happened?

Despite having the autoPlay config off the player will at times start playing for some reason. I've tried setting the flag off when instantiating the player and right before playing the video.

This is preventing me from using the library, it's not viable to have the trailer auto play for the user at times.

What are the steps to reproduce?

youTubePlayer.configuration.autoPlay = false

What is the expected behavior?

The player should never start playing automatically when the flag is off.

@Estremadoyro Estremadoyro added the bug Something isn't working label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants