add video upload function