WP YouTube Lyte - Version 1.6.1

Version Description

  • fix for WP YouTube Lyte widgets not loading
Download this release

Release Info

Developer futtta
Plugin Icon 128x128 WP YouTube Lyte
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6.0 to 1.6.1

Files changed (3) hide show
  1. readme.txt +7 -3
  2. widget.php +1 -1
  3. wp-youtube-lyte.php +1 -1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: youtube, video, lyte, lite youtube embeds, html5 video, widget, youtube au
4
  Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
5
  Requires at least: 2.9
6
  Tested up to: 4.1
7
- Stable tag: 1.6.0
8
 
9
  High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility.
10
 
@@ -50,7 +50,7 @@ Up until WP YouTube Lyte 1.5.0 the v2 YouTube API was used, but [in September 20
50
 
51
  = OK, now how can get that API key? =
52
 
53
- 1. Go to "Google Developer Console](https://console.developers.google.com/project/) and log in with your Google account.
54
  2. Click on 'Create Project' and:
55
  * Fill in a Project Name
56
  * Fill in a Project ID
@@ -66,6 +66,7 @@ Up until WP YouTube Lyte 1.5.0 the v2 YouTube API was used, but [in September 20
66
  * Click on 'Credentials'
67
  * Click on 'Create new Key'
68
  * Click on 'Server Key'
 
69
  * Click on 'Create'
70
 
71
  5. Copy your API key to WP YouTube Lyte settings page.
@@ -122,7 +123,7 @@ Copy it to /wp-content/plugins/lyte_helper.php and activate it in WordPress' plu
122
  All in One SEO Pack be default generates a description which still has httpv-links in it. To remove those, you'll have to use (example code in) lyte_helper.php (see above) and add lyte_filter_aioseop_description to the aioseop-filter in there.
123
 
124
  = When I click on a LYTE video, a link to YouTube opens, what's up with that? =
125
- You probably added a link (<a href>)around the httpv-url. No link is needed, just the httpv-url.
126
 
127
  = Any bugs/ issues should I know about? =
128
  * Although the widget is available in (very) small sizes, these do not display that great and might, in the near future, be disabled by YouTube as their Terms of Service state that the smallest available embedded player is 200X200 pixels. Use the deprecated smaller sizes at your own risk.
@@ -140,6 +141,9 @@ Just tell me, I like the feedback! Use the [Contact-page on my blog](http://blog
140
 
141
  == Changelog ==
142
 
 
 
 
143
  = 1.6.0 =
144
  * New: support for YouTube API v3, requiring a server API key to be provided (due to [YouTube closing down the anonymous v2 API](http://blog.futtta.be/2015/01/27/wp-youtube-lyte-and-youtube-api-v2-end-of-life/))
145
  * New: updated player UI by Draikin, great job!
4
  Donate link: http://blog.futtta.be/2013/10/21/do-not-donate-to-me/
5
  Requires at least: 2.9
6
  Tested up to: 4.1
7
+ Stable tag: 1.6.1
8
 
9
  High performance YouTube video, playlist and audio-only embeds which don't slow down your blog and offer optimal accessibility.
10
 
50
 
51
  = OK, now how can get that API key? =
52
 
53
+ 1. Go to [Google Developer Console](https://console.developers.google.com/project/) and log in with your Google account.
54
  2. Click on 'Create Project' and:
55
  * Fill in a Project Name
56
  * Fill in a Project ID
66
  * Click on 'Credentials'
67
  * Click on 'Create new Key'
68
  * Click on 'Server Key'
69
+ * Leave the box with whitelisted IP's empty
70
  * Click on 'Create'
71
 
72
  5. Copy your API key to WP YouTube Lyte settings page.
123
  All in One SEO Pack be default generates a description which still has httpv-links in it. To remove those, you'll have to use (example code in) lyte_helper.php (see above) and add lyte_filter_aioseop_description to the aioseop-filter in there.
124
 
125
  = When I click on a LYTE video, a link to YouTube opens, what's up with that? =
126
+ You probably added a link around the httpv-url. No link is needed, just the httpv-url.
127
 
128
  = Any bugs/ issues should I know about? =
129
  * Although the widget is available in (very) small sizes, these do not display that great and might, in the near future, be disabled by YouTube as their Terms of Service state that the smallest available embedded player is 200X200 pixels. Use the deprecated smaller sizes at your own risk.
141
 
142
  == Changelog ==
143
 
144
+ = 1.6.1 =
145
+ * fix for WP YouTube Lyte widgets not loading
146
+
147
  = 1.6.0 =
148
  * New: support for YouTube API v3, requiring a server API key to be provided (due to [YouTube closing down the anonymous v2 API](http://blog.futtta.be/2015/01/27/wp-youtube-lyte-and-youtube-api-v2-end-of-life/))
149
  * New: updated player UI by Draikin, great job!
widget.php CHANGED
@@ -7,6 +7,7 @@ class WYLWidget extends WP_Widget {
7
  function widget($args, $instance) {
8
  extract( $args );
9
  global $wSize, $wyl_version, $wp_lyte_plugin_url, $lyteSettings;
 
10
  $qsa="";
11
 
12
  $WYLtitle = apply_filters('widget_title', $instance['WYLtitle']);
@@ -63,7 +64,6 @@ class WYLWidget extends WP_Widget {
63
 
64
  $WYL_dom_id="YLW_".$WYLid;
65
 
66
- $lyteSettings['path']=$wp_lyte_plugin_url."lyte/";
67
  ?>
68
  <?php echo $before_widget; ?>
69
  <?php if ( $WYLtitle ) echo $before_title . $WYLtitle . $after_title; ?>
7
  function widget($args, $instance) {
8
  extract( $args );
9
  global $wSize, $wyl_version, $wp_lyte_plugin_url, $lyteSettings;
10
+ $lyteSettings['path']= plugins_url() . "/" . dirname(plugin_basename(__FILE__)) . '/lyte/';
11
  $qsa="";
12
 
13
  $WYLtitle = apply_filters('widget_title', $instance['WYLtitle']);
64
 
65
  $WYL_dom_id="YLW_".$WYLid;
66
 
 
67
  ?>
68
  <?php echo $before_widget; ?>
69
  <?php if ( $WYLtitle ) echo $before_title . $WYLtitle . $after_title; ?>
wp-youtube-lyte.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP YouTube Lyte
4
  Plugin URI: http://blog.futtta.be/wp-youtube-lyte/
5
  Description: Lite and accessible YouTube audio and video embedding.
6
  Author: Frank Goossens (futtta)
7
- Version: 1.6.0
8
  Author URI: http://blog.futtta.be/
9
  Text Domain: wp-youtube-lyte
10
  Domain Path: /languages
4
  Plugin URI: http://blog.futtta.be/wp-youtube-lyte/
5
  Description: Lite and accessible YouTube audio and video embedding.
6
  Author: Frank Goossens (futtta)
7
+ Version: 1.6.1
8
  Author URI: http://blog.futtta.be/
9
  Text Domain: wp-youtube-lyte
10
  Domain Path: /languages