LonelyCpp / react-native-youtube-iframe

A wrapper of the Youtube-iframe API built for react native.
https://lonelycpp.github.io/react-native-youtube-iframe/
MIT License
603 stars 153 forks source link

2.2.0 play property not working. #204

Closed aposto closed 2 years ago

aposto commented 2 years ago

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

aposto commented 2 years ago

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

LonelyCpp commented 2 years ago

right, thanks! I've fixed this.