I’ve received many emails complaining that the plugin does not recognize YouTube videos. Because of lack of time, I delayed the update until now.
I just released an update to the plugin which should solve most of the issues that I was contacted about.
Go ahead and download the new version:
http://wordpress.org/extend/plugins/youtube-thumbnailer/
- thumbnailforexcerpts plugin youtube
- how does a thumb nailer work?
- youtube video thumbnail does not show up in facebook
- youtube thumbnailer plugin settings wordpress
- youtube thumbnail plugin
- wp youtube plugin thumbnailer
- wordpress youtube thumbnail embed preg
- wordpress video embed custom field thumbnail
- wordpress plugin youtube thumbnail to facebook
- thumbnailer plugin
Related posts
- YouTube Thumbnailer
- YouTube Thumbnailer v1.1
- Mass Custom Fields Manager WordPress Plugin
- WordPress Custom Fields Plugin 1.0 Released
- Mass Custom Fields Manager Got to The 1000 Downloads Milestone


Do you know of a related posts (with thumbnails) plug-in that will use the thumbnails that your Youtube Thumbnailer creates? Currently using Thumblated Related Post, but just get blank thumb for posts with youtube embedded.
Great plugin – works a treat for my older posts.
Any way so it periodically checks for new posts and add a custom field for them if a video found?
Cheers,
Austin.
@Austin
It does that by default :)
Check the settings page.
@sean
You can change the name of the custom field the plugin uses.
I’m not sure what I should change the name of the custom field to… or how that would help the youtube thumbnails to show up in the related posts thumbnails. Could you elaborate?
related post plugin I’m CURRENTLY using is Thumblated Related Post (http://www.devilslab.com/wp-thumblated-related-post)
it doesn’t have many settings or ask for a custom field name. It uses first image in the post. I thought you might know of another plugin that would work better in conjunction with your plugin?
one more thing… I know there is some modification I’m supposed to make to theme file – functions.php to implement the new thumbnail features added in wp 2.9.1, but I have yet to figure out what exactly I’m supposed to do for that, could that be part of the problem?
@sean
Well, the plugin that you are using doesn’t support custom fields. Sorry.
I once new a good plugin for thumbnails. I know that Brian Gardner used it for some of his themes. But I just can’t come up with the name.
About the modification – I have never heard of that.
here is the modification I was talking about… not sure if it is necessary.
http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/
Nice, this is good news but not related to your situation.
OK. If you remember the plugin PLEASE let me know. I see a few out there but one I’m using is only one I found that is up to date for wp 2.9.
I asked on WP forum but no one ever answers me there.
@sean
Most plugins that are up to 2.7 or 2.8 are usually also good for 2.9
I will let you know, no problem.
Hey Oren;
Thanks for the reply. Can see how the settings work for posts created normally.
I’m using a youtube autoposter plugin that seems to add posts directly into the db so they never call the api.
The only way I can think of to get around this is to run your plugin via wp cron and get it to only check posts made in last ‘x’ hours so it executes quickly.
Could that work do you think?
Cheers,
Austin.
I think this can work well. Just without the x hours idea…
Does the plugin check every single post for the presence of a youtube video whenever it runs? With some sites using the youtube autoposter it’s in the 1000′s. if wp cron is used and is triggered by a site visitor then wouldn’t the plugin take a while to run thru all of the posts and therefore cause the page load to be quite slow?
Yes.
Give it a shot, and see how long it takes.
Will do. Btw – I had to add a ‘?’ to the preg match otherwise it was including f=videos (not sure if that’s a common youtube parameter)
Please explain…
One of the plugins I’m using posts videos with following type URLs: http://www.youtube.com/v/tGd5pLU2-fI?f=videos
I had to change the plugin to add a ‘?’
if (preg_match(‘#http://www\.youtube\.com/v/([^?&"\']*)#’,$p->post_content,$match) )
otherwise it would include ?f=videos in the thumbnail URL.
Oh thanks, I’ll update the plugin in the next release.
Hi Oren,
Yhanks for your wonderful plugin. I have a question: the option to automatically update de thumbnail when saving or updating a post doesn’t seem to be working on my wordpress 2.9 site. Any suggestion?
I made a site for my son so he can collect youtube clips. Of course my son isn’t a admin user so i can’t let him run the plugin manually.
Thanks in advance,
Perry
Hey Perry,
Thank you for noticing.
I have released a new version that should fix this bug:
http://orenyomtov.com/youtube-thumbnailer-v1-1.html
@Austin I included your fix in the new version.
I have a problem.
How to add the word into the news?
Thanks
Youtube is my favortie site to visit aside from facebook. most of the time i watched movie trailers and music videos on it.
hey i did try install it and run it and it sitll not giving any thumbnail …. i wish you show screenshot … i tho it will be like maybe 20 youtube in front page .. and then click it then it go to single page with comment
It should store the URL to the thumbnail in a custom field names “thumbnail”.
It’s up to your theme to display it.
Great plugin as i start mostly with a youtube video and it nearly works for me .
The only stuff i miss is that its only find videos that are ebeded with the Embed code from youtube . Most videos on my blog added via WP- Youtube Plugin
Is there a way that your Plugin detects these too and place a Thumb.
Keep on these great work
Thanks
I will consider doing so in the future.
Please post a link to the plugin for the record.
Thank you for your Hyper fast feedback .
Link to the WP-Plugin
http://www.daburna.de/dokuwiki/doku.php/instruction
It supports more than youtube but the Syntax is the same i found your Plugin description [youtube ID]
Not shure if there would be a simple way to extend to Veho ,Facebook Video and other Video services too
Freindly Greets
Hi Oren. I’m trying to get this plugin to work but, can’t seem to … is it broken on WP3.0.1 ?
I’m using this plugin http://www.wpvideotube.com/ and would like a thumbnail created when the video is created and inserted in the blog post. I’m then using the Thumbnail for Excerpts plugin to pick it up on the front page of the Thesis template. I’ve tried your plugin and ran the “Run YouTube Thumbnailer” in Tools, and although it looks like and identifies all posts with YouTubes in my database – it’s not adding any thumbnail to the post’s custom fields at all.
Any suggestions?
Thanks in advance / HART
Hey,
I don’t know what’s causing this.
I can help you if you give me the credentials to that WordPress installation.
You can contact me through the contact page on this website.
Regards,
Oren.
Thanks Oren … I figured out what the problem was … http://callHART.com/crazy
your plugin was actually working as it should (creating “thumbnail”) in the custom fields. But, using thesis and the thumbnail for excerpts plugin .. on the front page it doesn’t use the thumbnails from the custom fields, but rather the “post and thumbnail” designated by thesis (i believe)
I changed the settings to name the thumbnail as “thesis_thumb” and “RUN” it again and everything started to appear as it should.
Thanks again for this plugin :D
HART
I updated the plugin to recognize the regular Youtube URL instead of the embed code, however the thumbnail field seems to also grab the line break and first word of the next paragraph after the YouTube URL. is there any way to stop it from grabbing those two things and adding them to the URL.
YouTube Url:
http://www.youtube.com/watch?v=r4iPsgforRoIt’s putting in the field:
http://i2.ytimg.com/vi/r4iPsgforRoKaren/default.jpg
“Karen” is the first word of the next paragraph.
Any help is appreciated.
Thanks!
OK figured out the solution to my problem. If you plan to just add the YouTube URL, and then some text below it in the post area, change this line of code in the plugin:
if (preg_match('#http://www\.youtube\.com/v/([^&"\'? ]*)#',$p->post_content,$match) ) {$img="http://i2.ytimg.com/vi/{$match[1]}/default.jpg";
to this:
if (preg_match('#http://www\.youtube\.com/watch\?v\=([^&"\'?\r ]*)#',$p->post_content,$match) ) {$img="http://i2.ytimg.com/vi/{$match[1]}/default.jpg";
This line exists twice, so make sure to swap both.
Hi again Oren.
With reference to my above comment … where it was normally “thumbnail” setting had to be changed to “thesis_thumb” for a site using Thesis … is there a work around to make this work with a Genesis framework theme?
I’m trying to get it to work but, there is no custom field in its template/framework as it’s actually using the “Featured Image” function of the new wordpress > 2.9 instead of calling custom fields to display thumbnails now.
Any help would be helpful. I’m referring to http://battlingforhealth.com/community/category/community-blog/ which is a category view of a genesis framework template for Buddypress … the first image shows a thumbnail of images uploaded in a post, but not subsequent images for ones generated by the plugin.
Thanks // HART
hi i’ve downloaded this program but i dont know really know anything about php. i am computer saavy and i can figure things out when need be. at this time im lost. once the program is installed how do i get to actually work. in what file do i place what code and exactly where?
This isnt working for me. I am using a plugin which requires the URL to be placed in a post in a certain format.
[youtube]http://www.youtube.com/watch?v=xfOkGadN15c[/youtube]I cant figure out REGEX to save my life. Do you know the regex I should be suing to capture that.
Thank You,
Jesse
OK, I figured out my problem I had to change teh sql query to look for a slightly different youtube url.
I changed this:
%http://www.youtube.com/v/%
to this:
%http://www.youtube.com%
I also had to modify the regex suggested by Marcus from:
#http://www\.youtube\.com/watch\?v\=([^&"\'?\r ]*)#
to:
#http://www\.youtube\.com/watch\?v\=([^&"\'?\r ]*)\[\/youtube]#
Thanks for the great plugin, Jesse
Plug in worked great, thanks!
This was exactly what I was looking for. I just added a ton of videos to my youtube page. Thanks! Steven J. Malman