Version Description
- Released on 09/19/2022
- Bugfix for Modern Player Customization
- Bugfix for modern player embed link
Download this release
Release Info
Developer | benbeecroft |
Plugin | PowerPress Podcasting plugin by Blubrry |
Version | 9.4.1 |
Comparing to | |
See all releases |
Code changes from version 9.4 to 9.4.1
- powerpress-player.php +22 -9
- powerpress.php +2 -2
- readme.txt +7 -2
powerpress-player.php
CHANGED
@@ -159,8 +159,9 @@ function powerpress_shortcode_handler( $attributes, $content = null )
|
|
159 |
$EpisodeData['width'] = $width;
|
160 |
if( !empty($height) )
|
161 |
$EpisodeData['height'] = $height;
|
162 |
-
|
163 |
-
|
|
|
164 |
if( isset($GeneralSettings['premium_caps']) && $GeneralSettings['premium_caps'] && !powerpress_premium_content_authorized($channel) )
|
165 |
{
|
166 |
$return .= powerpress_premium_content_message($post->ID, $channel, $EpisodeData);
|
@@ -947,7 +948,7 @@ function powerpressplayer_embedable($media_url, $ExtraData = array())
|
|
947 |
case 'mp3':
|
948 |
case 'oga':
|
949 |
case 'm4a': {
|
950 |
-
if( in_array( $GeneralSettings['player'], array('mediaelement-audio', 'default', 'blubrryaudio') ) )
|
951 |
$player = $GeneralSettings['player'];
|
952 |
}; break;
|
953 |
case 'mp4':
|
@@ -1357,14 +1358,26 @@ function powerpressplayer_build_blubrryaudio($media_url, $EpisodeData=array(), $
|
|
1357 |
// media URL is all we need., as long as it's hosted at blubrry.com...
|
1358 |
if( preg_match('/(content|protected|ins|mc)\.blubrry\.com/', $media_url) )
|
1359 |
{
|
|
|
1360 |
$playerSettings = get_option('powerpress_bplayer');
|
1361 |
$hash = '';
|
1362 |
-
if(!empty($playerSettings)) {
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1368 |
}
|
1369 |
$GeneralSettings = get_option('powerpress_general');
|
1370 |
if( !empty($EpisodeData['episode_id']) ) {
|
159 |
$EpisodeData['width'] = $width;
|
160 |
if( !empty($height) )
|
161 |
$EpisodeData['height'] = $height;
|
162 |
+
|
163 |
+
|
164 |
+
$GeneralSettings = powerpress_get_settings('powerpress_general');
|
165 |
if( isset($GeneralSettings['premium_caps']) && $GeneralSettings['premium_caps'] && !powerpress_premium_content_authorized($channel) )
|
166 |
{
|
167 |
$return .= powerpress_premium_content_message($post->ID, $channel, $EpisodeData);
|
948 |
case 'mp3':
|
949 |
case 'oga':
|
950 |
case 'm4a': {
|
951 |
+
if( in_array( $GeneralSettings['player'], array('mediaelement-audio', 'default', 'blubrryaudio', 'blubrrymodern') ) )
|
952 |
$player = $GeneralSettings['player'];
|
953 |
}; break;
|
954 |
case 'mp4':
|
1358 |
// media URL is all we need., as long as it's hosted at blubrry.com...
|
1359 |
if( preg_match('/(content|protected|ins|mc)\.blubrry\.com/', $media_url) )
|
1360 |
{
|
1361 |
+
$GeneralSettings = get_option('powerpress_general');
|
1362 |
$playerSettings = get_option('powerpress_bplayer');
|
1363 |
$hash = '';
|
1364 |
+
if (!empty($playerSettings)) {
|
1365 |
+
if($GeneralSettings['player'] == 'blubrrymodern') {
|
1366 |
+
if (!empty($playerSettings['textcolor'])) {
|
1367 |
+
$hash = "textcolor-" . $playerSettings['textcolor'];
|
1368 |
+
}
|
1369 |
+
if(!empty($playerSettings['backgroundcolor'])) {
|
1370 |
+
$hash .= "&backgroundcolor-" . $playerSettings['backgroundcolor'];
|
1371 |
+
}
|
1372 |
+
} else {
|
1373 |
+
$hash = 'darkOrLight-' . $playerSettings['playerstyle'] . "&shownotes-" . $playerSettings['showtext'] . "&shownotesBackground-" . $playerSettings['showbg'];
|
1374 |
+
$hash .= "&download-" . $playerSettings['downloadcolortext'] . "&downloadBackground-" . $playerSettings['downloadbgcolor'];
|
1375 |
+
$hash .= "&subscribe-" . $playerSettings['textsubscribe'] . "&subscribeBackground-" . $playerSettings['subscribebg'] . "&share-" . $playerSettings['textshare'] . "&shareBackground-" . $playerSettings['bgshare'];
|
1376 |
+
}
|
1377 |
+
if ($hash) {
|
1378 |
+
$hash = str_replace('#', '', $hash); //remove # symbol from hex colors
|
1379 |
+
$hash = '#' . $hash;
|
1380 |
+
}
|
1381 |
}
|
1382 |
$GeneralSettings = get_option('powerpress_general');
|
1383 |
if( !empty($EpisodeData['episode_id']) ) {
|
powerpress.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
|
6 |
-
Version: 9.4
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
@@ -35,7 +35,7 @@ if( !function_exists('add_action') ) {
|
|
35 |
}
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
-
define('POWERPRESS_VERSION', '9.4' );
|
39 |
|
40 |
// Translation support:
|
41 |
if ( !defined('POWERPRESS_ABSPATH') )
|
3 |
Plugin Name: Blubrry PowerPress
|
4 |
Plugin URI: http://create.blubrry.com/resources/powerpress/
|
5 |
Description: <a href="https://create.blubrry.com/resources/powerpress/" target="_blank">Blubrry PowerPress</a> is the No. 1 Podcasting plugin for WordPress. Developed by podcasters for podcasters; features include Simple and Advanced modes, multiple audio/video player options, subscribe to podcast tools, podcast SEO features, and more! Fully supports Apple Podcasts (previously iTunes), Google Podcasts, Spotify, Stitcher, and Blubrry Podcasting directories, as well as all podcast applications and clients.
|
6 |
+
Version: 9.4.1
|
7 |
Author: Blubrry
|
8 |
Author URI: https://blubrry.com/
|
9 |
Requires at least: 3.6
|
35 |
}
|
36 |
|
37 |
// WP_PLUGIN_DIR (REMEMBER TO USE THIS DEFINE IF NEEDED)
|
38 |
+
define('POWERPRESS_VERSION', '9.4.1' );
|
39 |
|
40 |
// Translation support:
|
41 |
if ( !defined('POWERPRESS_ABSPATH') )
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: podcasting, podcast, podcaster, powerpress, itunes, apple, apple podcasts,
|
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 6.0
|
7 |
-
Stable tag: 9.4
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -186,9 +186,14 @@ If you are a fan of PowerPress, we would greatly appreciate it if you could take
|
|
186 |
|
187 |
== Changelog ==
|
188 |
|
|
|
|
|
|
|
|
|
|
|
189 |
= 9.4 =
|
190 |
* Released on 09/12/2022
|
191 |
-
* Customization for
|
192 |
* Bugfix for generating transcripts
|
193 |
|
194 |
= 9.3.1 =
|
4 |
Requires at least: 3.6
|
5 |
Requires PHP: 5.2
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 9.4.1
|
8 |
Donate link: https://create.blubrry.com/resources/podcast-media-hosting/
|
9 |
License: GPLv2 or later
|
10 |
|
186 |
|
187 |
== Changelog ==
|
188 |
|
189 |
+
= 9.4.1 =
|
190 |
+
* Released on 09/19/2022
|
191 |
+
* Bugfix for Modern Player Customization
|
192 |
+
* Bugfix for modern player embed link
|
193 |
+
|
194 |
= 9.4 =
|
195 |
* Released on 09/12/2022
|
196 |
+
* Customization for Modern Blubrry Player
|
197 |
* Bugfix for generating transcripts
|
198 |
|
199 |
= 9.3.1 =
|