stop play when quit the page