refactor videoService