Videos
Use the Tile: Video content type to add a single, double, or triple width tile containing an image and an embedded video.
There is not a way to directly host a video file on the website like we do with images or PDF files in the T4 Media Library. Prior to adding a video tile, the video you'd like to share needs to first be added to Mayo's YouTube channel. On the intranet, there are helpful tips for programs on how to get a video added to Mayo's YouTube Channel.
Tile: Video
Use the Tile: Video content type to add a single, double, or triple width tile containing an image and an embedded video.
Examples

Sub-Heading text
Heading text

Sub-Heading text (0:30)
Heading text
- Add a Tile: Video content type
- Modifying the YouTube embed code
- Modifying the Wistia embed code
Add a Tile: Video content type
Prior to adding a video tile, you will need to select an overlay image for the video tile. Find a semi-related photo in MAM and upload the image to the T4 Media Library folder for the program.
The Tile: Video content type uses CDN PXL so you do not need to resize the image prior to uploading it to the T4 Media Library.
From the T4 Site Structure, navigate to the page you are updating.
- Open the Content tab of the page you are working on.
- Click Add content.
- Select the Tile: Video content type.
- Click Full Bleed and select your desired width (double, square, or triple).
- Connect the 'Smallest Image' and the "Bigger Image' to the same image you uploaded in the T4 Media Library:
- Click Select media.
- Navigate to the program folder in the T4 Media Library.
- Select the image you'd like to use.
- In the "Sub-Heading" content box, type the length of the video (ie, 0:30).
- In the "Heading" content box, type the title of the video in the following format "Video: Title of Video"
- Add the modified YouTube embed code in the Video Embed Link content box.
- Click Save Changes.
Modifying the YouTube embed code
Modifying the YouTube embed code
For our purposes, the embed code we grab off of YouTube pages is insufficient for accessibility, analytics, and responsive sizing. The following steps show how to alter the code appropriately.
- Click Share, and select Embed
- Copy Embed Code, should look something like this:
<iframe width="560" height="315" src="https://www.youtube.com/embed/yakvUhwR8OY" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
- Add an id specific to this video inside the iframe tag: '
id="short_video_title"
' - Add a title specific to this video inside the iframe tag: '
title="Video: Video Title or Description"
' - Add tracking code '
?enablejsapi=1&origin=https://college.mayo.edu&rel=0&cc_load_policy=1
' to the end of the URL in thesrc="https://www.youtube.com/embed/yakvUhwR8OY"
attribute. - For Video tiles only: Change the 'src' attribute to 'data-src' Then add an empty 'src=""' attribute.
- Your final version should be something like this:
<iframe width="560" height="315" id="short_video_title" title="Video about this particular topic explaining these particular things" src="" data-src="https://www.youtube.com/embed/yakvUhwR8OY?enablejsapi=1&origin=https://college.mayo.edu&rel=0&cc_load_policy=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
- Paste embed code into the appropriate content element for the Tile: Video content type.
Modifying the Wistia embed code
Modifying the Wistia embed code
Use the following embed code as a template to properly display Wistia videos on the website. The following steps show how to alter the code appropriately.
Steps to embed a Wistia video:
- Navigate to the page where the video will be added.
- Click the Add Content button.
- Select Tile: Video.
- Inside the content type, fill out the following fields:
- Type of tile: Full bleed
- Width of tile: Triple width
- Smallest Image
- Bigger Image
- Sub-Heading: Video length
- Heading: Title of video
- Copy and paste the following code into the Video Embed field, replacing the bolded text with the specific video information then press Save Changes:
<iframe src="https://fast.wistia.net/embed/iframe/e6tko2hrqh" title="Mayo Clinic Dysphagia Occupational Therapy Fellowship: Program Overview Video" allow="autoplay; fullscreen" allowtransparency="true" frameborder="0" scrolling="no" class="wistia_embed" name="wistia_embed" width="600" height="338"></iframe> <script src="https://fast.wistia.net/assets/external/E-v1.js" async></script>
Wistia embed code instructions:
- Navigate to the media you want to embed in Wistia.
- Click the Embed button at the top of the page.
- Select the Fixed Size option.
- Click the Show Embed Code button.
- Copy the URL and title, then insert them into the embed code in the Video Embed field in T4.