tjallingt/react-youtube

onPlay, OnPause events do not get triggered occasionally

Sneha-Narendran opened this issue · 1 comments

Observation: After integrating the react-youtube player, we observed that the onPlay and on Pause events seldom do not get triggered.
We had put a simple console log statement to test this and we did not receive them.
However, this is a flaky behaviour. i.e we observe it few times only.

We checked this in multiple browsers like brave, chrome and safari(latest versions). We observed the same behaviour in all these browsers. We are unable to give the accurate number of occurrences so far but it persists.

Is there any requirement for these to get triggered or is this flakiness observed before?
Thank you in advance.

YouTube's default UI elements can be hidden, related videos can be hidden, and ads can be removed from YouTube videos in react native.

It may help you to meet your requirements if you use the below-mentioned package:
https://www.npmjs.com/package/react_native_youtube_streamer

Besides being open source, the package is scalable as well. It is also possible for you to contribute to that project.