WP YouTube Lyte - Version 0.6.4

Version Description

  • happy New Year & thanks for the 10.000 downloads so far!
  • solved an issue with pre-5.2.1 versions of PHP which caused errors in widget.php
  • tested on iPad, the HTML5-version works
  • tested succesfully on WordPress 3.0.4 and 3.1 (release candidate)
Download this release

Release Info

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

Code changes from version 0.6.3 to 0.6.4

Files changed (3) hide show
  1. readme.txt +9 -2
  2. widget.php +3 -1
  3. wp-youtube-lyte.php +1 -1
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: futtta
3
  Tags: youtube, video, lyte, lite youtube embeds, html5 video, html5, widget
4
  Requires at least: 2.9
5
- Tested up to: 3.0.3
6
- Stable tag: 0.6.3
7
 
8
  "Lite YouTube Embeds" look like normal YouTube embeds but don't use Flash, thus reducing download size & page rendering time.
9
 
@@ -42,6 +42,7 @@ As opposed to some of the [most important](http://blog.futtta.be/2010/12/15/word
42
  * The new YouTube HTML5-embed-code is a work in progress, positioning of video isn't always perfect when fallback Flash-version is used.
43
  * If you're using the HTML5-version and you have a WP-YouTube-Lyte widget in your sidebar, you'll notice how the controls at the bottom overlap. This is because YouTube's new embed code doesn't scale down to small sizes too great. The normal (Flash-based) player omits most controls in this case, I would expect the HTML5-version to do this as well in a not to distant future.
44
  * Having the same YouTube-video on one page can cause WP YouTube Lyte to malfunction (as the YouTube id is used as the div's id in the DOM, and DOM id's are supposed to be unique)
 
45
 
46
  = I found a bug/ I would like a feature to be added! =
47
  * Just tell me, I like the feedback! Use the [Contact-page on my blog](http://blog.futtta.be/contact/), [leave a comment in a post about wp-youtube-lyte](http://blog.futtta.be/tag/wp-youtube-lyte/) or [create a new topic on the wordpress.org forum](http://wordpress.org/tags/wp-youtube-lyte?forum_id=10#postform).
@@ -52,6 +53,12 @@ As opposed to some of the [most important](http://blog.futtta.be/2010/12/15/word
52
  * [Rate my plugin on wordpress.org](http://wordpress.org/extend/plugins/wp-youtube-lyte/), even if you think it stinks ;-)
53
 
54
  == Changelog ==
 
 
 
 
 
 
55
  = 0.6.3 =
56
  * only load jquery plugins on this plugin's options page
57
  * change thumbnail positiong slightly (5 pixels up)
2
  Contributors: futtta
3
  Tags: youtube, video, lyte, lite youtube embeds, html5 video, html5, widget
4
  Requires at least: 2.9
5
+ Tested up to: 3.1
6
+ Stable tag: 0.6.4
7
 
8
  "Lite YouTube Embeds" look like normal YouTube embeds but don't use Flash, thus reducing download size & page rendering time.
9
 
42
  * The new YouTube HTML5-embed-code is a work in progress, positioning of video isn't always perfect when fallback Flash-version is used.
43
  * If you're using the HTML5-version and you have a WP-YouTube-Lyte widget in your sidebar, you'll notice how the controls at the bottom overlap. This is because YouTube's new embed code doesn't scale down to small sizes too great. The normal (Flash-based) player omits most controls in this case, I would expect the HTML5-version to do this as well in a not to distant future.
44
  * Having the same YouTube-video on one page can cause WP YouTube Lyte to malfunction (as the YouTube id is used as the div's id in the DOM, and DOM id's are supposed to be unique)
45
+ * the normal version does not work on iPad (and probably iPhone), the HTML5-version does
46
 
47
  = I found a bug/ I would like a feature to be added! =
48
  * Just tell me, I like the feedback! Use the [Contact-page on my blog](http://blog.futtta.be/contact/), [leave a comment in a post about wp-youtube-lyte](http://blog.futtta.be/tag/wp-youtube-lyte/) or [create a new topic on the wordpress.org forum](http://wordpress.org/tags/wp-youtube-lyte?forum_id=10#postform).
53
  * [Rate my plugin on wordpress.org](http://wordpress.org/extend/plugins/wp-youtube-lyte/), even if you think it stinks ;-)
54
 
55
  == Changelog ==
56
+ = 0.6.4 =
57
+ * happy New Year & thanks for the 10.000 downloads so far!
58
+ * solved an [issue with pre-5.2.1 versions of PHP which caused errors in widget.php](http://wordpress.org/support/topic/plugin-wp-youtube-lyte-parse_url-error-in-widget-version)
59
+ * tested on iPad, the HTML5-version works
60
+ * tested succesfully on WordPress 3.0.4 and 3.1 (release candidate)
61
+
62
  = 0.6.3 =
63
  * only load jquery plugins on this plugin's options page
64
  * change thumbnail positiong slightly (5 pixels up)
widget.php CHANGED
@@ -15,7 +15,9 @@ class WYLWidget extends WP_Widget {
15
  $WYLsize = apply_filters( 'widget_text', $instance['WYLsize'], $instance );
16
  if ($WYLsize=="") $WYLsize=$wDefault;
17
 
18
- parse_str(parse_url(esc_url($instance['WYLurl']),PHP_URL_QUERY),$WYLarr);
 
 
19
  $WYLid=$WYLarr['v'];
20
 
21
  $wp_lyte_plugin_url = defined('WP_PLUGIN_URL') ? trailingslashit(WP_PLUGIN_URL . '/' . dirname(plugin_basename(__FILE__))) : trailingslashit(get_bloginfo('wpurl')) . PLUGINDIR . '/' . dirname(plugin_basename(__FILE__));
15
  $WYLsize = apply_filters( 'widget_text', $instance['WYLsize'], $instance );
16
  if ($WYLsize=="") $WYLsize=$wDefault;
17
 
18
+ $WYLurl=esc_url($instance['WYLurl']);
19
+ $WYLqs=substr(strstr($WYLurl,'?'),1);
20
+ parse_str($WYLqs,$WYLarr);
21
  $WYLid=$WYLarr['v'];
22
 
23
  $wp_lyte_plugin_url = defined('WP_PLUGIN_URL') ? trailingslashit(WP_PLUGIN_URL . '/' . dirname(plugin_basename(__FILE__))) : trailingslashit(get_bloginfo('wpurl')) . PLUGINDIR . '/' . dirname(plugin_basename(__FILE__));
wp-youtube-lyte.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WP YouTube Lyte
4
  Plugin URI: http://blog.futtta.be/tag/lyte
5
  Description: WordPress Lite YouTube Embeds (with optional HTML5 video) in posts.
6
  Author: Frank Goossens (futtta)
7
- Version: 0.6.3
8
  Author URI: http://blog.futtta.be/
9
  */
10
 
4
  Plugin URI: http://blog.futtta.be/tag/lyte
5
  Description: WordPress Lite YouTube Embeds (with optional HTML5 video) in posts.
6
  Author: Frank Goossens (futtta)
7
+ Version: 0.6.4
8
  Author URI: http://blog.futtta.be/
9
  */
10