Soundy Background Music - Version 2.5

Version Description

   -    July 28th, 2014 = * Fixed bug introduced in 2.4: Soundy's metabox in Edit Page/Post did merge with other metaboxes.

Download this release

Release Info

Developer bducouedic
Plugin Icon 128x128 Soundy Background Music
Version 2.5
Comparing to
See all releases

Code changes from version 2.4 to 2.5

Files changed (3) hide show
  1. readme.txt +11 -4
  2. soundy.php +3 -3
  3. templates/meta-box.php +1 -0
readme.txt CHANGED
@@ -3,12 +3,12 @@ Contributors: bducouedic
3
Tags: audio, sound, music, background, soundtrack, background sound, background audio, background music, posts, pages
4
Requires at least: 3.6
5
Tested up to: 3.9
6
- Stable tag: 2.4
7
License: GPL2
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
Donate link: http://webartisan.ch/en/products/soundy-background-music/free-wordpress-plugin/#wa_donate
10
11
- Soundy allows any page or post to play a soundtrack while it is displayed.
12
13
== Description ==
14
= Description =
@@ -143,12 +143,16 @@ To correct the problem, reset the Soundtrack option of the Soundy meta box back
143
In *Custom* mode a page retains the soundtrack defined when the *Custom* option was selected. In *Default* mode, the page uses the default soundtrack currently defined in the Soundy settings.
144
145
1. **Is it advised to put my audio files on a separate storage cloud ?**
146
- Yes it is, especially if you have a lot of traffic on your website. Putting your audio files on a separate storage cloud will release the load on your website and improve page load response time in your visitor's browsers. There is a lot of Cloud Storage Providers out there. Hereis a list of such providers: [Audio Hostings - free audio hosting sites](http://www.audiohostings.com/). Your hosting provider might also offer cloud storage.
147
148
1. **On WP front-end, Soundy's Play/Pause button does not respond correctly. What's the problem ?**
149
Soundy needs jQuery 1.10.2 which is the default jQuery library of the last versions of WordPress. However some themes load their own jQuery library. If this library is not up-to-date, Soundy's Play/Pause button gets into troubles.
150
Using WordPress Default jQuery library is actually what Soundy does and this is what your theme also should do instead of loading its own old jQuery version. In Soundy Version 2.0 and later, you can now set the variable $use_own_jquery_lib_on_front_end to true in the main Soundy PHP file: soundy.php. To make this modification, go to the plugins page, click on the Edit link of the Soundy plugin, look for the variable and set it to true. This should fix the problem.
151
152
== Screenshots ==
153
154
= Screenshots =
@@ -163,6 +167,9 @@ Using WordPress Default jQuery library is actually what Soundy does and this is
163
164
= Changelog =
165
166
= 2.4    -    July 23rd, 2014 =
167
* Input fields of Soundy Background Music Metabox are now distributed in tabs in Edit Page and Edit Post pages.
168
* If Audio URL does not end with audio file extension, administrators and authors can now specify the audio type.
@@ -173,7 +180,7 @@ Using WordPress Default jQuery library is actually what Soundy does and this is
173
* Made admin user interface a little bit more attractive. No functionality change.
174
175
= 2.2    -    May 4th, 2014 =
176
- * Fixed bug introduced in 2.0: in the admin plugins page, all plugins had a Settings link pointing to Soundy's settings because of a bug in soundy.php. Sorry for the inconvenience.
177
178
= 2.1    -    April 26th, 2014 =
179
* Corrected major bug introduced in 2.0: when Soundy was installed for the first time: the default audio file URL and the default four play/pause button image URLs were undefined.
3
Tags: audio, sound, music, background, soundtrack, background sound, background audio, background music, posts, pages
4
Requires at least: 3.6
5
Tested up to: 3.9
6
+ Stable tag: 2.5
7
License: GPL2
8
License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
Donate link: http://webartisan.ch/en/products/soundy-background-music/free-wordpress-plugin/#wa_donate
10
11
+ This plugin allows any page or post to play a soundtrack while it is displayed.
12
13
== Description ==
14
= Description =
143
In *Custom* mode a page retains the soundtrack defined when the *Custom* option was selected. In *Default* mode, the page uses the default soundtrack currently defined in the Soundy settings.
144
145
1. **Is it advised to put my audio files on a separate storage cloud ?**
146
+ Yes it is, especially if you have a lot of traffic on your website. Putting your audio files on a separate storage cloud will release the load on your website and improve page load response time in your visitor's browsers. There is a lot of Cloud Storage Providers out there. Here is a list of such providers: [Audio Hostings - free audio hosting sites](http://www.audiohostings.com/). Your hosting provider might also offer cloud storage.
147
148
1. **On WP front-end, Soundy's Play/Pause button does not respond correctly. What's the problem ?**
149
Soundy needs jQuery 1.10.2 which is the default jQuery library of the last versions of WordPress. However some themes load their own jQuery library. If this library is not up-to-date, Soundy's Play/Pause button gets into troubles.
150
Using WordPress Default jQuery library is actually what Soundy does and this is what your theme also should do instead of loading its own old jQuery version. In Soundy Version 2.0 and later, you can now set the variable $use_own_jquery_lib_on_front_end to true in the main Soundy PHP file: soundy.php. To make this modification, go to the plugins page, click on the Edit link of the Soundy plugin, look for the variable and set it to true. This should fix the problem.
151
152
+ 1. **I get a PHP parser error. What's the problem ?**
153
+ The error message starts with: "Parse error: syntax error, unexpected T_FUNCTION".
154
+ This happens when the PHP parser version is too old. Soundy needs PHP 5.3 or higher (PHP 5.3.0 has been released in June 2009).
155
+
156
== Screenshots ==
157
158
= Screenshots =
167
168
= Changelog =
169
170
+ = 2.5    -    July 28th, 2014 =
171
+ * Fixed bug introduced in 2.4: Soundy's metabox in Edit Page/Post did merge with other metaboxes.
172
+
173
= 2.4    -    July 23rd, 2014 =
174
* Input fields of Soundy Background Music Metabox are now distributed in tabs in Edit Page and Edit Post pages.
175
* If Audio URL does not end with audio file extension, administrators and authors can now specify the audio type.
180
* Made admin user interface a little bit more attractive. No functionality change.
181
182
= 2.2    -    May 4th, 2014 =
183
+ * Fixed bug introduced in 2.0: in the admin plugins page, all plugins had a Settings link pointing to Soundy's settings because of a bug in soundy.php.
184
185
= 2.1    -    April 26th, 2014 =
186
* Corrected major bug introduced in 2.0: when Soundy was installed for the first time: the default audio file URL and the default four play/pause button image URLs were undefined.
soundy.php CHANGED
@@ -1,13 +1,13 @@
1
<?php
2
/**
3
* @package Soundy_Background_Music
4
- * @version 2.4
5
*/
6
/*
7
Plugin Name: Soundy Background Music
8
Plugin URI: http://www.webartisan.ch/en/products/soundy-background-music/free-wordpress-plugin/
9
Description: This plugin allows administrators and authors to set a background sound on any post or page.
10
- Version: 2.4
11
Author: Bertrand du Couédic
12
Author URI: http://webartisan.ch/en/about
13
License: GPL2
@@ -31,7 +31,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31
class WarSoundy
32
{
33
public $soundy_type = 'free';
34
- public $soundy_version = '2.4';
35
public $soundy_free_wp_home_url = 'http://wordpress.org/plugins/soundy-background-music/';
36
public $sdy_pl_free_wp_home_url = 'http://wordpress.org/plugins/soundy-audio-playlist/';
37
public $soundy_pro_home_url = 'http://webartisan.ch/products/soundy-background-music/pro-wordpress-plugin/';
1
<?php
2
/**
3
* @package Soundy_Background_Music
4
+ * @version 2.5
5
*/
6
/*
7
Plugin Name: Soundy Background Music
8
Plugin URI: http://www.webartisan.ch/en/products/soundy-background-music/free-wordpress-plugin/
9
Description: This plugin allows administrators and authors to set a background sound on any post or page.
10
+ Version: 2.5
11
Author: Bertrand du Couédic
12
Author URI: http://webartisan.ch/en/about
13
License: GPL2
31
class WarSoundy
32
{
33
public $soundy_type = 'free';
34
+ public $soundy_version = '2.5';
35
public $soundy_free_wp_home_url = 'http://wordpress.org/plugins/soundy-background-music/';
36
public $sdy_pl_free_wp_home_url = 'http://wordpress.org/plugins/soundy-audio-playlist/';
37
public $soundy_pro_home_url = 'http://webartisan.ch/products/soundy-background-music/pro-wordpress-plugin/';
templates/meta-box.php CHANGED
@@ -210,6 +210,7 @@ var war_soundy_admin = new war_SoundyAdmin(
210
</tr>
211
</table>
212
</div>
213
<!--
214
<script>
215
function war_show()
210
</tr>
211
</table>
212
</div>
213
+ </div>
214
<!--
215
<script>
216
function war_show()