Changed replay to endlessely loop after a video has finished
Encode the currently playing video in the URL so that the browser will remember which video was playing if you do a refresh