I wanted a really simple way to list our videos, so I created an extension for it.
From the README:
This extension provides a simple way to list a your YouTube videos in one
location. The YouTube channel or username is set in Admin Ã¢â â Config Ã¢â â General
Ã¢â â YouTube Feed. Then Ytfeed will make a listing of that channel’s videos to be
displayed on your site at /videos. This extension came about because the
developer’s frustration at finding a way to present to website visitors a
simple list of the business’s YouTube videos.
Via the admin configuration page, a nickname can be substituted for your Store
Name at the top of the /videos page. Also set via admin are the sort order and
sort field. Videos are sortable via duration, rating, or number of views,
ascending or descending.
The videos are presented much in the same manner that a catalog page listing is
done. Clicking on the videos or titles will open a new browser page to YouTube
for that video (or playlist). All of the videos’ information is dynamically
obtained from the google data feed upon each page visit. Displayed are the
title, thumbnail, URL, views, rating and video length. Ytfeed uses the same CSS
as catalog pages. The CSS is hardcoded in the template file content.phtml.
Playlists are aggregated and displayed just like another video. The playlist
videos are not individually listed, instead the playlist’s thumbnails are
displayed. For each playlist, Ytfeed does iterate the playlist’s videos to
determine total playlist duration. From the videos within, the highest rating
and number of views are used to reflect on that playlist’s statistics. Clicking
on links in a playlist’s entry take the user to the YouTube playlist page so
that all videos in the playlist will play sequentially.
VIDEOS NOT IN PLAYLISTS
After the playlists are handled in the code, videos not in playlists are then
prepared for the display on /videos. As these videos are not obtainable via
the google data feed, all videos are downloaded and then if the video wasn’t
referred to in the playlists already scanned, it is added to the list of
entries to be displayed in the feed. Clicking on a video’s links takes the
user to the YouTube page for that video.