Website accessibility guidelines require you to include text alternatives with audiovisual media. Some website visitors may not be able to hear your multimedia content. Others may find it useful to refer to a written transcript instead of watching an entire video.
For video that has audio, both captions and transcripts are required. For video-only or audio-only media, transcripts are required.
OpenScholar allows embedding media from third-party services like YouTube or Vimeo. The text alternatives must be managed through the third party host. Your visitors can then enable closed captioning or view transcripts if they need them.
Here are some instructions on enabling captions and transcripts for some of the most popular media hosting providers: