![](https://secure.gravatar.com/avatar/c44758df45ddb1c9071ae342ab609449?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
reconnect automatically when client gets back the lost connection
I want the client to automatically connect to the server when the connection is back and the video should start playing where it stopped before. Is it possible..?
Till now i tried making connection again after 3 seconds and video starts from first.
jwplayer().onBuffer(function()
{
theTimeout = setTimeout(function()
{
window.location = window.location.href;
},3000);
});
But i want the video to start from where it stopped playing before..
can anyone help me regarding this issue