Fix bug of video player