-
Notifications
You must be signed in to change notification settings - Fork 64
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
Problems with onEnd, onPause, etc in strict mode #200
Comments
same issue. Any updates? |
Ye, same issue here. If you found a workaround, please drop it here. EDIT: After some research found this: cookpete/react-player#1453 (comment) Removing React.StrictMode solved the issue for me |
🤯 i am not sure when i can have a deeper look at this. The fact that StrictMode changes the behaviour suggests that it's to do with React double-mounting in development mode? it would be important to be compatible with this. |
+1 |
Any updates on this issue? I’m still experiencing it. |
I can also confirm this. Turning off strict mode helps. |
When I use any "on" event is not working the event, when I use the onEnd event, when the video finished no event is fire, same with other events such as pause. Everything else works fine, but those events are not working.
The text was updated successfully, but these errors were encountered: