thumb_jquery

jQuery YouTube Plugin

I recently needed a quick way to pull back a listing of YouTube videos and show them in the sidebar of a site, being the incredible awesome person that I am I whipped it up as a quick plugin that I’m now releasing. This jQuery YouTube plugin is perfect for displaying YouTube video on a [...]

I recently needed a quick way to pull back a listing of YouTube videos and show them in the sidebar of a site, being the incredible awesome person that I am I whipped it up as a quick plugin that I’m now releasing. This jQuery YouTube plugin is perfect for displaying YouTube video on a WordPress blog sidebar or just a general website site bar. It does not require any type of server side language (PHP, ColdFusion , Rails, etc…) so you can use it on any site, even basic HTML sites.

Download:
Download as a zip or tar file from GitHub: jQuery YouTube Plugin zip/tar
Access the project repository on GitHub: jQuery YouTube GitHub Repository

How to Use:
The example that’s included in the download/GitHub repository should be enough to get you started but I’ll show an example that has all of configurable options in place (I’ve marked the required attributes in the code sample below). You can open the jquery.youTube.js file for this same listing




More Examples
Get 10 videos about Call of Duty with a header called ‘Call of Duty Videos’


Get 5 videos about dogs with a no header and no description


Notes
showRatings: will output an empty div with the css class shown above (inspect the outputted results with Firebug to see…) this will allow you to style up your ratings however you like (stars, thumbs, etc…)

Download:
Download as a zip or tar file from GitHub: jQuery YouTube Plugin zip/tar
Access the project repository on GitHub: jQuery YouTube GitHub Repository