Burned-in or separate captions
Burned-in (open) captions are drawn into the picture. They show for everyone on every platform and cannot be switched off, which suits social video, where most people start watching with the sound off. A separate caption file can be switched on and off and read by a screen reader, which suits YouTube and course platforms. Many creators do both.