I have received a request from someone that wants even more from my WordPress Custom Fields Plugin. He has a category called “videos” which has posts with YouTube videos embedded with some plugin. He wants to put the videos thumbnail as the post’s thumbnail.
First, how is the video embedded in the post? It uses the following syntax:
Now you can embed it like you would normally do.
Second, how do we get the thumbnail itself after we extracted the video key? We build the image’s URL with the following syntax:
http://i2.ytimg.com/vi/$video_key/default.jpg
Now, how do we put all of this together into a plugin that inserts the thumbnails?
You don’t have to because I have already done it for you.
- Visit the plugin page of YouTube Thumbnailer
- Download the plugin here
- Unzip it’s contents
- Upload the folder you unzipped to
/wp-content/plugins/
using your favorite FTP client. - Go to your admin panel and activate the plugin called “Youtube Thumbnailer”
This plugin runs through the posts in your blog and if it finds a YouTube video embedded in a post it sets the thumbnail to be the video’s thumbnail.
That’s it, have fun playing with the configuration.
If you encounter any issues please comment/contact me.
Thanks Oren. thats wonderful. it was me who requested you to come up with this plugin.
thanks once again. I guess this plugin will help many people who have got problem with youtube thumbnails.
rgds,
Praz.
Hi, this plugin is just perfect for me, but i have one problem with it. My code for youtube video is:
[youtube] ID [/youtube] (without spaces)
for example:
[youtube]j4QJtW4pgOg[/youtube]
Can u please help me modify your plugin for use with this?
Thank You
John
Thanks for the thumbnailer. However, do you have an example for generating a thumbnail from a standard YouTube embed code?
thansk alot
Thanks for the thumbnailer..
Thanks. Good thumbnailer.
Thanks for an awesome plugin. Just like Kyle above, it would be great if you could show an example of the code using a standard YouTube URL.
Thanks :)
Having the same problem as Kyle and Paul. I can’t seem to get the [youtube $video_key] part to work on my blog. I replace the “video_key{ part with the video’s ID, but that doesn’t seem to work.
can it work with a set up like:
[youtube width="400" height="300"]eBGIQ7ZuuiU[/youtube]
Praz, it seems like you got it how work on your site. How did you do it?
Sorry for the delay.
The new release should fix your problems:
https://orenyomtov.com/youtube-thumbnailer-plugin-should-now-actually-work.html
Let me know if it doesn’t.
Thanks, this is a great plugin. I do a lot of exercise videos and I wanted a good way to make these into a thumbnail. Do you know if there is any compatability problems with Thesis.
Wayne
thank you, its great plugin :)