You can add captions to a video by clicking the “CC” icon on the video in “My library”. The captions need to be .vtt files with a maximum size of 1MB.
You might find this tool useful for creating the captions.
It's possible to position and style video captions as though they were a freestyle text layers. You can customize options like font, background colour and padding.