About Usage

This widget will allow you to include a a YouTube playlist on your campaign page or interior page inside a simple rotator. The only requirement is a playlist ID, which you can get from the playlist URL.

example of where to find the playlist ID

Demo

Setup

The tool below will help you generate a velocity snippet to add the widget to your campaign page or interior page. The snippet can be used in one of the two custom content sections in the active campaign content or on full-width interior pages. If adding to active campign content, be sure that the custom content section is set to span full-width (see below). If adding to an interior page, be sure that the page is using the fw Page No Asides template.

how to set the custom content area to full width

Aside from the playlist ID, you can specify the number of videos to pull as well as custom header text. You can also choose between displaying 2 videos or 3 videos per slide. These field are not mandatory though as the widget already has sensible defaults.

Snippet Generator

Styles

The widget styles are in the https://web-q-hospital.secure.ehc.com/global/hut/widgets/css/webq-widgets.css and https://web-q-hospital.secure.ehc.com/global/hut/widgets/css/webq-widgets-eb.css stylesheet. Make sure this is included in the /util/custom/start.vtl.