adjust time when play a video