Video Thumbnails - Version 2.12.2

Version Description

  • Added support for new Facebook embed code
  • Documentation prep for release of version 3.0
Download this release

Release Info

Developer sutherlandboswell
Plugin Icon 128x128 Video Thumbnails
Version 2.12.2
Comparing to
See all releases

Code changes from version 2.12.1 to 2.12.2

php/providers/class-facebook-thumbnails.php CHANGED
@@ -35,6 +35,7 @@ class Facebook_Thumbnails extends Video_Thumbnails_Provider {
35
 
36
  // Regex strings
37
  public $regexes = array(
 
38
  '#http://www\.facebook\.com/v/([0-9]+)#', // Flash Embed
39
  '#https?://www\.facebook\.com/video/embed\?video_id=([0-9]+)#', // iFrame Embed
40
  '#https?://www\.facebook\.com/video\.php\?v=([0-9]+)#'
35
 
36
  // Regex strings
37
  public $regexes = array(
38
+ '#(?://|\%2F\%2F)(?:www\.)?facebook\.com(?:/|\%2F)(?:[a-zA-Z0-9]+)(?:/|\%2F)videos(?:/|\%2F)([0-9]+)#', // URL Embed
39
  '#http://www\.facebook\.com/v/([0-9]+)#', // Flash Embed
40
  '#https?://www\.facebook\.com/video/embed\?video_id=([0-9]+)#', // iFrame Embed
41
  '#https?://www\.facebook\.com/video\.php\?v=([0-9]+)#'
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: sutherlandboswell
3
  Donate link: http://wie.ly/u/donate
4
  Tags: Video, Thumbnails, YouTube, Vimeo, Vine, Twitch, Dailymotion, Youku, Rutube, Featured Image
5
  Requires at least: 3.2
6
- Tested up to: 4.1
7
- Stable tag: 2.12.1
8
 
9
  Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template.
10
 
@@ -12,6 +12,8 @@ Video Thumbnails simplifies the process of automatically displaying video thumbn
12
 
13
  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!
14
 
 
 
15
  = Video Thumbnails Pro =
16
 
17
  [Video Thumbnails Pro](https://refactored.co/plugins/video-thumbnails) adds new options like maximum image sizes, widescreen cropping, more powerful bulk scanning, a customizable upload directory, and more!
@@ -133,6 +135,10 @@ The Vimeo API has a rate limit, so in rare cases you may exceed this limit. Try
133
 
134
  == Changelog ==
135
 
 
 
 
 
136
  = 2.12.1 =
137
  * Support for TED when using foreign languages
138
 
@@ -486,4 +492,4 @@ This version adds the thumbnail URL to the post's meta data, meaning any outside
486
 
487
  == Roadmap ==
488
 
489
- With the release of 2.0, focus will be put on ensuring more widespread support and providing tools for other developers.
3
  Donate link: http://wie.ly/u/donate
4
  Tags: Video, Thumbnails, YouTube, Vimeo, Vine, Twitch, Dailymotion, Youku, Rutube, Featured Image
5
  Requires at least: 3.2
6
+ Tested up to: 4.5
7
+ Stable tag: 2.12.2
8
 
9
  Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template.
10
 
12
 
13
  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!
14
 
15
+ **Version 3.0** is on the way soon!
16
+
17
  = Video Thumbnails Pro =
18
 
19
  [Video Thumbnails Pro](https://refactored.co/plugins/video-thumbnails) adds new options like maximum image sizes, widescreen cropping, more powerful bulk scanning, a customizable upload directory, and more!
135
 
136
  == Changelog ==
137
 
138
+ = 2.12.2 =
139
+ * Added support for new Facebook embed code
140
+ * Documentation prep for release of version 3.0
141
+
142
  = 2.12.1 =
143
  * Support for TED when using foreign languages
144
 
492
 
493
  == Roadmap ==
494
 
495
+ Version 3.0 is being finished up for release soon.
video-thumbnails.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://refactored.co/plugins/video-thumbnails
5
  Description: Automatically retrieve video thumbnails for your posts and display them in your theme. Supports YouTube, Vimeo, Facebook, Vine, Justin.tv, Twitch, Dailymotion, Metacafe, VK, Blip, Google Drive, Funny or Die, CollegeHumor, MPORA, Wistia, Youku, and Rutube.
6
  Author: Sutherland Boswell
7
  Author URI: http://sutherlandboswell.com
8
- Version: 2.12.1
9
  License: GPL2
10
  Text Domain: video-thumbnails
11
  Domain Path: /languages/
@@ -30,7 +30,7 @@ Domain Path: /languages/
30
 
31
  define( 'VIDEO_THUMBNAILS_PATH', dirname(__FILE__) );
32
  define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' );
33
- define( 'VIDEO_THUMBNAILS_VERSION', '2.12.1' );
34
 
35
  // Providers
36
  require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/providers.php' );
5
  Description: Automatically retrieve video thumbnails for your posts and display them in your theme. Supports YouTube, Vimeo, Facebook, Vine, Justin.tv, Twitch, Dailymotion, Metacafe, VK, Blip, Google Drive, Funny or Die, CollegeHumor, MPORA, Wistia, Youku, and Rutube.
6
  Author: Sutherland Boswell
7
  Author URI: http://sutherlandboswell.com
8
+ Version: 2.12.2
9
  License: GPL2
10
  Text Domain: video-thumbnails
11
  Domain Path: /languages/
30
 
31
  define( 'VIDEO_THUMBNAILS_PATH', dirname(__FILE__) );
32
  define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' );
33
+ define( 'VIDEO_THUMBNAILS_VERSION', '2.12.2' );
34
 
35
  // Providers
36
  require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/providers.php' );