jQuery youtube playlist plugin - youtubeplaylist
Demo showing the plugin with default options.
Demo showing the plugin set up to act like a gallery of YouTube videos.
Using the plugin
The plugin acts on a simple unordered list containing links to YouTube videos, e.g.
Option - (default)
holderId - (ytvideo)
The ID of the element (usually a div) into which the YouTube video will be inserted
playerHeight - (300)
The height of the embdedded youtube video
playerWidth - (450)
The width of the embdedded youtube video
addThumbs - (false)
Use true to add video thumbnails to each list item
thumbSize - (small)
Size of added thumbnails. Default is small, use large for larger thumbnails
showInline - (false)
If this option is true, the list item containing the link will be replaced with the YouTube video. See thegallery demo for an example of this.
autoPlay - (false)
true or false, whether or not to autoplay videos
showRelated - (true)
Set to false to stop related videos being shown at the end of the embedded video
Download the source and demos from github