First, thank you for the bug reports. Without them, new & enhanced versions simply won’t come out.

The plugin now has better video detection capabilities, and a serious bug regarding the auto thumbnailing feature is fixed.

You can download the new version at:
http://wordpress.org/extend/plugins/youtube-thumbnailer/

Any bug reports, feature requests or comments are welcomed in the comments section below.

Related posts

Comments

  1. Ken (1 comments) on 01.28.2010

    Hi I am trying to use your youtube plug in however it does not seem to work for me. It is active and is in my tools menu. how exactly do I post the vidoe so that the plugin sees it

  2. Oren Yomtov (36 comments) on 01.29.2010

    Just post or update a post as you would normally do.

  3. Kermit Woodall (4 comments) on 02.02.2010

    Will this work if you embed local videos, for example with FLV Embed, as well?

    Thanks!

    Kermit Woodall
    Managing Editor
    GadgetNutz.com

  4. Kermit Woodall (4 comments) on 02.02.2010

    Hmmm… I’m not actually seeing this work. Part of the problem may be that I don’t know what you mean by “embed your Youtube videos the way you usually would” since the built-in system didn’t work, Youtube Embed plugin didn’t work. Nothing I’ve tried for embedding the videos seems to be recognized by your plugin to make thumbnails.

    Also…does it generate WP 2.9.1 compliant thumbnails or just copy the thumbnail location to the custom field? Also — do you use the HD version of the thumbnail from Youtube?

    Kermit Woodall
    Managing Editor
    GadgetNutz.com

  5. Josh (4 comments) on 02.03.2010

    Hello,

    I too am trying to figure out where these thumbnails are? I want to have these thumbnails as a sidebar widget, i see this plugin is not a widget, so what widget should i use that will pull from these thumbnails?

    Thanks,

    Josh

  6. Oren Yomtov (36 comments) on 02.03.2010

    These thumbnails are saved in a custom field named “thumbnail” or whatever you change it to in the settings page.

    I don’t know what widget, sorry.

    The plugin detects the HTML embed code you get from YouTube.

  7. Kermit Woodall (4 comments) on 02.03.2010

    Oren – did you have an answers for my questions?

    Thanks!

    Kermit Woodall
    Managing Editor
    GadgetNutz.com

  8. Oren Yomtov (36 comments) on 02.03.2010

    It just copied the URL to the custom field.
    I am not sure about the image quality. I use the following template:
    http://i2.ytimg.com/vi/$video_key/default.jpg

    And as for the detection process – the plugin just fetches the first YouTube video link that exists in the post. Well not exactly, only if the URL is in an HTML attribute like a link (href) or an embed tag (src).

  9. Josh (4 comments) on 02.04.2010

    Hello Everybody, Kermit, and Oren,

    Thanks Oren, by the way for this plugin! It is a huge help!

    Here is a good explanation that could help people figure this plugin out. What is meant by “embed your Youtube videos the way you usually would” is going to youtube, and getting the “embed code” off to the right, and inserting that whole block into your post. Hit puplish or update, and you will now see a custom field with the URL of the thumbnail. You can use a plugin like “Advanced Most Recent Posts” Widget to grab that URL from the custom field and give you a sidebar widget that shows the thumbnails of your recent posts!

    Hope that helps everyone!

    Josh

  10. Kermit Woodall (4 comments) on 02.07.2010

    That’s the key! See, there are so many ways to embed Youtube videos that are specific to Wordpress I had no clue what was meant. The most obvious way, since I was thinking WP, was the Media Uploader and use it’s URL option but that wasn’t the right way obviously.

    This works very well now! Thanks Oren.

    Now if I can only find something that will automatically tag a locally uploaded FLV with a thumbnail I’m set.

    Kermit Woodall
    http://kermitwoodall.com

  11. Josh (4 comments) on 02.13.2010

    Orem,

    I am trying to modify your plugin to look for the format used by many youtube embedding plugins, which just has you insert the full youtube URL instead of the youtube embed code

    Youtube URL looks like: http://www.youtube.com/watch?v=WLd77Zk7QyM
    The URL inside of embed code looks like: http://www.youtube.com/v/WLd77Zk7QyM

    I see your plugin scanning for that embed URL, so how do i modify for it to do the same magic but for the “watch?v=” version instead of the “v/” version?

    Thank you very much!!!

    Josh

  12. Josh (4 comments) on 02.13.2010

    I got it!

    My youtube embedding plugin (Vipers Video Quick Tags) formats the youtube video embed like this:

    [youtube] http://www.youtube.com/watch?v=XXXXXX/youtube

    so i changed the code in two spots to this:
    if (preg_match(‘#http://www\.youtube\.com/watch\?v\=([^&"\' ]*)\[\/youtube]#

    it used to be this:
    if (preg_match(‘#http://www\.youtube\.com/v/([^&"\' ]*)#

    Hope this helps further the success of this plugin!

    Oren, could you have your plugin do its search for the youtube url in a post searching for it in different formats, and do an if/else situation to know how to format the thumbnail image?

    Thanks,

    Josh

  13. Peter (1 comments) on 03.03.2010

    Hello Oren,

    Thanks Oren, by the way for this plugin!
    I have installed it in my blog but it is not working. I am using Studio press Lifestyle 4.0 theme. Has anyone got it work with this theme?

    Thanks

  14. matt (7 comments) on 03.08.2010

    using viper quick tags plugin and your fix josh gave my fatel error, right on the line of the fix

    Parse error: syntax error, unexpected T_VARIABLE in /home/ozcorps/public_html/bmrs/wp-content/plugins/youtube-thumbnailer/youtube_thumbnails_script.php on line 55

    not really sure where to go from this

  15. Oren Yomtov (36 comments) on 03.08.2010

    @matt May I see your line 55?

  16. Matt (7 comments) on 03.08.2010

    There considerable difference from firefox where it shows NO images to IE where it shows one failed inmage and the rest are x out
    line 55 is below

    if (preg_match(‘#http://www\.youtube\.com/watch\?v\=([^&"\' ]*)\[\/youtube]#’,$p->post_content,$match) )

    thanks for your help

  17. Oren Yomtov (36 comments) on 03.08.2010

    You need to add a “{” at the end of that line (without the quotes).

  18. matt (7 comments) on 03.08.2010

    Thanks for the reply, i did i didnt copy that in the paste. is there a difference between firefox and IE view?

    also when calling it up do i still have o use extended fields options in the post or does it automatically just add it in excerpt im totally confused, if you want i can give you access to the admin side of things of the site. lemme know

    once again thanks for the help

  19. matt (7 comments) on 03.08.2010

    seems like it wont call anything with vipers plugin
    im guessing too much cross code confusion also, to know or not to know if im supposed to modify the theme code to support this i have managed to get it to work by placing in my theme

    <img src="ID, “thumbnail”, true);?>” />

    above the

    now i add in the posts custom field
    thumbnail – http://i2.ytimg.com/vi/vGhj1utme6k/default.jpg

    works fine shame though the plugin only worked by itself using the youtube embed code would have saved me alotta work manually adding but i cant go back and modify all the 100 or so post i have

    if you manage to find a fix or want to gain access on my admin side ill contibue to work but the more i test the worse it seems to get

    Thanks for your time

  20. Oren Yomtov (36 comments) on 03.08.2010

    Give me access and I’ll try to do my best.

  21. Matt (7 comments) on 03.08.2010

    whats yah email or something ? ill give yah the admin there

    i really do appreciate this btw

    will make the major difference to the site

  22. Matt (7 comments) on 03.08.2010

    Oren yOU ARE awsome, ITS looks GREAT

    Thank you so much

Leave a Reply