Recipe 57: YouTube Video Bar
Note
Ingredients
An existing view (this recipe is easy to adapt to a new view, as well)
In this recipe, YouTube and Views do all the heavy lifting, while our work is easy. A minute's effort will place a bar of four pop-up YouTube videos at the top of a view.
Visit the Google Video Bar Wizard at http://www.google.com/uds/solutions/wizards/videobar.html.
Unselect Most Viewed Videos. Replace the YouTube Channels with the channel of your choice (multiple channels are separated by a comma).
Copy the code from the wizard into the header of an existing page view. Be sure to change the input type to Full HTML.
Save the View, and visit its URL. Enjoy the new videos.
Recipe notes
With a bit of JavaScript editing, you may add more than one video bar on the top of a view. Copy the code block, and modify as follows:
After it appears the first time, remove subsequent appearances of the Ajax Search API script and stylesheet (this section of code is marked with a comment that "If you...