WavePlayer settings – located at the Settings –> WavePlayer page of the WordPress Admin area – define how to display a shortcode with no parameters provided other than the IDs of the audio tracks you want to included in that particular instance of the player, like the following one:
[ waveplayer ids="101,102,103" ]
Please consider that changing any of these settings will affect the way each instance with ANY missing parameter will be displayed on your website.
Player
In the first section of the WavePlayer Settings, you can define the default options for the autoplay
, repeat_all
and shuffle
parameters. Whenever you insert an instance of the Waveplayer without providing any of these parameters, the instance will behave according to these settings.
In this panel you can also choose whether the WavePlayer will override the default audio
and playlist
shortcodes and if the playback will automatically jump for an instance to the following one at the end of each playlist.
Style
In this section, you can select the default skin, style, size and shape. You can also choose the default font used for text elements of the player, the position of the sticky player and the default thumbnail used by the player when the track currently playing back is not associated to any featured image.
Palettes
This section is reserved to the definition of the palettes that you can select to easily define the colors of the elements. The 1-click Palette Generator is particularly useful to define a new random palette in just one click. A new palette generated with this tool can then be fine-tuned color by color, saved in the palette list and used as both the site-wide default palette for every player of the palette of a specific instance.
Any change to these settings is immediately reflected in the two players – one for light mode, one for dark mode – at the bottom of the page.
Waveform
In this section, you can define all the parameters that are responsible for the rendering and the behavior of the waveform.
The color you select here can be overridden by the selected palette, according to the overriding option in the previous Palettes tab.
Placeholders
One of the strengths of WavePlayer is that it doesn’t force you to have a predefined set of icons, buttons or information details for each track. In this section, you can define your own set of placeholders for each area of the player: the info bar of the currently playing track, the playlist row and the info bar in the sticky player.
This section is also where you can define any custom field for the audio attachments. Those custom field wi
Advanced
The Advanced section is entirely reserved for the Custom CSS and the Custom Javascript box.
In regards to the Custom CSS box, WordPress offers you several places where you can add your custom CSS rulesets (e.g. the “Additional CSS” box of the Theme Customizer). Nevertheless, we like to keep things separated and use this area to write any custom CSS ruleset that applies to WavePlayer exclusively. This way, you can keep your customization even when switching to a different theme.
The Custom Javascript box allows you to add your own script. The placeholders technique gives you the ability to create custom icons and buttons and attach them to custom events. This would be the best place to add the scripts triggered by your custom events.
This section is also where you can define any custom field for the audio attachments. Those custom field wi
WooCommerce
This section is divided into two areas.
In the top one, you can select all the options regarding how WavePlayer will incorporate an instance of the player to your products, in both the Shop and Product pages.
The bottom one allows you to batch create products for the audio files you have already in your Media Library with the further option of deciding whether the product will be drafted as a simple or a variable one. You can also set their price. In case of simple products, they will also be marked automatically as downloadable and virtual.
Once the process is complete, you can review each product, adding the necessary downloadable files, and publish it.