YouTube Widget
Bringing YouTube content onto your site.
New to YouTube? Learn about getting started with video storage.
Need to place an existing widget on your page? Skip to Step 3.
Instructions
Before You Begin: Video Requirements
Videos must include closed captions to be accessible. You can use YouTube's auto-generate function, but you must manually review them as they are only about 95% accurate and often incorrectly display proper nouns. You can also enlist the help of a captioning service to caption your videos for you.
Due to YouTube's terms of service, all videos on our Cascade websites must be designated "not made for kids" (general audience) in YouTube Studio. We recommend only embedding videos from an official W&M channel to help ensure this practice is followed.
Step 1: Get the YouTube Video ID
- Browse to the video on YouTube
- Right-click within the video
- Select "Stats for nerds"
- In the screen that appears, your Video ID is the short string of letters and symbols on the first line.
Step 2: Build a YouTube Widget
- Navigate to your widget storage folder. Don't have one yet? Build one now.
- Select Add Content >> Right Column Items >> YouTube Widget Folder (if you don't have this asset, contact your Cascade Web Manager).
- Enter the Folder Name (lowercase, no spaces), Display Name, then Submit.
- Edit the Widget file.
- Enter your Custom Header Text, YouTube Video ID and Teaser Text.
- Choose an Internal URL or enter an External URL for a "More..." link.
- Use + to enter additional YouTube videos, up to a maximum of 8, if applicable (this enables the rotating video widget/teasers). Use the up/down arrows or drag-and-drop to reorder the videos.
- Preview Draft >> Submit >> Check Content & Submit, then Publish the widget folder.
Step 3: Put the YouTube widget on a page
- Edit the page where you want to place the widget.
- Check the box to "Show Right Column?"
- In the Widgets section, click "Choose Page" to browse the Widget file, select it, and then click Choose.
- Preview Draft >> Submit >> Check Content & Submit, then Publish the index page.
Quickly Jump To Widgets From Cascade Page
When previewing a page in Cascade that features widgets in the right column, you will see links in the top left corner of each widget. Clicking that link will direct you to that widget's file in Cascade, allowing you to quickly make and publish changes.
Troubleshooting
What if my YouTube Widget does not show up on a published page?
Widgets need to be published separately from the page(s) that contain them. Make sure that your YouTube Widget folder is published.
What should I do if I add the widget to a page but don't see it in the preview?
In addition to adding the widget to your page, you must check the box next to 'Show right column?' to enable ANY features in the third column.
Can I put widgets from other sites on my page?
Sure! When you browse to select a Widget file, you can select one located anywhere in the folder navigation tree. (Note that you cannot borrow widgets from other schools. For example, www.wm.edu sites cannot borrow law.wm.edu widgets.)