Embedding Videos

We do not host videos on the UW server. Instead they are hosted on the University's YouTube Channel or other sources. There are two ways to embed videos to your site depending on the page template that you use and how you want to video to appear on the page. 

Here you will find basic instructions for how to add a YouTube or Vimeo video onto your page. For more information about what is possible on your page template, explore the snippets and components pages or review the page template examples.

snippet options for videos

There are two preloaded snippets that can be used for a video on your page. Pages using the Two Column Text with Image/Video snippet have the option to have either an image or a video embedded into the framing of the snippet design. If you want to have a video on your page that is not in the Two Column Text with Image/Video snippet, then you also have the option to add a video to a One Column Text snippet. 

Video Embed in the Two Column Text with Image/Video snippet

This tutorial video will show you how to use the video embed section of the Two Column Text with Image/Video snippet found on many of the page templates.

This is not as simple as using the standard video share link information for a video ID and the link URL must use the "embed" code. Adding a video this way is not done by using the "Insert/edit media" button in the WYSIWYG toolbar, but uses the Insert/edit link instead.

 

Using the YouTube component in the one column text snippet

Many page templates already include preloaded regions (like the Two Column Text with Image/Video) where you can override a photo with an embedded YouTube or Vimeo video. However, you might want to have a video on your page that is not using that snippet. Inserting media via the Insert/Edit Media option from the WYSIWYG toolbar allows you to easily embed a YouTube video. It’s commonly used in simpler layouts like the One Column Text snippet where a video embed might not be built in by default. It fits cleanly into the page and is fully responsive. 

Webpage with a play button overlay

First, you'll need to be editing a One Column Text snippet on your page template. 

Select the Insert/Edit Media icon (square with caret pointing to the right inside) from the WYSIWYG toolbar.

insert/edit option on the WYSIWYG toolbar

For YouTube videos, navigate to the youtube video and click Share then Embed to populate the embed code. Copy the entire code. 
youtube share embed option

Navigate to the Embed tab (on the left) and paste the entire embed code in the text section. 
insert/edit media embed section with pasted embed code

Stop Here and Verify

Verify that the embed code contains a title. This is important for accessibility and failure to have a title will result in an accessibility violation. If a title="" attribute is not located in the iframe (embed) code, please follow the tutorial located on the accessibility website's accordion section for how to add a title to an iframe. If a title is present, proceed to step 4. 

Click Save. Your video will appear when the page is previewed or published. Finish making any other edits to the page and publish to both DEV and Production.