Soundy Background Music - Version 3.3

Version Description

   -    June 10th, 2016 = * Load performance increased by removing link prefetch statement on audio file.

Download this release

Release Info

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

Code changes from version 3.2 to 3.3

.idea/.name ADDED
@@ -0,0 +1 @@
 
1
+ 3.3
.idea/3.3.iml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
9
+
.idea/deployment.xml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="PublishConfigData" autoUpload="Always" traceLevel="DETAILS">
4
+ <option name="myAutoUpload" value="ALWAYS" />
5
+ </component>
6
+ </project>
7
+
.idea/encodings.xml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
.idea/misc.xml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectInspectionProfilesVisibleTreeState">
4
+ <entry key="Project Default">
5
+ <profile-state>
6
+ <expanded-state>
7
+ <State>
8
+ <id />
9
+ </State>
10
+ <State>
11
+ <id>Control flow issuesJavaScript</id>
12
+ </State>
13
+ <State>
14
+ <id>JavaScript</id>
15
+ </State>
16
+ <State>
17
+ <id>JavaScript function metricsJavaScript</id>
18
+ </State>
19
+ <State>
20
+ <id>Naming conventionsJavaScript</id>
21
+ </State>
22
+ <State>
23
+ <id>Potentially confusing code constructsJavaScript</id>
24
+ </State>
25
+ </expanded-state>
26
+ <selected-state>
27
+ <State>
28
+ <id>CoffeeScript</id>
29
+ </State>
30
+ </selected-state>
31
+ </profile-state>
32
+ </entry>
33
+ </component>
34
+ <component name="ProjectRootManager" version="2" />
35
+ <component name="SvnBranchConfigurationManager">
36
+ <option name="mySupportsUserInfoFilter" value="true" />
37
+ </component>
38
+ </project>
39
+
.idea/modules.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/3.3.iml" filepath="$PROJECT_DIR$/.idea/3.3.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
.idea/scopes/scope_settings.xml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="svn" />
5
+ </component>
6
+ </project>
7
+
.idea/workspace.xml ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="5bdbdc90-e429-41dd-874c-280889498679" name="Default" comment="" />
5
+ <ignored path="3.3.iws" />
6
+ <ignored path=".idea/workspace.xml" />
7
+ <option name="TRACKING_ENABLED" value="true" />
8
+ <option name="SHOW_DIALOG" value="false" />
9
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+ <option name="LAST_RESOLUTION" value="IGNORE" />
12
+ </component>
13
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
14
+ <component name="CreatePatchCommitExecutor">
15
+ <option name="PATCH_PATH" value="" />
16
+ </component>
17
+ <component name="DaemonCodeAnalyzer">
18
+ <disable_hints />
19
+ </component>
20
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
21
+ <component name="FavoritesManager">
22
+ <favorites_list name="3.3" />
23
+ </component>
24
+ <component name="FileEditorManager">
25
+ <leaf />
26
+ </component>
27
+ <component name="FindManager">
28
+ <FindUsagesManager>
29
+ <setting name="OPEN_NEW_TAB" value="false" />
30
+ </FindUsagesManager>
31
+ </component>
32
+ <component name="IdeDocumentHistory">
33
+ <option name="changedFiles">
34
+ <list>
35
+ <option value="$PROJECT_DIR$/templates/front-end.php" />
36
+ <option value="$PROJECT_DIR$/soundy.php" />
37
+ <option value="$PROJECT_DIR$/readme.txt" />
38
+ <option value="$PROJECT_DIR$/../../trunk/readme.txt" />
39
+ </list>
40
+ </option>
41
+ </component>
42
+ <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
43
+ <component name="ProjectFrameBounds">
44
+ <option name="y" value="23" />
45
+ <option name="width" value="1440" />
46
+ <option name="height" value="831" />
47
+ </component>
48
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
49
+ <OptionsSetting value="true" id="Add" />
50
+ <OptionsSetting value="true" id="Remove" />
51
+ <OptionsSetting value="true" id="Checkout" />
52
+ <OptionsSetting value="true" id="Update" />
53
+ <OptionsSetting value="true" id="Status" />
54
+ <OptionsSetting value="true" id="Edit" />
55
+ <ConfirmationsSetting value="0" id="Add" />
56
+ <ConfirmationsSetting value="0" id="Remove" />
57
+ </component>
58
+ <component name="ProjectReloadState">
59
+ <option name="STATE" value="0" />
60
+ </component>
61
+ <component name="ProjectView">
62
+ <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
63
+ <flattenPackages />
64
+ <showMembers />
65
+ <showModules />
66
+ <showLibraryContents />
67
+ <hideEmptyPackages />
68
+ <abbreviatePackageNames />
69
+ <autoscrollToSource />
70
+ <autoscrollFromSource />
71
+ <sortByType />
72
+ </navigator>
73
+ <panes>
74
+ <pane id="Scope" />
75
+ <pane id="ProjectPane">
76
+ <subPane>
77
+ <PATH>
78
+ <PATH_ELEMENT>
79
+ <option name="myItemId" value="3.3" />
80
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
81
+ </PATH_ELEMENT>
82
+ </PATH>
83
+ <PATH>
84
+ <PATH_ELEMENT>
85
+ <option name="myItemId" value="3.3" />
86
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
87
+ </PATH_ELEMENT>
88
+ <PATH_ELEMENT>
89
+ <option name="myItemId" value="3.3" />
90
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
91
+ </PATH_ELEMENT>
92
+ </PATH>
93
+ <PATH>
94
+ <PATH_ELEMENT>
95
+ <option name="myItemId" value="3.3" />
96
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
97
+ </PATH_ELEMENT>
98
+ <PATH_ELEMENT>
99
+ <option name="myItemId" value="3.3" />
100
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
101
+ </PATH_ELEMENT>
102
+ <PATH_ELEMENT>
103
+ <option name="myItemId" value="templates" />
104
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
105
+ </PATH_ELEMENT>
106
+ </PATH>
107
+ </subPane>
108
+ </pane>
109
+ </panes>
110
+ </component>
111
+ <component name="PropertiesComponent">
112
+ <property name="options.lastSelected" value="File.Encoding" />
113
+ <property name="options.splitter.main.proportions" value="0.3" />
114
+ <property name="options.splitter.details.proportions" value="0.2" />
115
+ <property name="options.searchVisible" value="true" />
116
+ <property name="WebServerToolWindowFactoryState" value="true" />
117
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/../../trunk/readme.txt" />
118
+ </component>
119
+ <component name="RunManager">
120
+ <list size="0" />
121
+ </component>
122
+ <component name="ShelveChangesManager" show_recycled="false" />
123
+ <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="true" SSL_PROTOCOLS="sslv3">
124
+ <option name="USER" value="" />
125
+ <option name="PASSWORD" value="" />
126
+ <option name="mySSHConnectionTimeout" value="30000" />
127
+ <option name="mySSHReadTimeout" value="30000" />
128
+ <option name="LAST_MERGED_REVISION" />
129
+ <option name="MERGE_DRY_RUN" value="false" />
130
+ <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
131
+ <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
132
+ <option name="IGNORE_SPACES_IN_MERGE" value="false" />
133
+ <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
134
+ <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
135
+ <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
136
+ <option name="FORCE_UPDATE" value="false" />
137
+ <option name="IGNORE_EXTERNALS" value="false" />
138
+ <configuration useDefault="false">$USER_HOME$/.subversion</configuration>
139
+ <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
140
+ </component>
141
+ <component name="TaskManager">
142
+ <task active="true" id="Default" summary="Default task">
143
+ <changelist id="5bdbdc90-e429-41dd-874c-280889498679" name="Default" comment="" />
144
+ <created>1465541411126</created>
145
+ <updated>1465541411126</updated>
146
+ </task>
147
+ <servers />
148
+ </component>
149
+ <component name="ToolWindowManager">
150
+ <frame x="0" y="23" width="1440" height="831" extended-state="6" />
151
+ <editor active="false" />
152
+ <layout>
153
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
154
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
155
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
156
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.44384304" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
157
+ <window_info id="Remote Host" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
158
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
159
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
160
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
161
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
162
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
163
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
164
+ <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
165
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
166
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
167
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
168
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
169
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
170
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
171
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
172
+ </layout>
173
+ </component>
174
+ <component name="Vcs.Log.UiProperties">
175
+ <option name="RECENTLY_FILTERED_USER_GROUPS">
176
+ <collection />
177
+ </option>
178
+ </component>
179
+ <component name="VcsContentAnnotationSettings">
180
+ <option name="myLimit" value="2678400000" />
181
+ </component>
182
+ <component name="VcsManagerConfiguration">
183
+ <option name="myTodoPanelSettings">
184
+ <TodoPanelSettings />
185
+ </option>
186
+ </component>
187
+ <component name="XDebuggerManager">
188
+ <breakpoint-manager />
189
+ </component>
190
+ <component name="editorHistoryManager">
191
+ <entry file="file://$PROJECT_DIR$/../../trunk/readme.txt">
192
+ <provider selected="true" editor-type-id="text-editor">
193
+ <state line="247" column="221" selection-start="19101" selection-end="19101" vertical-scroll-proportion="12.101828" vertical-offset="0" max-vertical-offset="4725">
194
+ <folding />
195
+ </state>
196
+ </provider>
197
+ </entry>
198
+ <entry file="file://$PROJECT_DIR$/templates/front-end.php">
199
+ <provider selected="true" editor-type-id="text-editor">
200
+ <state line="129" column="0" selection-start="5360" selection-end="5360" vertical-scroll-proportion="0.35376045" vertical-offset="1808" max-vertical-offset="3840">
201
+ <folding />
202
+ </state>
203
+ </provider>
204
+ </entry>
205
+ <entry file="file://$PROJECT_DIR$/readme.txt">
206
+ <provider selected="true" editor-type-id="text-editor">
207
+ <state line="171" column="79" selection-start="0" selection-end="19101" vertical-scroll-proportion="0.4308094" vertical-offset="3120" max-vertical-offset="4725">
208
+ <folding />
209
+ </state>
210
+ </provider>
211
+ </entry>
212
+ <entry file="file://$PROJECT_DIR$/soundy.php">
213
+ <provider selected="true" editor-type-id="text-editor">
214
+ <state line="33" column="51" selection-start="1218" selection-end="1218" vertical-scroll-proportion="0.24791086" vertical-offset="406" max-vertical-offset="25095">
215
+ <folding>
216
+ <element signature="e#6#65#0" expanded="true" />
217
+ </folding>
218
+ </state>
219
+ </provider>
220
+ </entry>
221
+ </component>
222
+ </project>
223
+
readme.txt CHANGED
@@ -3,7 +3,7 @@ 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: 4.5
6
- Stable tag: 3.2
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
@@ -168,6 +168,9 @@ This happens when the PHP parser version is too old. Soundy needs PHP 5.3 or hig
168
 
169
  = Changelog =
170
 
 
 
 
171
  = 3.2 &nbsp;&nbsp; - &nbsp;&nbsp; March 10th, 2016 =
172
  * Security exploit fixed.
173
 
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: 4.5
6
+ Stable tag: 3.3
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
168
 
169
  = Changelog =
170
 
171
+ = 3.3 &nbsp;&nbsp; - &nbsp;&nbsp; June 10th, 2016 =
172
+ * Load performance increased by removing link prefetch statement on audio file.
173
+
174
  = 3.2 &nbsp;&nbsp; - &nbsp;&nbsp; March 10th, 2016 =
175
  * Security exploit fixed.
176
 
soundy.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * @package Soundy_Background_Music
4
- * @version 3.1
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: 3.2
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 = '3.2';
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/';
@@ -1545,11 +1545,6 @@ class WarSoundy
1545
  $audio_code = str_replace( array( "\n", "\r" ), ' ', $audio_code );
1546
  wp_enqueue_scripts( 'jquery' );
1547
  ?>
1548
- <link rel="prefetch" href="<?php echo $audio_file_url; ?>">
1549
- <link rel="prefetch" href="<?php echo $this->button_url_play; ?>">
1550
- <link rel="prefetch" href="<?php echo $this->button_url_pause; ?>">
1551
- <link rel="prefetch" href="<?php echo $this->hover_url_play; ?>">
1552
- <link rel="prefetch" href="<?php echo $this->hover_url_pause; ?>">
1553
  <script>
1554
  var war_soundy_front_end = new war_SoundyFrontEnd(
1555
  '<?php echo $pp_code; ?>',
1
  <?php
2
  /**
3
  * @package Soundy_Background_Music
4
+ * @version 3.3
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: 3.3
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 = '3.3';
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/';
1545
  $audio_code = str_replace( array( "\n", "\r" ), ' ', $audio_code );
1546
  wp_enqueue_scripts( 'jquery' );
1547
  ?>
 
 
 
 
 
1548
  <script>
1549
  var war_soundy_front_end = new war_SoundyFrontEnd(
1550
  '<?php echo $pp_code; ?>',
templates/front-end.php CHANGED
@@ -127,11 +127,6 @@ class WarSoundyFrontEnd
127
  }
128
  }
129
  ?>
130
- <link rel="prefetch" href="<?php echo $audio_file_url; ?>">
131
- <link rel="prefetch" href="<?php echo $this->button_url_play; ?>">
132
- <link rel="prefetch" href="<?php echo $this->button_url_pause; ?>">
133
- <link rel="prefetch" href="<?php echo $this->hover_url_play; ?>">
134
- <link rel="prefetch" href="<?php echo $this->hover_url_pause; ?>">
135
  <script>
136
  var war_soundy_front_end = new war_SoundyFrontEnd(
137
  {
127
  }
128
  }
129
  ?>
 
 
 
 
 
130
  <script>
131
  var war_soundy_front_end = new war_SoundyFrontEnd(
132
  {