Stanford Sites supports the ability to easily add videos from YouTube and Vimeo.
Adding a video on a page
Text Area, Media with Caption, or Card paragraph types all support adding video via the Add Media button. To add a video, all you need is the URL to the video, which you can get by following the instructions below.
Adding a video to your media library
You can also add video to your site's media library for use later.
- After selecting “Video”, you will be redirected to the “Add Video” page:
- Enter the name of your video in the corresponding text field.
- Enter the Video URL in the corresponding text field. You can copy the video URL from the address bar:
- Click Save.
- Stanford University's accessibility policies require you to provide captioning on all videos.
- Stanford Sites does not allow the uploading of video files (.mov, .mp4, etc) into the media library. Streaming services (YouTube or Vimeo) are used to provide the best video experience for your site visitors. They can also provide valuable analytics on video views.
- You may use multiple videos on page, but keep in mind that your page load time may increase. We do not recommend using more than six (6) videos per page.
- Stanford Sites does not support autoplay of videos for accessibility reasons.
Do not use the embed URL from YouTube or Vimeo (e.g. https://www.youtube.com/embed/UYyEmEDACgU) for the Video URL. The video uploader will not support those URLs. When you attempt to save you will get an error message: "The given URL does not match any known oEmbed providers."
Accessibility tips for videos
Remember, most videos require captioning. Review these tips from the Office of Digital Accessibility on using captions and transcripts with video prior to posting media to your website.
Use the W3C transcript checklist to see if your content requires transcripts and/or captions.
While the terms "captions" and "subtitles" are often used interchangeably, subtitles do not provide the same information and are designed for different purposes. Subtitles provide a text version of the dialogue only. Subtitles assume an audience can hear the audio but also need the dialogue provided as text.
For video content with audio, ensure that synchronized captioning is available. While YouTube can auto-generate captions using voice recognition, these are typically not of sufficient quality to be considered equivalent.
Learn more about Captioning Text.
A transcript is the same word-for-word content as captions but presented separately from the video. It provides a text alternative of the audio presentation and is not synchronized with the audio timeline. A transcript should contain relevant speaker information to distinguish who is saying what information.
Transcripts are not required for videos. However, it's a good idea to include them as some people may not be able to watch the video (for example, if they have bandwidth issues) or some people may want to convert the text into another language/format.
The screenshot below is an example of one way to include an embedded video and transcript on a page.