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

2.2.0 play property not working. #204

Closed
aposto opened this issue Nov 18, 2021 · 2 comments
Closed

2.2.0 play property not working. #204

aposto opened this issue Nov 18, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@aposto
Copy link

aposto commented Nov 18, 2021

<YoutubePlayer
height={300}
play={playing}
videoId={"iee2TATGMyI"}
onChangeState={onStateChange}
/>
play property true not auto playing. (playing is true)

@aposto
Copy link
Author

aposto commented Nov 18, 2021

if (!playerReady.current) {
// no instance of player is ready
return;
}

@LonelyCpp
Copy link
Owner

right, thanks! I've fixed this.

@LonelyCpp LonelyCpp added the bug Something isn't working label Nov 19, 2021
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