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.
theTimeout = setTimeout(function()
window.location = window.location.href;
But i want the video to start from where it stopped playing before..
can anyone help me regarding this issue