pause and play video & check internet connection