react-media-player icon indicating copy to clipboard operation
react-media-player copied to clipboard

How to continue work with Player after connection fail

Open allomov opened this issue 2 years ago • 0 comments

Hello, everyone! Thank you for creating and supporting such a valuable library.

I will be happy if you help me solve one issue I have had for a long time. Whenever the connection to the URL provided into src is lost, I have onError callback called, and this allows to show an error popup for a user.

But I didn't find a way to start playing the record again after the connection was back. Reloading the page with F5 may help, but this is not always comfortable for a user.

Could you please suggest what I can try to solve the issue? Thank you.

allomov avatar May 24 '22 21:05 allomov