Video
Stanford Sites supports the ability to easily add videos from YouTube and Vimeo. 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.
Add a video in a Text Area, Media with Caption, or Card
The form shown below is what will display if you add Video in a paragraph that supports video, including Text Area, Media with Caption, and Card.
Add a video to your media library
You can also add a 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.
Policies and best practices
- Stanford University's accessibility policies require captioning on all videos.
- Stanford Sites does not allow uploading 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 also provide valuable analytics on video views.
- You may use multiple videos on a page, but keep in mind that this will increase your page load time and may create a negative experience for those using mobile devices or on low bandwidth. We do not recommend using more than six (6) videos per page.
- Stanford Sites does not support autoplay of videos for accessibility reasons.
Frequently Asked Questions
If you add an attribute at the end of the YouTube URL, it will only serve videos from your YouTube channel. For example:
https://www.youtube.com/watch?v=zonHdFxLQcI
You can add &rel=0 to the end. The result would look like this:
https://www.youtube.com/watch?v=zonHdFxLQcI&rel=0
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."


