Refactors extract method for video upload