Automatic Featured Images from Videos

Description

When placing a YouTube or Vimeo video within the first 4000 characters of a post, the thumbnail of that video will automatically be uploaded and set as the featured image for the post as long as the post does not already have a set featured image.

In addition, after setting the video thumbnail as the featured image, an “is_video” post meta field is updated to allow for the use of conditional statements within your loop.

Pluginize was launched in 2016 by WebDevStudios to promote, support, and house all of their WordPress products. Pluginize is not only creating new products for WordPress all the time, but also provides ongoing support and development for WordPress community favorites like CPTUI, CMB2, and more.

Installation

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’.
  2. Search for ‘Automatic Featured Images from Videos’.
  3. Activate Automatic Featured Images from Videos from your Plugins page.

From WordPress.org

  1. Download Automatic Featured Images from Videos.
  2. Upload the ‘Automatic Featured Images from Videos’ directory to your ‘/wp-content/plugins/’ directory.
  3. Activate Automatic Featured Images from Videos from your Plugins page.

Reviews

Korse 6, 2024 1 reply
Supprisingly it works with Gravity Form Addon Post Creation plugin too! Automatically set feature image from any link found in the post. Thank you dear developer!
Colte 25, 2022
An essential part of our Wordpress website. Saved hours of work. Thanks very much.
Read all 36 reviews

Contributors & Developers

“Automatic Featured Images from Videos” is open source software. The following people have contributed to this plugin.

Contributors

“Automatic Featured Images from Videos” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Automatic Featured Images from Videos” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2.4

  • Fixed: Better file naming of incoming images, based on youtube/video title value.
  • Confirmed compatibility with WordPress 6.6.x

1.2.3

  • Confirmed compatibility with WordPress 6.5

1.2.2

  • Confirmed compatibility with WordPress 6.4
  • Fixed: PHP notices around video url variables
  • Updated: removed www. from Vimeo endpoints that showed permanent redirect messages.

1.2.1

  • Confirmed compatibility with WordPress 6.3

1.2.0

  • Added: Support for potentially larger Vimeo images from API response.
  • Fixed: Various PHP notices and errors.
  • Updated: Minimum PHP version.
  • Updated: bumped up default string length to 4000 characters, for URL searching in content.
  • Updated: exclude user profile URLs from Youtube regex.
  • Updated: Switched all endpoints to make sure we’re using HTTPS.
  • Updated: Vimeo endpoint switched to JSON responses.
  • Updated: Plugin description.

1.1.2

  • Fixed: Issues with Youtube HEAD request returning 40x errors.

1.1.1

  • Fixed: Extra forward slash in YouTube URLs that was causing 404 errors when trying to add to media library.

1.1.0

  • Added: Metabox that displays the found video URL and embed URL. Values saved as post meta.
  • Added: Pass post ID for the wds_check_if_content_contains_video filter.
  • Added: Filters that allow customization by developers to alter default values.
  • Added: BETA: Bulk processing of posts for those missing thumbnails from videos. Please report issues found.
  • Added: BETA: WP-CLI support.
  • Fixed: Modified the way the vimeo embed URL is returned.
  • Fixed: Prevent multiple instances of same found image from being uploaded to media library.