YouTube Channel - Version 2.1.0.2

Version Description

  • Fix: remove embed object below old IFRAME implementation
Download this release

Release Info

Developer urkekg
Plugin Icon YouTube Channel
Version 2.1.0.2
Comparing to
See all releases

Code changes from version 2.1.0.1 to 2.1.0.2

Files changed (2) hide show
  1. readme.txt +18 -1
  2. youtube-channel.php +3 -3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: youtube, channel, playlist, single, widget, widgets, youtube player, flash player, rss, feed, video, thumbnail, embed, sidebar, chromeless, iframe, html5
5
  Requires at least: 3.7.0
6
  Tested up to: 3.8.1
7
- Stable tag: 2.1.0.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -63,6 +63,16 @@ Chromeless option borrowed from [Chromeless YouTube](http://wordpress.org/extend
63
  Code improvements and textdomain adds done by [dimadin](http://wordpress.org/extend/plugins/profile/dimadin).
64
  [Federico Bozo](http://corchoweb.com/) reminded me to fix z-index problem
65
 
 
 
 
 
 
 
 
 
 
 
66
  == Installation ==
67
 
68
  You can use the built in installer and upgrader, or you can install the plugin manually.
@@ -112,6 +122,9 @@ Video feed for YTC has been retreived with standard youtube feed [uploads by spe
112
  If you does not see your latest video in your uplaods feed (which you can access at https://gdata.youtube.com/feeds/api/users/YOUR_YT_USERID/uploads by replacing YOUR_YT_USERID with your real youtube user ID), then YTC will not see it too.
113
 
114
  == Changelog ==
 
 
 
115
  = 2.1.0.1 =
116
  * Change: add back old iframe functionality, second iframe option is async loading
117
 
@@ -234,6 +247,10 @@ Just try it and rate it. Only initial release is available right now.
234
 
235
  == Upgrade Notice ==
236
 
 
 
 
 
237
  = 2.1.0 =
238
 
239
  Before you upgrade to this version, BACKUP DATABASE because experimental transition code converts YouTube Channel widgets made in versions prior to 2.0.0 to new format. You can lose all predefined YTC widgets.
4
  Tags: youtube, channel, playlist, single, widget, widgets, youtube player, flash player, rss, feed, video, thumbnail, embed, sidebar, chromeless, iframe, html5
5
  Requires at least: 3.7.0
6
  Tested up to: 3.8.1
7
+ Stable tag: 2.1.0.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
63
  Code improvements and textdomain adds done by [dimadin](http://wordpress.org/extend/plugins/profile/dimadin).
64
  [Federico Bozo](http://corchoweb.com/) reminded me to fix z-index problem
65
 
66
+ = How To Use =
67
+ **Add New Widget**
68
+ [youtube http://www.youtube.com/watch?v=Sj84cja7ieg]
69
+
70
+ **Use Playlist**
71
+ [youtube http://www.youtube.com/watch?v=y9zoi_Pk2kY]
72
+
73
+ **How To Get Debug Info**
74
+ [youtube http://www.youtube.com/watch?v=6jIu2OeKB24]
75
+
76
  == Installation ==
77
 
78
  You can use the built in installer and upgrader, or you can install the plugin manually.
122
  If you does not see your latest video in your uplaods feed (which you can access at https://gdata.youtube.com/feeds/api/users/YOUR_YT_USERID/uploads by replacing YOUR_YT_USERID with your real youtube user ID), then YTC will not see it too.
123
 
124
  == Changelog ==
125
+ = 2.1.0.2 =
126
+ * Fix: remove embed object below old IFRAME implementation
127
+
128
  = 2.1.0.1 =
129
  * Change: add back old iframe functionality, second iframe option is async loading
130
 
247
 
248
  == Upgrade Notice ==
249
 
250
+ = 2.1.0.2 =
251
+
252
+ Fixed broken IFRAME type implementation.
253
+
254
  = 2.1.0 =
255
 
256
  Before you upgrade to this version, BACKUP DATABASE because experimental transition code converts YouTube Channel widgets made in versions prior to 2.0.0 to new format. You can lose all predefined YTC widgets.
youtube-channel.php CHANGED
@@ -4,10 +4,10 @@ Plugin Name: YouTube Channel
4
  Plugin URI: http://urosevic.net/wordpress/plugins/youtube-channel/
5
  Description: <a href="widgets.php">Widget</a> that display latest video thumbnail, iframe (HTML5 video), object (Flash video) or chromeless video from YouTube Channel or Playlist.
6
  Author: Aleksandar Urošević
7
- Version: 2.1.0.1
8
  Author URI: http://urosevic.net/
9
  */
10
- define( 'YTCVER', '2.1.0.1' );
11
  define( 'YOUTUBE_CHANNEL_URL', plugin_dir_url(__FILE__) );
12
  define( 'YTCPLID', 'PLEC850BE962234400' );
13
  define( 'YTCUID', 'urkekg' );
@@ -716,7 +716,7 @@ function ytc_print_video($item, $instance, $y) {
716
  if ( $themelight ) $output[] = "&amp;theme=light";
717
 
718
  $output[] = '" style="border: 0;" allowfullscreen id="'.$ytc_vid.'"></iframe>';
719
- } if ( $to_show == "iframe2" ) {
720
  // youtube API async
721
  if ( empty($usepl) ) $yt_url = $yt_id;
722
 
4
  Plugin URI: http://urosevic.net/wordpress/plugins/youtube-channel/
5
  Description: <a href="widgets.php">Widget</a> that display latest video thumbnail, iframe (HTML5 video), object (Flash video) or chromeless video from YouTube Channel or Playlist.
6
  Author: Aleksandar Urošević
7
+ Version: 2.1.0.2
8
  Author URI: http://urosevic.net/
9
  */
10
+ define( 'YTCVER', '2.1.0.2' );
11
  define( 'YOUTUBE_CHANNEL_URL', plugin_dir_url(__FILE__) );
12
  define( 'YTCPLID', 'PLEC850BE962234400' );
13
  define( 'YTCUID', 'urkekg' );
716
  if ( $themelight ) $output[] = "&amp;theme=light";
717
 
718
  $output[] = '" style="border: 0;" allowfullscreen id="'.$ytc_vid.'"></iframe>';
719
+ } else if ( $to_show == "iframe2" ) {
720
  // youtube API async
721
  if ( empty($usepl) ) $yt_url = $yt_id;
722