Since most lecturers will probably upload their videos as unlisted to YouTube, here are the steps for adding captions and creating a transcript via that route.
N.B. It can take a while for YouTube's automatic captions to appear so don't try to do this straight after the initial upload.