Version Description
- Improved provider class extensibility
Download this release
Release Info
Developer | sutherlandboswell |
Plugin | Video Thumbnails |
Version | 2.9.1 |
Comparing to | |
See all releases |
Code changes from version 2.9 to 2.9.1
- php/providers/class-blip-thumbnails.php +3 -6
- php/providers/class-collegehumor-thumbnails.php +3 -6
- php/providers/class-dailymotion-thumbnails.php +3 -6
- php/providers/class-facebook-thumbnails.php +3 -6
- php/providers/class-funnyordie-thumbnails.php +3 -6
- php/providers/class-googledrive-thumbnails.php +2 -5
- php/providers/class-justintv-thumbnails.php +3 -6
- php/providers/class-kaltura-thumbnails.php +3 -6
- php/providers/class-metacafe-thumbnails.php +3 -6
- php/providers/class-mpora-thumbnails.php +3 -6
- php/providers/class-rutube-thumbnails.php +2 -5
- php/providers/class-sapo-thumbnails.php +2 -5
- php/providers/class-ted-thumbnails.php +2 -5
- php/providers/class-tudou-thumbnails.php +2 -5
- php/providers/class-twitch-thumbnails.php +2 -5
- php/providers/{class-video-thumbnails-providers.php → class-video-thumbnails-provider.php} +1 -23
- php/providers/class-vimeo-thumbnails.php +3 -6
- php/providers/class-vine-thumbnails.php +2 -5
- php/providers/class-vk-thumbnails.php +2 -5
- php/providers/class-wistia-thumbnails.php +3 -6
- php/providers/class-youku-thumbnails.php +3 -6
- php/providers/class-youtube-thumbnails.php +3 -6
- php/providers/providers.php +65 -0
- readme.txt +4 -2
- video-thumbnails.php +3 -3
php/providers/class-blip-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Blip_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Blip';
|
@@ -75,7 +75,4 @@ class Blip_Thumbnails extends Video_Thumbnails_Providers {
|
|
75 |
|
76 |
}
|
77 |
|
78 |
-
// Add to provider array
|
79 |
-
add_filter( 'video_thumbnail_providers', array( 'Blip_Thumbnails', 'register_provider' ) );
|
80 |
-
|
81 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Blip_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Blip';
|
75 |
|
76 |
}
|
77 |
|
|
|
|
|
|
|
78 |
?>
|
php/providers/class-collegehumor-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class CollegeHumor_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'CollegeHumor';
|
@@ -71,7 +71,4 @@ class CollegeHumor_Thumbnails extends Video_Thumbnails_Providers {
|
|
71 |
|
72 |
}
|
73 |
|
74 |
-
// Add to provider array
|
75 |
-
add_filter( 'video_thumbnail_providers', array( 'CollegeHumor_Thumbnails', 'register_provider' ) );
|
76 |
-
|
77 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class CollegeHumor_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'CollegeHumor';
|
71 |
|
72 |
}
|
73 |
|
|
|
|
|
|
|
74 |
?>
|
php/providers/class-dailymotion-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Dailymotion_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Dailymotion';
|
@@ -73,7 +73,4 @@ class Dailymotion_Thumbnails extends Video_Thumbnails_Providers {
|
|
73 |
|
74 |
}
|
75 |
|
76 |
-
// Add to provider array
|
77 |
-
add_filter( 'video_thumbnail_providers', array( 'Dailymotion_Thumbnails', 'register_provider' ) );
|
78 |
-
|
79 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Dailymotion_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Dailymotion';
|
73 |
|
74 |
}
|
75 |
|
|
|
|
|
|
|
76 |
?>
|
php/providers/class-facebook-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Facebook_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Facebook';
|
@@ -79,7 +79,4 @@ class Facebook_Thumbnails extends Video_Thumbnails_Providers {
|
|
79 |
|
80 |
}
|
81 |
|
82 |
-
// Add to provider array
|
83 |
-
add_filter( 'video_thumbnail_providers', array( 'Facebook_Thumbnails', 'register_provider' ) );
|
84 |
-
|
85 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Facebook_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Facebook';
|
79 |
|
80 |
}
|
81 |
|
|
|
|
|
|
|
82 |
?>
|
php/providers/class-funnyordie-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Funnyordie_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Funny or Die';
|
@@ -72,7 +72,4 @@ class Funnyordie_Thumbnails extends Video_Thumbnails_Providers {
|
|
72 |
|
73 |
}
|
74 |
|
75 |
-
// Add to provider array
|
76 |
-
add_filter( 'video_thumbnail_providers', array( 'Funnyordie_Thumbnails', 'register_provider' ) );
|
77 |
-
|
78 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Funnyordie_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Funny or Die';
|
72 |
|
73 |
}
|
74 |
|
|
|
|
|
|
|
75 |
?>
|
php/providers/class-googledrive-thumbnails.php
CHANGED
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Google Drive';
|
@@ -104,7 +104,4 @@ class GoogleDrive_Thumbnails extends Video_Thumbnails_Providers {
|
|
104 |
|
105 |
}
|
106 |
|
107 |
-
// Add to provider array
|
108 |
-
add_filter( 'video_thumbnail_providers', array( 'GoogleDrive_Thumbnails', 'register_provider' ) );
|
109 |
-
|
110 |
?>
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Googledrive_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Google Drive';
|
104 |
|
105 |
}
|
106 |
|
|
|
|
|
|
|
107 |
?>
|
php/providers/class-justintv-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Justintv_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Justin.tv';
|
@@ -65,7 +65,4 @@ class Justintv_Thumbnails extends Video_Thumbnails_Providers {
|
|
65 |
|
66 |
}
|
67 |
|
68 |
-
// Add to provider array
|
69 |
-
add_filter( 'video_thumbnail_providers', array( 'Justintv_Thumbnails', 'register_provider' ) );
|
70 |
-
|
71 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Justintv_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Justin.tv';
|
65 |
|
66 |
}
|
67 |
|
|
|
|
|
|
|
68 |
?>
|
php/providers/class-kaltura-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Kaltura_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Kaltura';
|
@@ -72,7 +72,4 @@ class Kaltura_Thumbnails extends Video_Thumbnails_Providers {
|
|
72 |
|
73 |
}
|
74 |
|
75 |
-
// Add to provider array
|
76 |
-
add_filter( 'video_thumbnail_providers', array( 'Kaltura_Thumbnails', 'register_provider' ) );
|
77 |
-
|
78 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Kaltura_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Kaltura';
|
72 |
|
73 |
}
|
74 |
|
|
|
|
|
|
|
75 |
?>
|
php/providers/class-metacafe-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Metacafe_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Metacafe';
|
@@ -66,7 +66,4 @@ class Metacafe_Thumbnails extends Video_Thumbnails_Providers {
|
|
66 |
|
67 |
}
|
68 |
|
69 |
-
// Add to provider array
|
70 |
-
add_filter( 'video_thumbnail_providers', array( 'Metacafe_Thumbnails', 'register_provider' ) );
|
71 |
-
|
72 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Metacafe_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Metacafe';
|
66 |
|
67 |
}
|
68 |
|
|
|
|
|
|
|
69 |
?>
|
php/providers/class-mpora-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Mpora_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'MPORA';
|
@@ -64,7 +64,4 @@ class Mpora_Thumbnails extends Video_Thumbnails_Providers {
|
|
64 |
|
65 |
}
|
66 |
|
67 |
-
// Add to provider array
|
68 |
-
add_filter( 'video_thumbnail_providers', array( 'Mpora_Thumbnails', 'register_provider' ) );
|
69 |
-
|
70 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Mpora_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'MPORA';
|
64 |
|
65 |
}
|
66 |
|
|
|
|
|
|
|
67 |
?>
|
php/providers/class-rutube-thumbnails.php
CHANGED
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Rutube_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Rutube';
|
@@ -75,7 +75,4 @@ class Rutube_Thumbnails extends Video_Thumbnails_Providers {
|
|
75 |
|
76 |
}
|
77 |
|
78 |
-
// Add to provider array
|
79 |
-
add_filter( 'video_thumbnail_providers', array( 'Rutube_Thumbnails', 'register_provider' ) );
|
80 |
-
|
81 |
?>
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Rutube_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Rutube';
|
75 |
|
76 |
}
|
77 |
|
|
|
|
|
|
|
78 |
?>
|
php/providers/class-sapo-thumbnails.php
CHANGED
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'SAPO';
|
@@ -73,7 +73,4 @@ class SAPO_Thumbnails extends Video_Thumbnails_Providers {
|
|
73 |
|
74 |
}
|
75 |
|
76 |
-
// Add to provider array
|
77 |
-
add_filter( 'video_thumbnail_providers', array( 'SAPO_Thumbnails', 'register_provider' ) );
|
78 |
-
|
79 |
?>
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Sapo_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'SAPO';
|
73 |
|
74 |
}
|
75 |
|
|
|
|
|
|
|
76 |
?>
|
php/providers/class-ted-thumbnails.php
CHANGED
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'TED';
|
@@ -65,7 +65,4 @@ class TED_Thumbnails extends Video_Thumbnails_Providers {
|
|
65 |
|
66 |
}
|
67 |
|
68 |
-
// Add to provider array
|
69 |
-
add_filter( 'video_thumbnail_providers', array( 'TED_Thumbnails', 'register_provider' ) );
|
70 |
-
|
71 |
?>
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Ted_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'TED';
|
65 |
|
66 |
}
|
67 |
|
|
|
|
|
|
|
68 |
?>
|
php/providers/class-tudou-thumbnails.php
CHANGED
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Tudou_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Tudou';
|
@@ -89,7 +89,4 @@ class Tudou_Thumbnails extends Video_Thumbnails_Providers {
|
|
89 |
|
90 |
}
|
91 |
|
92 |
-
// Add to provider array
|
93 |
-
add_filter( 'video_thumbnail_providers', array( 'Tudou_Thumbnails', 'register_provider' ) );
|
94 |
-
|
95 |
?>
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Tudou_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Tudou';
|
89 |
|
90 |
}
|
91 |
|
|
|
|
|
|
|
92 |
?>
|
php/providers/class-twitch-thumbnails.php
CHANGED
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Twitch_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Twitch';
|
@@ -72,7 +72,4 @@ class Twitch_Thumbnails extends Video_Thumbnails_Providers {
|
|
72 |
|
73 |
}
|
74 |
|
75 |
-
// Add to provider array
|
76 |
-
add_filter( 'video_thumbnail_providers', array( 'Twitch_Thumbnails', 'register_provider' ) );
|
77 |
-
|
78 |
?>
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Twitch_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Twitch';
|
72 |
|
73 |
}
|
74 |
|
|
|
|
|
|
|
75 |
?>
|
php/providers/{class-video-thumbnails-providers.php → class-video-thumbnails-provider.php}
RENAMED
@@ -16,7 +16,7 @@
|
|
16 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17 |
*/
|
18 |
|
19 |
-
class
|
20 |
|
21 |
public $options = array();
|
22 |
|
@@ -101,26 +101,4 @@ class Video_Thumbnails_Providers {
|
|
101 |
|
102 |
}
|
103 |
|
104 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-youtube-thumbnails.php' );
|
105 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-vimeo-thumbnails.php' );
|
106 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-facebook-thumbnails.php' );
|
107 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-vine-thumbnails.php' );
|
108 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-blip-thumbnails.php' );
|
109 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-justintv-thumbnails.php' );
|
110 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-dailymotion-thumbnails.php' );
|
111 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-metacafe-thumbnails.php' );
|
112 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-vk-thumbnails.php' );
|
113 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-funnyordie-thumbnails.php' );
|
114 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-mpora-thumbnails.php' );
|
115 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-wistia-thumbnails.php' );
|
116 |
-
// require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-kaltura-thumbnails.php' );
|
117 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-youku-thumbnails.php' );
|
118 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-tudou-thumbnails.php' );
|
119 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-collegehumor-thumbnails.php' );
|
120 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-rutube-thumbnails.php' );
|
121 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-sapo-thumbnails.php' );
|
122 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-ted-thumbnails.php' );
|
123 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-twitch-thumbnails.php' );
|
124 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-googledrive-thumbnails.php' );
|
125 |
-
|
126 |
?>
|
16 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17 |
*/
|
18 |
|
19 |
+
class Video_Thumbnails_Provider {
|
20 |
|
21 |
public $options = array();
|
22 |
|
101 |
|
102 |
}
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
?>
|
php/providers/class-vimeo-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Vimeo_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Vimeo';
|
@@ -126,9 +126,6 @@ class Vimeo_Thumbnails extends Video_Thumbnails_Providers {
|
|
126 |
|
127 |
}
|
128 |
|
129 |
-
// Add to provider array
|
130 |
-
add_filter( 'video_thumbnail_providers', array( 'Vimeo_Thumbnails', 'register_provider' ) );
|
131 |
-
|
132 |
// Vimeo API class
|
133 |
if( !class_exists( 'phpVimeo' ) ) :
|
134 |
class phpVimeo
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Vimeo_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Vimeo';
|
126 |
|
127 |
}
|
128 |
|
|
|
|
|
|
|
129 |
// Vimeo API class
|
130 |
if( !class_exists( 'phpVimeo' ) ) :
|
131 |
class phpVimeo
|
php/providers/class-vine-thumbnails.php
CHANGED
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Vine_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Vine';
|
@@ -73,7 +73,4 @@ class Vine_Thumbnails extends Video_Thumbnails_Providers {
|
|
73 |
|
74 |
}
|
75 |
|
76 |
-
// Add to provider array
|
77 |
-
add_filter( 'video_thumbnail_providers', array( 'Vine_Thumbnails', 'register_provider' ) );
|
78 |
-
|
79 |
?>
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Vine_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Vine';
|
73 |
|
74 |
}
|
75 |
|
|
|
|
|
|
|
76 |
?>
|
php/providers/class-vk-thumbnails.php
CHANGED
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'VK';
|
@@ -75,7 +75,4 @@ class VK_Thumbnails extends Video_Thumbnails_Providers {
|
|
75 |
|
76 |
}
|
77 |
|
78 |
-
// Add to provider array
|
79 |
-
add_filter( 'video_thumbnail_providers', array( 'VK_Thumbnails', 'register_provider' ) );
|
80 |
-
|
81 |
?>
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Vk_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'VK';
|
75 |
|
76 |
}
|
77 |
|
|
|
|
|
|
|
78 |
?>
|
php/providers/class-wistia-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Wistia_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Wistia';
|
@@ -95,7 +95,4 @@ class Wistia_Thumbnails extends Video_Thumbnails_Providers {
|
|
95 |
|
96 |
}
|
97 |
|
98 |
-
// Add to provider array
|
99 |
-
add_filter( 'video_thumbnail_providers', array( 'Wistia_Thumbnails', 'register_provider' ) );
|
100 |
-
|
101 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Wistia_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Wistia';
|
95 |
|
96 |
}
|
97 |
|
|
|
|
|
|
|
98 |
?>
|
php/providers/class-youku-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class Youku_Thumbnails extends
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Youku';
|
@@ -79,7 +79,4 @@ class Youku_Thumbnails extends Video_Thumbnails_Providers {
|
|
79 |
|
80 |
}
|
81 |
|
82 |
-
// Add to provider array
|
83 |
-
add_filter( 'video_thumbnail_providers', array( 'Youku_Thumbnails', 'register_provider' ) );
|
84 |
-
|
85 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Youku_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'Youku';
|
79 |
|
80 |
}
|
81 |
|
|
|
|
|
|
|
82 |
?>
|
php/providers/class-youtube-thumbnails.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
/* Copyright
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
@@ -17,9 +17,9 @@
|
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-
|
21 |
|
22 |
-
class
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'YouTube';
|
@@ -86,7 +86,4 @@ class YouTube_Thumbnails extends Video_Thumbnails_Providers {
|
|
86 |
|
87 |
}
|
88 |
|
89 |
-
// Add to provider array
|
90 |
-
add_filter( 'video_thumbnail_providers', array( 'YouTube_Thumbnails', 'register_provider' ) );
|
91 |
-
|
92 |
?>
|
1 |
<?php
|
2 |
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License, version 2, as
|
17 |
*/
|
18 |
|
19 |
// Require thumbnail provider class
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-video-thumbnails-provider.php' );
|
21 |
|
22 |
+
class Youtube_Thumbnails extends Video_Thumbnails_Provider {
|
23 |
|
24 |
// Human-readable name of the video provider
|
25 |
public $service_name = 'YouTube';
|
86 |
|
87 |
}
|
88 |
|
|
|
|
|
|
|
89 |
?>
|
php/providers/providers.php
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/* Copyright 2014 Sutherland Boswell (email : sutherland.boswell@gmail.com)
|
4 |
+
|
5 |
+
This program is free software; you can redistribute it and/or modify
|
6 |
+
it under the terms of the GNU General Public License, version 2, as
|
7 |
+
published by the Free Software Foundation.
|
8 |
+
|
9 |
+
This program is distributed in the hope that it will be useful,
|
10 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12 |
+
GNU General Public License for more details.
|
13 |
+
|
14 |
+
You should have received a copy of the GNU General Public License
|
15 |
+
along with this program; if not, write to the Free Software
|
16 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17 |
+
*/
|
18 |
+
|
19 |
+
// Include provider classes
|
20 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-youtube-thumbnails.php' );
|
21 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-vimeo-thumbnails.php' );
|
22 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-facebook-thumbnails.php' );
|
23 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-vine-thumbnails.php' );
|
24 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-blip-thumbnails.php' );
|
25 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-justintv-thumbnails.php' );
|
26 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-dailymotion-thumbnails.php' );
|
27 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-metacafe-thumbnails.php' );
|
28 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-vk-thumbnails.php' );
|
29 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-funnyordie-thumbnails.php' );
|
30 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-mpora-thumbnails.php' );
|
31 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-wistia-thumbnails.php' );
|
32 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-youku-thumbnails.php' );
|
33 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-tudou-thumbnails.php' );
|
34 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-collegehumor-thumbnails.php' );
|
35 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-rutube-thumbnails.php' );
|
36 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-sapo-thumbnails.php' );
|
37 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-ted-thumbnails.php' );
|
38 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-twitch-thumbnails.php' );
|
39 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-googledrive-thumbnails.php' );
|
40 |
+
// require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/class-kaltura-thumbnails.php' );
|
41 |
+
|
42 |
+
// Register providers
|
43 |
+
add_filter( 'video_thumbnail_providers', array( 'Youtube_Thumbnails', 'register_provider' ) );
|
44 |
+
add_filter( 'video_thumbnail_providers', array( 'Vimeo_Thumbnails', 'register_provider' ) );
|
45 |
+
add_filter( 'video_thumbnail_providers', array( 'Facebook_Thumbnails', 'register_provider' ) );
|
46 |
+
add_filter( 'video_thumbnail_providers', array( 'Vine_Thumbnails', 'register_provider' ) );
|
47 |
+
add_filter( 'video_thumbnail_providers', array( 'Blip_Thumbnails', 'register_provider' ) );
|
48 |
+
add_filter( 'video_thumbnail_providers', array( 'Justintv_Thumbnails', 'register_provider' ) );
|
49 |
+
add_filter( 'video_thumbnail_providers', array( 'Dailymotion_Thumbnails', 'register_provider' ) );
|
50 |
+
add_filter( 'video_thumbnail_providers', array( 'Metacafe_Thumbnails', 'register_provider' ) );
|
51 |
+
add_filter( 'video_thumbnail_providers', array( 'Vk_Thumbnails', 'register_provider' ) );
|
52 |
+
add_filter( 'video_thumbnail_providers', array( 'Funnyordie_Thumbnails', 'register_provider' ) );
|
53 |
+
add_filter( 'video_thumbnail_providers', array( 'Mpora_Thumbnails', 'register_provider' ) );
|
54 |
+
add_filter( 'video_thumbnail_providers', array( 'Wistia_Thumbnails', 'register_provider' ) );
|
55 |
+
add_filter( 'video_thumbnail_providers', array( 'Youku_Thumbnails', 'register_provider' ) );
|
56 |
+
add_filter( 'video_thumbnail_providers', array( 'Tudou_Thumbnails', 'register_provider' ) );
|
57 |
+
add_filter( 'video_thumbnail_providers', array( 'Collegehumor_Thumbnails', 'register_provider' ) );
|
58 |
+
add_filter( 'video_thumbnail_providers', array( 'Rutube_Thumbnails', 'register_provider' ) );
|
59 |
+
add_filter( 'video_thumbnail_providers', array( 'Sapo_Thumbnails', 'register_provider' ) );
|
60 |
+
add_filter( 'video_thumbnail_providers', array( 'Ted_Thumbnails', 'register_provider' ) );
|
61 |
+
add_filter( 'video_thumbnail_providers', array( 'Twitch_Thumbnails', 'register_provider' ) );
|
62 |
+
add_filter( 'video_thumbnail_providers', array( 'Googledrive_Thumbnails', 'register_provider' ) );
|
63 |
+
// add_filter( 'video_thumbnail_providers', array( 'Kaltura_Thumbnails', 'register_provider' ) );
|
64 |
+
|
65 |
+
?>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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: 3.9
|
7 |
-
Stable tag: 2.9
|
8 |
|
9 |
Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template.
|
10 |
|
@@ -43,7 +43,6 @@ Video Thumbnails even works with most video plugins, including:
|
|
43 |
|
44 |
* [Refactored Video Importer](https://refactored.co/plugins/video-importer)
|
45 |
* Viper's Video Quicktags
|
46 |
-
* WP YouTube Lyte
|
47 |
|
48 |
= Help Translate =
|
49 |
|
@@ -133,6 +132,9 @@ The Vimeo API has a rate limit, so in rare cases you may exceed this limit. Try
|
|
133 |
|
134 |
== Changelog ==
|
135 |
|
|
|
|
|
|
|
136 |
= 2.9 =
|
137 |
* Added Tudou support
|
138 |
* Added SAPO support
|
4 |
Tags: Video, Thumbnails, YouTube, Vimeo, Vine, Twitch, Dailymotion, Youku, Rutube, Featured Image
|
5 |
Requires at least: 3.2
|
6 |
Tested up to: 3.9
|
7 |
+
Stable tag: 2.9.1
|
8 |
|
9 |
Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template.
|
10 |
|
43 |
|
44 |
* [Refactored Video Importer](https://refactored.co/plugins/video-importer)
|
45 |
* Viper's Video Quicktags
|
|
|
46 |
|
47 |
= Help Translate =
|
48 |
|
132 |
|
133 |
== Changelog ==
|
134 |
|
135 |
+
= 2.9.1 =
|
136 |
+
* Improved provider class extensibility
|
137 |
+
|
138 |
= 2.9 =
|
139 |
* Added Tudou support
|
140 |
* Added SAPO support
|
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.9
|
9 |
License: GPL2
|
10 |
Text Domain: video-thumbnails
|
11 |
Domain Path: /languages/
|
@@ -30,10 +30,10 @@ Domain Path: /languages/
|
|
30 |
|
31 |
define( 'VIDEO_THUMBNAILS_PATH', dirname(__FILE__) );
|
32 |
define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' );
|
33 |
-
define( 'VIDEO_THUMBNAILS_VERSION', '2.9' );
|
34 |
|
35 |
// Providers
|
36 |
-
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/
|
37 |
|
38 |
// Extensions
|
39 |
require_once( VIDEO_THUMBNAILS_PATH . '/php/extensions/extensions.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.9.1
|
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.9.1' );
|
34 |
|
35 |
// Providers
|
36 |
+
require_once( VIDEO_THUMBNAILS_PATH . '/php/providers/providers.php' );
|
37 |
|
38 |
// Extensions
|
39 |
require_once( VIDEO_THUMBNAILS_PATH . '/php/extensions/extensions.php' );
|