stopped ended video from going back to beginning