=== YouTubeNails === Contributors: alvaron Donate link: http://www.wpworks.wordpress.com/ Tags: youtube,thumbnails,video Requires at least: 3.0.3 Tested up to: 3.0.3 Stable tag: 1.0.0 == Description == Create a dynamic gallery of thumbnails of each post with youtube videos displayed on the content linked to the post permalink. It checks all you video posts, but you can filter them by category. Based on Media Library Gallery 1.0.2 (http://www.cybwarrior.com/media-library-gallery/) by Raphael Verchere(http://www.cybwarrior.com) and Video Thumbnails 1.0.7(http://sutherlandboswell.com/2010/11/wordpress-video-thumbnails/) by Sutherland Boswell(http://sutherlandboswell.com) Special thanks to Felipe Caroé http://www.felipecaroe.com/ for suggesting the name! The cool thing about this plugin, is that you can easily create various YouTube thumbnail galleries, with just a line e.g. you want to show 15 thumbnails from 15 post videos, in 3 columns per row of any cattegory e.g. you want to build a gallery for all the videos of some category, just choose the number of the posts(10), number of columns you want on each row(3) and a category name(musicvideos) e.g. e.g. you want just the big thumbnail of the last video added e.g. All too easy..., take a look on the plugin parameters above, on 'Isntallation' == Installation == See it working on: http://www.felipecaroe.com/galeriavideos/ 1. Upload `youtubenails` folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Just place `` in your templates where you want the gallery to show You can also pass five other parameters(none of them are required) when calling the plugin e.g. '' where 6 is the number of posts - thumbs 3 is the number of columns you want to display on each line 'videoposts' is the category, if you want to show posts from a specific category for all categories, just put '' 1 is the code for the YouTube thumbnail API where 0 = big 480 x 360 1 = small 120 x 90 different from 2 & 3 2 = small 120 x 90 different from 1 & 3 3 = small 120 x 90 different from 2 & 1 if you choose no value for the third parameter, the plugin will randomize each time the page is load check YouTube API for futher info http://code.google.com/intl/en-UK/apis/youtube/2.0/developers_guide_protocol.html 5,4(the two last parameters) is for the result table cellspacing and cellpadding About adding videos to your posts: Don't forget to include the video links using the midia icon, putting your link and a title If you decide to use iframe and embed object, please use the html code insert on the post == Frequently Asked Questions == It`s very easy to use as you see, let me know about doubts and issues alvaron8@gmail.com; The table id for the result table wp_ytbnstb; into the plugin parameters youtubenails_show($nop=8,$ln=3,$catg='',$tbsz=2,$cpad=3,$cpin=3) // $nop [int][default=8] - the number of posts you want to show // $ln [int][default=3] - number of columns on each row // $catg [string][default=''] - a specific category // $tbsz [int][default=2] - the thumbnail type based on YouTube API http://code.google.com/intl/en-UK/apis/youtube/2.0/developers_guide_protocol.html // $cpad [int][default=3] - the result table cellpadding // $cpin [int][default=3] - the result table cellspacing == Screenshots == Please let me know about the way you use the plugin, send some screenshots from it to alvaron8@gmail.com 1. With one line you call the plugin on your code. 2. See it working on http://www.felipecaroe.com/galeriavideos/ == Changelog == First release == Upgrade Notice == First release == Arbitrary section == This Plugin supports all the kind of YouTube inserts bellow Don't forget to include the video links using the midia icon, putting your link and a title If you decide to use iframe and embed object, please use the html code insert on the post This readme file were validated at http://wordpress.org/extend/plugins/about/validator/