add onpause to videoplayer