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
598 stars 153 forks source link

onChangeState and onReady listeners not being invoked #246

Open jamesgit123 opened 2 years ago

jamesgit123 commented 2 years ago

Describe the bug Event listeners such as onChangeState and onReady are not being invoked for me. The video plays just fine. I am not seeing the alert appear though.

To Reproduce Run the below code and render the component.

Expected behavior The listeners to be invoked.

Screenshots

image

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.