Version Description
- improved the html of the form in options.php for better accessibility
Download this release
Release Info
Developer | futtta |
Plugin | WP YouTube Lyte |
Version | 0.2.2 |
Comparing to | |
See all releases |
Code changes from version 0.2.1 to 0.2.2
- options.php +5 -5
- readme.txt +9 -3
- wp-youtube-lyte.php +1 -1
options.php
CHANGED
@@ -21,11 +21,11 @@ function lyte_settings_page() {
|
|
21 |
<tr valign="top">
|
22 |
<th scope="row">Show links below the embedded videos?</th>
|
23 |
<td>
|
24 |
-
<
|
25 |
-
<br />
|
26 |
-
<input type="radio" name="show_links" value="2" <?php if (get_option('show_links')==="2") echo "checked" ?> /> Add both a YouTube and a <a href="http://icant.co.uk/easy-youtube/docs/index.html" target="_blank">Easy YouTube</a>-link
|
27 |
-
<
|
28 |
-
|
29 |
</td>
|
30 |
</tr>
|
31 |
</table>
|
21 |
<tr valign="top">
|
22 |
<th scope="row">Show links below the embedded videos?</th>
|
23 |
<td>
|
24 |
+
<fieldset><legend class="screen-reader-text"><span>Show links?</span></legend>
|
25 |
+
<label title="Show YouTube-link"><input type="radio" name="show_links" value="1" <?php if (get_option('show_links')==="1") echo "checked" ?> /> Add YouTube-link.</label><br />
|
26 |
+
<label title="Show YouTube and Ease YouTube link"><input type="radio" name="show_links" value="2" <?php if (get_option('show_links')==="2") echo "checked" ?> /> Add both a YouTube and a <a href="http://icant.co.uk/easy-youtube/docs/index.html" target="_blank">Easy YouTube</a>-link.</label><br />
|
27 |
+
<label title="Don't include links."><input type="radio" name="show_links" value="0" <?php if ((get_option('show_links')!=="1") && (get_option('show_links')!=="2")) echo "checked" ?> /> Don't add any links.</label>
|
28 |
+
</fieldset>
|
29 |
</td>
|
30 |
</tr>
|
31 |
</table>
|
readme.txt
CHANGED
@@ -3,18 +3,20 @@ Contributors: futtta
|
|
3 |
Tags: youtube, video, lyte, lite youtube embeds
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 2.9.2
|
6 |
-
Stable tag: 0.2.
|
7 |
|
8 |
"Lite YouTube Embeds" look like normal YouTube embeds but don't use Flash unless clicked, thus reducing download size & page rendering time.
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
-
WP-Youtube-lyte inserts "Lite YouTube Embeds" in your blog. These look and feel like normal embedded YouTube, but don't use Flash unless clicked on, thereby
|
13 |
|
14 |
-
WP-Youtube-lyte implements [LYTE](http://blog.futtta.be/2010/04/23/high-performance-youtube-embeds/ "High Performance YouTube embeds"), which is a small javascript-library that creates a "dummy" YouTube-player which includes the clip thumbnail and title. When clicked on, the dummy player is replaced by the Flash player.
|
15 |
|
16 |
WP-Youtube-lyte can be used together with [Smart Youtube](http://wordpress.org/extend/plugins/smart-youtube/ "Great plugin"). In that case WP-Youtube-lyte will take care of the default embeds (httpv), while Smart Youtube continues to parse other types (httpvh, httpvhd, httpvp, ...).
|
17 |
|
|
|
|
|
18 |
== Installation ==
|
19 |
|
20 |
Installation is very straightforward:
|
@@ -27,11 +29,15 @@ Installation is very straightforward:
|
|
27 |
= What features might be added at a later stage? =
|
28 |
* Extra options in the admin-page, e.g. the default size of your video (now: 480X385)
|
29 |
* Having the video title link to the YouTube-page
|
|
|
30 |
|
31 |
= But I would like yet other features to be added! =
|
32 |
Just ask, I'll see what I can do.
|
33 |
|
34 |
== Changelog ==
|
|
|
|
|
|
|
35 |
= 0.2.1 =
|
36 |
* 0.2.0 was broken (options.php M.I.A.), 0.2.1 fixes this
|
37 |
|
3 |
Tags: youtube, video, lyte, lite youtube embeds
|
4 |
Requires at least: 2.9
|
5 |
Tested up to: 2.9.2
|
6 |
+
Stable tag: 0.2.2
|
7 |
|
8 |
"Lite YouTube Embeds" look like normal YouTube embeds but don't use Flash unless clicked, thus reducing download size & page rendering time.
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
+
WP-Youtube-lyte inserts "Lite YouTube Embeds" in your blog. These look and feel like normal embedded YouTube, but don't use Flash unless clicked on, thereby _reducing download size & rendering time substantially_. Just add a YouTube-link with "httpv" instead of "http" and WP-YouTube-lyte will replace that link with the correct (flash-less) code.
|
13 |
|
14 |
+
WP-Youtube-lyte implements [LYTE](http://blog.futtta.be/2010/04/23/high-performance-youtube-embeds/ "High Performance YouTube embeds"), which is a small javascript-library that creates a "dummy" YouTube-player which includes the clip thumbnail and title. When clicked on, the dummy player is seamlessly replaced by the Flash player.
|
15 |
|
16 |
WP-Youtube-lyte can be used together with [Smart Youtube](http://wordpress.org/extend/plugins/smart-youtube/ "Great plugin"). In that case WP-Youtube-lyte will take care of the default embeds (httpv), while Smart Youtube continues to parse other types (httpvh, httpvhd, httpvp, ...).
|
17 |
|
18 |
+
__Coming in v0.3__: support for _html5 youtube embeds_ using [newTube.js](http://futtta.be/newTube/)
|
19 |
+
|
20 |
== Installation ==
|
21 |
|
22 |
Installation is very straightforward:
|
29 |
= What features might be added at a later stage? =
|
30 |
* Extra options in the admin-page, e.g. the default size of your video (now: 480X385)
|
31 |
* Having the video title link to the YouTube-page
|
32 |
+
* Inclusion of [newTube.js](http://futtta.be/newTube/) for html5 YouTube video embedding
|
33 |
|
34 |
= But I would like yet other features to be added! =
|
35 |
Just ask, I'll see what I can do.
|
36 |
|
37 |
== Changelog ==
|
38 |
+
= 0.2.2 =
|
39 |
+
* improved the html of the form in options.php for better accessibility
|
40 |
+
|
41 |
= 0.2.1 =
|
42 |
* 0.2.0 was broken (options.php M.I.A.), 0.2.1 fixes this
|
43 |
|
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 (look ma, even faster!) in posts.
|
6 |
Author: Frank (futtta) Goossens
|
7 |
-
Version: 0.2.
|
8 |
Author URI: http://blog.futtta.be/
|
9 |
*/
|
10 |
require(dirname(__FILE__).'/options.php');
|
4 |
Plugin URI: http://blog.futtta.be/tag/lyte
|
5 |
Description: WordPress Lite YouTube Embeds (look ma, even faster!) in posts.
|
6 |
Author: Frank (futtta) Goossens
|
7 |
+
Version: 0.2.2
|
8 |
Author URI: http://blog.futtta.be/
|
9 |
*/
|
10 |
require(dirname(__FILE__).'/options.php');
|