Wordpress - Generating Thumbnails for video

You can use the oEmbed functionality baked into WordPress. Typically any video host on this list will return a thumbnail to you using oembed.

Here is a list of default providers that WordPress uses for auto embedding in the content area. I've included non-video sources as well for the convenience of others.

  • http://www.youtube.com/oembed
  • http://blip.tv/oembed/
  • http://vimeo.com/api/oembed.xml
  • http://www.dailymotion.com/api/oembed/
  • http://www.flickr.com/services/oembed/
  • http://api.smugmug.com/services/oembed/
  • http://www.hulu.com/api/oembed.xml
  • http://lab.viddler.com/services/oembed/
  • http://qik.com/api/oembed.xml
  • http://revision3.com/api/oembed/
  • http://photobucket.com/oembed
  • http://photobucket.com/oembed
  • http://www.scribd.com/services/oembed
  • http://wordpress.tv/oembed/
  • http://polldaddy.com/oembed/
  • http://www.funnyordie.com/oembed

The full list of possible providers is documented at the WordPress codex under:
Embeds - Okay, So What Sites Can I Embed From?

Select your provider then use the following to get your video information.

$oembed= new WP_oEmbed;
$url = 'http://www.youtube.com/watch?v=oHg5SJYRHA0';
//As noted in the comments below, you can auto-detect the video provider with the following
$provider = $oembed->discover($url);
//$provider = 'http://www.youtube.com/oembed';
$video = $oembed->fetch($provider, $url, array('width' => 300, 'height' => 175));
$title = $video->title;
$html = $video->html;
$thumb = $video->thumbnail_url;

I realize VideoBuzzy is not on the list. It appears to be a YouTube knockoff site. You should ask them if they have oembed protocols. If they don't, you can register a non oembed handler by using wp_embed_register_handler().

Hope this helps!

You can use this plugin Wordpress Video Plugin and edit the code of this plugin and add the other sites in it.


You have to integrate FFMPEG in wordpress.