change the video pause method