WP YouTube Lyte - Version 0.3.5

Version Description

  • changed function-name in options.php to avoid errors like "Fatal error: Cannot redeclare register_mysettings()"
Download this release

Release Info

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

Code changes from version 0.3.4 to 0.3.5

Files changed (3) hide show
  1. options.php +3 -3
  2. readme.txt +4 -1
  3. wp-youtube-lyte.php +1 -1
options.php CHANGED
@@ -3,10 +3,10 @@ add_action('admin_menu', 'lyte_create_menu');
3
 
4
  function lyte_create_menu() {
5
  add_options_page( 'WP YouTube Lyte settings', 'WP YouTube Lyte', 'manage_options', __FILE__, 'lyte_settings_page');
6
- add_action( 'admin_init', 'register_mysettings' );
7
  }
8
 
9
- function register_mysettings() {
10
  register_setting( 'lyte-settings-group', 'newTube' );
11
  register_setting( 'lyte-settings-group', 'show_links' );
12
  }
@@ -24,7 +24,7 @@ function lyte_settings_page() {
24
  <td>
25
  <fieldset><legend class="screen-reader-text"><span>Use Flash or HTML5 video?</span></legend>
26
  <label title="normal YouTube embeds with Flash video"><input type="radio" name="newTube" value="0" <?php if (get_option('newTube')!=="1") echo "checked" ?> /> Normal YouTube embeds with Flash video. Player size: 480X385px.</label><br />
27
- <label title="embed HTML5 video (highly experimental)"><input type="radio" name="newTube" value="1" <?php if (get_option('newTube')==="1") echo "checked" ?> /> Embed HTML5 video (<a href="http://wordpress.org/extend/plugins/wp-youtube-lyte/faq/" target="_blank">very experimental, see FAQ</a>). Player size: 650X390.</label><br />
28
  </fieldset>
29
  </td>
30
  </tr>
3
 
4
  function lyte_create_menu() {
5
  add_options_page( 'WP YouTube Lyte settings', 'WP YouTube Lyte', 'manage_options', __FILE__, 'lyte_settings_page');
6
+ add_action( 'admin_init', 'register_lyte_settings' );
7
  }
8
 
9
+ function register_lyte_settings() {
10
  register_setting( 'lyte-settings-group', 'newTube' );
11
  register_setting( 'lyte-settings-group', 'show_links' );
12
  }
24
  <td>
25
  <fieldset><legend class="screen-reader-text"><span>Use Flash or HTML5 video?</span></legend>
26
  <label title="normal YouTube embeds with Flash video"><input type="radio" name="newTube" value="0" <?php if (get_option('newTube')!=="1") echo "checked" ?> /> Normal YouTube embeds with Flash video. Player size: 480X385px.</label><br />
27
+ <label title="embed HTML5 video (highly experimental)"><input type="radio" name="newTube" value="1" <?php if (get_option('newTube')==="1") echo "checked" ?> /> Embed HTML5 video (<a href="http://wordpress.org/extend/plugins/wp-youtube-lyte/faq/" target="_blank">very experimental, see FAQ</a>). Player size: 650X390px.</label><br />
28
  </fieldset>
29
  </td>
30
  </tr>
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: futtta
3
  Tags: youtube, video, lyte, lite youtube embeds, html5 video, html5
4
  Requires at least: 2.9
5
  Tested up to: 3.0
6
- Stable tag: 0.3.4
7
 
8
  "Lite YouTube Embeds" look like normal YouTube embeds but don't use Flash, thus reducing download size & page rendering time.
9
 
@@ -52,6 +52,9 @@ It's an re-implementation of [an earlier experiment called 'newTube.js'](http://
52
  Just ask, I'll see what I can do.
53
 
54
  == Changelog ==
 
 
 
55
  = 0.3.4 =
56
  * tested succesfully on the brand new wordpress 3.0 release
57
  * css changes to avoid themes messing up lyte-player layout
3
  Tags: youtube, video, lyte, lite youtube embeds, html5 video, html5
4
  Requires at least: 2.9
5
  Tested up to: 3.0
6
+ Stable tag: 0.3.5
7
 
8
  "Lite YouTube Embeds" look like normal YouTube embeds but don't use Flash, thus reducing download size & page rendering time.
9
 
52
  Just ask, I'll see what I can do.
53
 
54
  == Changelog ==
55
+ = 0.3.5 =
56
+ * changed function-name in options.php to avoid errors like "Fatal error: Cannot redeclare register_mysettings()"
57
+
58
  = 0.3.4 =
59
  * tested succesfully on the brand new wordpress 3.0 release
60
  * css changes to avoid themes messing up lyte-player layout
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 (futtta) Goossens
7
- Version: 0.3.4
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 (futtta) Goossens
7
+ Version: 0.3.5
8
  Author URI: http://blog.futtta.be/
9
  */
10