You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The video player stays on error state without triggering error event
Expected Behavior
I should get the error event called so I can handle it as expected. On the code sandbox below, I should receive an error on the video player with multiple urls as I do with the one with only one url.
Steps to Reproduce
Try to attach an error callback to a video with multiple wrong urls
@duranmla This particular issue was happening because, ReactPlayer uses source tags to render multiple videos. Errors on these tags does not trigger the players error event. Hence you were not seeing the output of your error handler.
Current Behavior
The video player stays on error state without triggering error event
Expected Behavior
I should get the error event called so I can handle it as expected. On the code sandbox below, I should receive an error on the video player with multiple urls as I do with the one with only one url.
Steps to Reproduce
Environment
https://codesandbox.io/s/condescending-water-m6qdjr?file=/src/App.js
The text was updated successfully, but these errors were encountered: