souporserious / react-media-player

React audio and video player.

Home Page:https://souporserious.github.io/react-media-player/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to continue work with Player after connection fail

allomov opened this issue · 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.