Changeset 2391211
- Timestamp:
- 09/30/2020 08:37:14 PM (5 years ago)
- Location:
- zbplayer
- Files:
-
- 28 added
- 3 edited
-
tags/2.4.2 (added)
-
tags/2.4.2/css (added)
-
tags/2.4.2/css/zbPlayer.css (added)
-
tags/2.4.2/css/zbPlayerAdmin.css (added)
-
tags/2.4.2/data (added)
-
tags/2.4.2/data/player.swf (added)
-
tags/2.4.2/js (added)
-
tags/2.4.2/js/zbPlayerColors.js (added)
-
tags/2.4.2/js/zbPlayerFlash.js (added)
-
tags/2.4.2/languages (added)
-
tags/2.4.2/languages/zbplayer-de_DE.mo (added)
-
tags/2.4.2/languages/zbplayer-de_DE.po (added)
-
tags/2.4.2/languages/zbplayer-fr_FR.mo (added)
-
tags/2.4.2/languages/zbplayer-fr_FR.po (added)
-
tags/2.4.2/languages/zbplayer-it_IT.mo (added)
-
tags/2.4.2/languages/zbplayer-it_IT.po (added)
-
tags/2.4.2/languages/zbplayer-ru_RU.mo (added)
-
tags/2.4.2/languages/zbplayer-ru_RU.po (added)
-
tags/2.4.2/languages/zbplayer-uk.mo (added)
-
tags/2.4.2/languages/zbplayer-uk.po (added)
-
tags/2.4.2/languages/zbplayer.pot (added)
-
tags/2.4.2/license.txt (added)
-
tags/2.4.2/readme.txt (added)
-
tags/2.4.2/templates (added)
-
tags/2.4.2/templates/zbPlayer.admin.tpl (added)
-
tags/2.4.2/uninstall.php (added)
-
tags/2.4.2/zbPlayer.admin.php (added)
-
tags/2.4.2/zbPlayer.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/zbPlayer.admin.php (modified) (1 diff)
-
trunk/zbPlayer.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zbplayer/trunk/readme.txt
r2390562 r2391211 5 5 Requires at least: 3.5 6 6 Tested up to: 5.5 7 Stable tag: 2.4. 17 Stable tag: 2.4.2 8 8 License: Dual Licensed under the MIT and GPLv2 or later 9 9 … … 47 47 48 48 == Changelog == 49 50 = 2.4.2 = 51 * Preload files metadata to fix Download problem for links with special characters 49 52 50 53 = 2.4.1 = -
zbplayer/trunk/zbPlayer.admin.php
r2390561 r2391211 7 7 * 8 8 * zbPlayer.admin.php 9 * Release 2.4. 1September 20209 * Release 2.4.2 September 2020 10 10 */ 11 11 -
zbplayer/trunk/zbPlayer.php
r2390561 r2391211 4 4 Plugin URI: http://gilevich.com/portfolio/zbplayer 5 5 Description: Converts mp3 files links to a small flash player and a link to download file mp3 file. 6 Version: 2.4. 16 Version: 2.4.2 7 7 Author: Vladimir Gilevich 8 8 Author URI: http://gilevich.com/ … … 12 12 */ 13 13 14 define('ZBPLAYER_VERSION', "2.4. 0");14 define('ZBPLAYER_VERSION', "2.4.2"); 15 15 define('ZBPLAYER_DEFAULT_WIDTH', "500"); 16 16 define('ZBPLAYER_DEFAULT_INITIALVOLUME', "60"); … … 152 152 $expectedReplaces = (is_array($matches) && count($matches)) ? count($matches[0]) : -1; 153 153 $result = preg_replace_callback( $pattern, "zbp_insert_player", $content, $expectedReplaces ); 154 // fix if error occur ed for preg_replace_callback()154 // fix if error occurred for preg_replace_callback() 155 155 $content = empty($result) ? $content : $result; 156 156 // fix preg bug … … 209 209 210 210 if ((wp_is_mobile() && get_option('zbp_native_mobile') == 'true') || get_option('zbp_native_desktop') == 'true') { 211 $ret .= '<audio class="zbPlayerNativeMobile" src="'.$link.'" controls preload=" none"></audio>';211 $ret .= '<audio class="zbPlayerNativeMobile" src="'.$link.'" controls preload="metadata"></audio>'; 212 212 } else { 213 213 // add flash player … … 218 218 . '&autostart='.$autostart.'" type="application/x-shockwave-flash" class="zbPlayerFlash" src="' 219 219 . plugin_dir_url(__FILE__).'data/player.swf" id="zbPlayer"/>'; 220 $ret .= '<audio class="zbPlayerNative" src="'.$link.'" controls preload=" none"></audio>';220 $ret .= '<audio class="zbPlayerNative" src="'.$link.'" controls preload="metadata"></audio>'; 221 221 } 222 222 $ret .= '</div>';
Note: See TracChangeset
for help on using the changeset viewer.