Version Description
Download this release
Release Info
Developer | amandato |
Plugin | ![]() |
Version | 0.4.2 |
Comparing to | |
See all releases |
Code changes from version 0.4.1 to 0.4.2
- player.js +3 -1
- powerpress.php +6 -5
- readme.txt +4 -1
player.js
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
* Released under Aoache 2 license:
|
9 |
* http://www.apache.org/licenses/LICENSE-2.0
|
10 |
*
|
|
|
11 |
* version 1.0.2 - 07/26/2008 - Fixed pop up player bug caused by v 1.0.1
|
12 |
* version 1.0.1 - 07/28/2008 - fixed flow player looping playback, flash player no longer loops.
|
13 |
* version 1.0.0 - 07/26/2008 - initial release
|
@@ -83,7 +84,8 @@ function jsMediaPlayer(FlashSrc) {
|
|
83 |
if( this.m_play_image && this.PlayInPage.arguments.length > 2 && this.PlayInPage.arguments[2] )
|
84 |
{
|
85 |
this.m_auto_play = true;
|
86 |
-
document.getElementById( this.m_player_div ).innerHTML = '<a href="
|
|
|
87 |
return false;
|
88 |
}
|
89 |
|
8 |
* Released under Aoache 2 license:
|
9 |
* http://www.apache.org/licenses/LICENSE-2.0
|
10 |
*
|
11 |
+
* version 1.0.3 - 11/02/2008 - Added option for playing quicktime files in an intermediate fashion with an image to click to play.
|
12 |
* version 1.0.2 - 07/26/2008 - Fixed pop up player bug caused by v 1.0.1
|
13 |
* version 1.0.1 - 07/28/2008 - fixed flow player looping playback, flash player no longer loops.
|
14 |
* version 1.0.0 - 07/26/2008 - initial release
|
84 |
if( this.m_play_image && this.PlayInPage.arguments.length > 2 && this.PlayInPage.arguments[2] )
|
85 |
{
|
86 |
this.m_auto_play = true;
|
87 |
+
document.getElementById( this.m_player_div ).innerHTML = '<a href="'+ this.m_media_url +'" onclick="return '+ this.PlayInPage.arguments[2] +'.PlayInPage(\''+ this.m_media_url +'\', \''+ this.m_player_div +'\');" title="Play on page"><img src="'+ this.m_play_image +'" alt="Play on page" /></a>';
|
88 |
+
this.m_player_div = false; // Let tis player be used again on the page
|
89 |
return false;
|
90 |
}
|
91 |
|
powerpress.php
CHANGED
@@ -3,10 +3,11 @@
|
|
3 |
Plugin Name: Blubrry Powerpress
|
4 |
Plugin URI: http://www.blubrry.com/powerpress/
|
5 |
Description: <a href="http://www.blubrry.com/powerpress/" target="_blank">Blubrry Powerpress</a> adds podcasting support to your blog. Features include: media player, 3rd party statistics and iTunes integration.
|
6 |
-
Version: 0.4.
|
7 |
Author: Blubrry
|
8 |
Author URI: http://www.blubrry.com/
|
9 |
Change Log:
|
|
|
10 |
2008-10-24 - v0.4.1: Fixed auto-play bug found in last update, only affected quicktime files with the play on page option.
|
11 |
2008-10-21 - v0.4.0: Added two new play options adding 'play on page' links with and without play in new window links and now use a customizable play image for quicktime media.
|
12 |
2008-10-05 - v0.3.2: Added alternative logic for those who host their blogs on servers with allow_url_fopen turned off.
|
@@ -37,7 +38,7 @@ License: Apache License version 2.0 (http://www.apache.org/licenses/)
|
|
37 |
is interpreted as GPL version 3.0 for compatibility with Apache 2.0 license.
|
38 |
*/
|
39 |
|
40 |
-
define('POWERPRESS_VERSION', '0.
|
41 |
|
42 |
// Include the <itunes:summary> tag in each rss <item> tag.
|
43 |
//define('POWERPRESS_ITEM_SUMMARY', true); // Note, this is not necessary, itunes will use the description value if not present
|
@@ -312,9 +313,9 @@ function powerpress_rss2_head()
|
|
312 |
}
|
313 |
if( $Feed['copyright'] )
|
314 |
echo "\t".'<copyright>'. str_replace( array('©', '(c)', '(C)'), '©', htmlentities($Feed['copyright'], ENT_NOQUOTES, 'UTF-8')) . '</copyright>'.PHP_EOL;
|
315 |
-
if( $Feed['itunes_subtitle'] )
|
316 |
echo "\t".'<itunes:subtitle>' . powerpress_format_itunes_value($Feed['itunes_subtitle']) . '</itunes:subtitle>'.PHP_EOL;
|
317 |
-
if( $Feed['itunes_keywords'] )
|
318 |
echo "\t".'<itunes:keywords>' . powerpress_format_itunes_value($Feed['itunes_keywords']) . '</itunes:keywords>'.PHP_EOL;
|
319 |
if( $Feed['itunes_talent_name'] && $Feed['email'] )
|
320 |
echo "\t".'<managingEditor>'. $Feed['email'] .' ('. htmlentities($Feed['itunes_talent_name'], ENT_NOQUOTES, 'UTF-8') .')</managingEditor>'.PHP_EOL;
|
@@ -701,7 +702,7 @@ function powerpress_format_itunes_value($value)
|
|
701 |
$value = str_replace('>', '', $value);
|
702 |
$value = str_replace(' ', '', $value);
|
703 |
$value = str_replace('&', '', $value); // Last attempt to fix, just remove the &
|
704 |
-
return $
|
705 |
}
|
706 |
|
707 |
function powerpress_smart_trim($value, $char_limit = 250, $remove_new_lines = false)
|
3 |
Plugin Name: Blubrry Powerpress
|
4 |
Plugin URI: http://www.blubrry.com/powerpress/
|
5 |
Description: <a href="http://www.blubrry.com/powerpress/" target="_blank">Blubrry Powerpress</a> adds podcasting support to your blog. Features include: media player, 3rd party statistics and iTunes integration.
|
6 |
+
Version: 0.4.2
|
7 |
Author: Blubrry
|
8 |
Author URI: http://www.blubrry.com/
|
9 |
Change Log:
|
10 |
+
2008-10-24 - v0.4.2: Fixed quicktime in-page player bug, fixed bug which caused itunes keywords and subtitle to be blank and incremented version number.
|
11 |
2008-10-24 - v0.4.1: Fixed auto-play bug found in last update, only affected quicktime files with the play on page option.
|
12 |
2008-10-21 - v0.4.0: Added two new play options adding 'play on page' links with and without play in new window links and now use a customizable play image for quicktime media.
|
13 |
2008-10-05 - v0.3.2: Added alternative logic for those who host their blogs on servers with allow_url_fopen turned off.
|
38 |
is interpreted as GPL version 3.0 for compatibility with Apache 2.0 license.
|
39 |
*/
|
40 |
|
41 |
+
define('POWERPRESS_VERSION', '0.4.2' );
|
42 |
|
43 |
// Include the <itunes:summary> tag in each rss <item> tag.
|
44 |
//define('POWERPRESS_ITEM_SUMMARY', true); // Note, this is not necessary, itunes will use the description value if not present
|
313 |
}
|
314 |
if( $Feed['copyright'] )
|
315 |
echo "\t".'<copyright>'. str_replace( array('©', '(c)', '(C)'), '©', htmlentities($Feed['copyright'], ENT_NOQUOTES, 'UTF-8')) . '</copyright>'.PHP_EOL;
|
316 |
+
if( trim($Feed['itunes_subtitle']) )
|
317 |
echo "\t".'<itunes:subtitle>' . powerpress_format_itunes_value($Feed['itunes_subtitle']) . '</itunes:subtitle>'.PHP_EOL;
|
318 |
+
if( trim($Feed['itunes_keywords']) )
|
319 |
echo "\t".'<itunes:keywords>' . powerpress_format_itunes_value($Feed['itunes_keywords']) . '</itunes:keywords>'.PHP_EOL;
|
320 |
if( $Feed['itunes_talent_name'] && $Feed['email'] )
|
321 |
echo "\t".'<managingEditor>'. $Feed['email'] .' ('. htmlentities($Feed['itunes_talent_name'], ENT_NOQUOTES, 'UTF-8') .')</managingEditor>'.PHP_EOL;
|
702 |
$value = str_replace('>', '', $value);
|
703 |
$value = str_replace(' ', '', $value);
|
704 |
$value = str_replace('&', '', $value); // Last attempt to fix, just remove the &
|
705 |
+
return $value;
|
706 |
}
|
707 |
|
708 |
function powerpress_smart_trim($value, $char_limit = 250, $remove_new_lines = false)
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Angelo Mandato, Blubrry.com
|
|
3 |
Tags: podcast, podcasting, itunes, enclosure, zune, iphone, audio, video, rss2, feed, player, media, rss
|
4 |
Requires at least: 2.5.0
|
5 |
Tested up to: 2.6.3
|
6 |
-
Stable tag: 0.4.
|
7 |
|
8 |
Add podcasting support to your blog.
|
9 |
|
@@ -71,5 +71,8 @@ Added two new play options adding 'play on page' links with and without play in
|
|
71 |
0.4.1 released on 10/24/2008
|
72 |
Fixed auto-play bug found in last update, only affected quicktime files with the play on page option.
|
73 |
|
|
|
|
|
|
|
74 |
== Feedback ==
|
75 |
http://www.blubrry.com/powerpress/
|
3 |
Tags: podcast, podcasting, itunes, enclosure, zune, iphone, audio, video, rss2, feed, player, media, rss
|
4 |
Requires at least: 2.5.0
|
5 |
Tested up to: 2.6.3
|
6 |
+
Stable tag: 0.4.2
|
7 |
|
8 |
Add podcasting support to your blog.
|
9 |
|
71 |
0.4.1 released on 10/24/2008
|
72 |
Fixed auto-play bug found in last update, only affected quicktime files with the play on page option.
|
73 |
|
74 |
+
0.4.2 released on 11/02/2008
|
75 |
+
Fixed quicktime in-page player bug, fixed bug which caused itunes keywords and subtitle to be blank and incremented version number.
|
76 |
+
|
77 |
== Feedback ==
|
78 |
http://www.blubrry.com/powerpress/
|