Linux 软件免费装
Banner图

Video Thumbnails

开发者 sutherlandboswell
更新时间 2016年8月28日 01:09
捐献地址: 去捐款
PHP版本: 3.2 及以上
WordPress版本: 4.5

标签

Featured Image YouTube Vimeo Dailymotion Video Vine Thumbnails Twitch Youku Rutube

下载

0.2.1 1.0 1.6 2.0.4 2.11 2.5.1 2.7.4 0.1.3 0.2 0.2.2 0.2.3 0.3 0.5 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.6 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1 1.1.1 1.5 1.7 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.8 1.8.1 1.8.2 2.0 2.0.1 2.0.10 2.0.2 2.0.3 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1 2.10 2.10.1 2.10.2 2.10.3 2.12 2.12.1 2.12.2 2.12.3 2.2 2.3 2.4 2.4.1 2.4.2 2.5 2.5.2 2.5.3 2.6 2.6.1 2.6.2 2.6.3 2.7 2.7.1 2.7.2 2.7.3 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8 2.9 2.9.1

详情介绍:

Video Thumbnails makes it easy to automatically display video thumbnails in your template. When you publish a post, this plugin will find the first video embedded and retrieve a thumbnail for you. Thumbnails can be saved to your media library and set as a featured image automatically. There's even support for custom post types and custom fields! Version 3.0 is on the way soon! Video Thumbnails Pro Video Thumbnails Pro adds new options like maximum image sizes, widescreen cropping, more powerful bulk scanning, a customizable upload directory, and more! Supported Sites Video Thumbnails even works with most video plugins, including: Help Translate Register on our translation site to help bring Video Thumbnails to more languages. Our Other Plugins Video Thumbnails Pro | Video Importer | Retinamatic

安装:

  1. Upload the /video-thumbnails/ directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
Some functions are available to advanced users who want to customize their theme:

屏幕截图:

  • The Video Thumbnail meta box on the Edit Post page
  • Settings page

升级注意事项:

2.1 Changes to the scanning process may affect any custom code you've developed for Video Thumbnails 2.0 Despite being a major upgrade, your settings should remain intact. Please report any problems so they can be fixed quickly! 1.0 This is the single biggest update to Video Thumbnails so far, so be sure to check out the new settings page and documentation. 0.5 This version adds the thumbnail URL to the post's meta data, meaning any outside APIs only have to be queried once per post. Vimeo's rate limit was easily exceeded, so this should fix that problem.

常见问题:

No video thumbnail for this post

  1. Ensure you have saved any changes to your post.
  2. If you are using a a plugin or theme that stores videos in a special location other than the main post content area, be sure you've entered the correct custom field on the settings page. If you don't know the name of the field your video is being saved in, please contact the developer of that theme or plugin.
  3. Copy and paste your embed code into the "Test Markup for Video" section of the Debugging page. If this doesn't find the thumbnail, you'll want to be sure to include the embed code you scanned when you request support. If it does find a thumbnail, please double check that you have the Custom Field set correctly in the settings page if you are using a a plugin or theme that stores videos in a special location.
  4. Go to the Debugging page and click "Test Image Downloading" to test your server's ability to save an image from a video source.
  5. Try posting a video from other sources to help narrow down the problem.
  6. Check the support threads to see if anyone has had the same issue.
  7. If you are still unable to resolve the problem, start a thread with a good descriptive title ("Error" or "No thumbnails" is a bad title) and be sure to include the results of your testing as well. Also be sure to include the name of your theme, any video plugins you're using, and any other details you can think of.

Why are there black bars on some YouTube thumbnails?

Video Thumbnails uses high-resolution widescreen thumbnails whenever they are available. If a video is not in HD, a fullscreen thumbnail is used. This can result in letterboxing when the video is actually widescreen. Users of the pro version can select an aspect ratio in the settings if this is a constant problem. More info.

Can I get thumbnails from a specific time?

No, Video Thumbnails only uses thumbnails provided by the source. If you're posting videos from your own account, many providers allow you to choose the thumbnail.

Can it get thumbnails for my self-hosted videos?

No, it will only fetch thumbnails for videos from the list of supported sites. Decoding local video files to create thumbnails would require server resources and packages unavailable to most users, so we only focus on supporting major video sites.

My theme isn't showing thumbnails, what's wrong?

The most likely problem is that your theme doesn't support post thumbnails. If thumbnails are supported, you should see a box titled "Featured Image" on the edit post page. If thumbnails aren't supported, your theme will have to be modified to support Featured Images or to support one of our custom functions.

How can I use Video Thumbnails if I use a custom field to store the video?

On the Video Thumbnails settings page just enter the name of the custom field and the plugin will scan it.

Can I use the functions outside of a loop?

Yes, but be sure to include the post ID as a parameter. For example: <?php $thumbnail = get_video_thumbnail(25); ?>

My video service/embedding plugin isn't included, can you add it?

If the service allows a way to retrieve thumbnails, I'll do my best to add it.

How do I use this plugin with custom post types?

The settings page includes a checklist of all your post types so you can pick and choose.

I am editing my theme and only want to display a thumbnail if one is found. How do I do this?

<?php if( ( $video_thumbnail = get_video_thumbnail() ) != null ) { echo "<img src='" . $video_thumbnail . "' />"; } ?> will only display a thumbnail when one exists, but I recommend using the Featured Image setting and the_post_thumbnail template tag.

I edited my theme and now I'm getting huge thumbnails, how can I resize them?

The best solution is to use the Featured Image setting and the_post_thumbnail template tag. As an alternative you could assign a class to the element and style it with CSS.

I edited my theme and now I'm seeing the thumbnail and the video, how do I only display the thumbnail?

Every theme is different, so this can be tricky if you aren't familiar with WordPress theme development. You need to edit your template in the appropriate place, replacing <?php the_content(); > with <?php the_excerpt(); > so that only an excerpt of the post is shown on the home page or wherever you would like to display the video thumbnail.

Why did it stop finding thumbnails for Vimeo?

The Vimeo API has a rate limit, so in rare cases you may exceed this limit. Try again after a few hours.

更新日志:

2.12.3 2.12.2 2.12.1 2.12 2.11 2.10.3 2.10.2 2.10.1 2.10 2.9.1 2.9 2.8 2.7.9 2.7.8 2.7.7 2.7.6 2.7.5 2.7.4 2.7.3 2.7.2 2.7.1 2.7 2.6.3 2.6.2 2.6.1 2.6 2.5.3 2.5.2 2.5.1 2.5 2.4.2 2.4.1 2.4 2.3 2.2 2.1 2.0.10 2.0.9 2.0.8 2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.2 2.0.1 2.0 1.8.2 1.8.1 1.8 1.7.7 1.7.6 1.7.5 1.7.4 1.7.3 1.7.2 1.7 1.6 1.5 1.1.1 1.1 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.1 1.0 0.6 0.5.5 0.5.4 0.5.3 0.5.2 0.5.1 0.5 0.3 0.2.3 0.2.2 0.2.1 0.2 0.1.3 0.1.2 0.1.1 0.1