Getting Started – WavePlayer https://www.waveplayer.info A WordPress audio plugin Mon, 17 Jul 2023 15:35:54 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 https://media.waveplayer.info/wp-content/uploads/2016/02/cropped-thumbnail-512x512-48x48.png Getting Started – WavePlayer https://www.waveplayer.info 32 32 Settings https://www.waveplayer.info/kb/settings/ Wed, 20 Nov 2019 08:03:06 +0000 https://www.waveplayer.info/?post_type=docs&p=8435 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" ]
The attachment IDs in the previous shortcode are a pure examplification. Every time you upload a new audio file to your Media Library, WordPress assigns a new ID to it. When you need to use a shortcode, you need to check first the ID of the audio attachments you want to include in that player.

Please consider that changing any of these settings will affect the way each instance with ANY missing parameter will be displayed on your website.

Buy WavePlayer now, only on


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.

Buy WavePlayer now, only on


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.

Buy WavePlayer now, only on


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.

Buy WavePlayer now, only on


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.

Buy WavePlayer now, only on


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.

]]>
Overriding the default audio player https://www.waveplayer.info/kb/overriding-the-default-audio-player/ Thu, 14 Nov 2019 23:34:06 +0000 https://www.waveplayer.info/?post_type=docs&p=8388 WavePlayer has the capability of overriding the WordPress default audio player. This means that, right after installing WavePlayer, all the shortcodes you have already inserted in your post will be replaced with WavePlayer automatically, without any need to re-edit your posts or change anything in your configuration. Of course, we strongly encourage you to deactivate any other audio player plugin, ensuring that there are no conflicts in your configuration and the overriding function works without interferences.

Please also note that when the URL you are using to add a player with any of the following methods corresponds to an audio attachment in your Media library, WavePlayer is capable of retrieving all the metadata stored in the database pertaining to that audio attachment. This guarantees that you can take advantage of all the extra features WavePlayer associate to your internal files (e.g. play statistics, likes, downloads, etc.), even when adding a file using its URL rather than its attachment ID. Although this latter method is always preferred, the capability of retrieving an attachment ID from the URL of the attached file makes the two result practically indistinguishable.

The following examples demonstrate that WavePlayer can override the default WordPress audio player with all the possible audio-related shortcodes or even the RAW URLs typed in your post.


Overriding the audio and playlist shortcodes

The player above is added in the post editor using the following shortcode:

[ audio mp3="https://media.waveplayer.info/wp-content/uploads/2020/04/0203.mp3"][/audio]

Overriding the embed shortcode

The player above is added simply pasting the URL of the audio file directly in the post editor, like this:

[ embed]https://media.waveplayer.info/wp-content/uploads/2020/04/0203.mp3[/embed]

Overriding the inline URL in the text

https://media.waveplayer.info/wp-content/uploads/2020/04/0203.mp3

]]>
Using WavePlayer in the Classic Editor https://www.waveplayer.info/kb/using-waveplayer-classic-editor/ Tue, 16 Jul 2019 06:26:19 +0000 https://www.waveplayer.info/?post_type=docs&p=8428 The following guide mainly refers to the previous version 2 but it is still valid for WavePlayer 3 if you need or prefer to use the Classic editor, instead of the new block editor.
Step one: add media

Step 1

In order to create a new instance of WavePlayer, simply create or edit the Post or the Page where you want to add the WavePlayer and click on the Add Media button, right above the Visual Editor toolbars.


Step two: insert media

Step 2

In the left sidebar, together with all the other elements WordPress allows you to create, you will find a menu to create a new instance of WavePlayer. Click on Create Waveplayer.


Step 3: upload audio files

Step 3

If you have already uploaded some audio files, you can select it here. Otherwise, click on the Upload files tab, in order to upload new audio files.


Step 4: drop files

Step 4

Upload your audio tracks dragging them to WordPress drop area or Selecting files from your local drives.


Step 5: select audio files

Step 5

The files uploaded while you are in the process of creating a new Waveplayer instance get automatically selected for the instance’s playlist.


Step 6: create waveplayer

Step 6a

While the uploading is still processing, you can select more tracks already present in your Media Library

Step 6b

When the upload is complete and you are happy with you selection, you can finally create a new instance of WavePlayer clicking on the Create a new WavePlayer button.


Step 7: edit player

Step 7a

Now, you can edit your instance of WavePlayer, starting with the order of the tracks. In order to change the order, simply drag and drop their thumbnails around.

Step 7b

In the WavePlayer Settings panel, you can change the default settings of the player, that will alter the aspect of this instance in the page.

Step 7c

When you are happy with your configuration, click on the Insert WavePlayer button to insert the instance you have just created in your page or post.


Step 8: visual editor

Step 8

You can immediately preview the instance you have just inserted in the post editor. You can even playback the audio tracks!

WavePlayer allows you to work with a visually complete and fully interactive rendition of the player right in the post editor, thus saving you the time to go back and forth between the post editor and the actual page in the front end.

If you want to make changes to the selected instance, simply click on the button.


Step 9: add more tracks

Step 9

If you want to add more tracks to your playlist, click on the Add to Waveplayer menu item.


wvpl-use-10

Step 10a

When altering an instance of WavePlayer that you have previously inserted in your post, you can still add more audio tracks, selecting them from the Media Library or even uploading new files, the exact same way you did when originally creating the player.

Step 10b

When you are happy with your selection, click on the Add to WavePlayer button to see your new tracks added to the previous playlist of the player.


Step 11: update waveplayer

Step 11

Of course, you can still change the order of the tracks (draggind the files around) or the aspect of the player (altering the WavePlayer settings).

When you are done with your editing, click on the Update WavePlayer button to make your changes effective.


Step 12: publish and update

Step 12

Click on the Publish (for newly created posts or pages) or the Update button (for already published posts or pages) to finalize your changes.

Now it is time for you to visit the page with your final result!

]]>
Using WavePlayer in Elementor https://www.waveplayer.info/kb/using-waveplayer-elementor/ Mon, 01 Jul 2019 06:24:45 +0000 https://www.waveplayer.info/?post_type=docs&p=8426 Adding WavePlayer to a post or page

In order to add a WavePlayer instance to a post or page using the Elementor editor, you first need to locate the WavePlayer widget among the ones offered by Elementor.

  1. Open the widget list by clicking on the grid icon
  2. Start typing “waveplayer” in the widget search bar
  3. Locate the WavePlayer widget among the results
  4. Drag and drop the widget anywhere you like in your page, inside the Elementor editor

WavePlayer will immediately appear as the empty block shown in the picture below. It is now time to add one or more tracks to the player.

PLAYER OPTIONS

The first panel in the WavePlayer widget editor is the “Player Options“.

Here you can first define which type of files you are going to include and select one or more files that will play inside the instance you are currently editing. For the type of files, you have three options:

Internal files: This is the option you need to select, if you want to add audio files that are uploaded to your Media library. It is the default option and also the one we recommend because of the more efficient way WavePlayer stores the statistics of those files in the database (play count, likes, downloads, etc).

External files: If your files are located in a remote server, you have to choose this option and you will be asked to provide one or more URLs of your remotely hosted files. Although this is perfectly possible, the method we recommend is using internal files only. If you need to host your files on a cloud storage service (such as Amazon S3 or Digital Ocean), we encourage you to look into the offloading of your Media library files.

WooCommerce Preview Files: WavePlayer integrates with your WooCommerce audio products. When you are using Elementor templates to build your shop and product page templates, overriding the default ones distributed with WooCommerce, you can choose this option and won’t need to specify the actual files. WavePlayer will select the appropriate files on the frontend, based on the preview files you previously associated to each product.

ADDING INTERNAL AUDIO FILES TO THE PLAYER

When the Internal Files option is selected, you can easily add your audio files by simply clicking on the “plus” icon of the media selector, initially empty. When the Media modal dialog appears, the option “Create Audio Playlist” is selected by default. This is the right way to add files to the player, so you can start selecting your audio files. When you are done selecting, click on the button “Create a new playlist“.

The “Create WavePlayer” menu item refers to how the previous version 2 used to be added to a post and it is still relevant when you add WavePlayer in the Classic Editor. Please ignore that menu item when selecting your files in the Elementor editor and make sure you select your audio files with the “Create Audio Playlist” menu item (this is the selected option by default when the dialog opens)

In the second step of the audio file selection, you will be presented with a panel where you can now reorder the tracks by simply dragging them around. When you are happy with the order, you can click “Insert audio playlist” to finalize your selection.

With the files you selected, WavePlayer is finally able to render the actual player on the page and the media selector now reflects your audio file selection.

After confirming the list of files included in your player, you can make any adjustment to your selection by simply hovering the mouse and clicking on the “pencil” icon that appears in the top right corner of the media selector.

You can also empty the playlist by clicking on the “trash bin” icon.

]]>
Using WavePlayer in the Gutenberg block editor https://www.waveplayer.info/kb/using-waveplayer-gutenberg/ Mon, 24 Jun 2019 06:22:59 +0000 https://www.waveplayer.info/?post_type=docs&p=8424 Gutenberg is the new WordPress WYSIWYG editor. Created by the same team that developed WordPress, it guarantees not only a high-level of integration in the WordPress backend but also a very fast and light interaction, especially when compared to other page builders that prove to be extremely cumbersome in terms of memory and speed. A page can be designed using blocks, elements that can be selected from a list of factory blocks. WavePlayer adds its own block to the factory list so that you can add it to a page in the most effortless possible way.

Like with any other block, adding a WavePlayer instance to your pages starts with clicking on the “plus” sign on the right or the top of the section where you want to add the player. After locating the WavePlayer block in the list of the available blocks – something that is even easier by typing “waveplayer” in the block search bar –, you are presented with an empty block that invites you to select the audio files that you want to include in the player.

You have three options:

  • Upload: this button opens the file dialog of your computer so that you can select the files you want to upload to the Media Library. Uploading audio files is also possible by simply dragging your audio files and dropping them anywhere inside this block.
  • Media Library: if the files you want to include in the current player are already in the Media Library, you can click on this button to open the Media modal dialog where you will be able to select the files you want to include in the player
  • Insert from URL: when your files are not located inside your web server but are hosted on a remote location, you can use their URLs to include them in the player. If you want to include more than one file, you need to provide a comma-separated list of URLs. Please also make sure you read our Guidelines on Remotely Hosted Files, as you may find our recommendation on this topic very useful for the optimization of your workflow and your website.

The Media modal dialog that opens when clicking on the “Media Library” button shows the results of a search filtered to audio files only. You can select as many files as you like, keeping in mind that the order in which you select them is the order they will be listed in the player.

If you selected a file by mistake, you can remove it from the selection by un-checking the checkmark corresponding to its thumbnail.

The selection is additive by default, meaning that every time you click on a new thumbnail, that file will be added to the selection without any need to press any key on the keyboard.

You can also select a range of files by clicking on the first file and, keeping the SHIFT key pressed, clicking on the last file.

Once you are done with the selection of the tracks you would like to add to the player, you can click on the “Select” button. The Media modal dialog will close and a player with the selected tracks will appear on the page.

Now, you can start altering the visual aspect of the player using the multiple options available in the Block panel. The player is created according to the default settings you configured in Settings > Waveplayer section.

Any change in the visual parameters will be reflected immediately in the editor and the edited player will be re-rendered.

In the following screenshot you can see multiple WavePlayer instances added to a page in the Gutenberg block editor. As you will notice, WavePlayer also allows the use of multiple skin on the same page. This provides you with the flexibility of adapting the player to any possible use.

]]>
Using WavePlayer https://www.waveplayer.info/kb/using-waveplayer/ Thu, 23 May 2019 12:13:49 +0000 https://www.waveplayer.info/?post_type=docs&p=8374 WavePlayer 3 adds native support for both the new Gutenberg Block Editor and the acclaimed Elementor. By using the new WavePlayer Gutenberg Block or the WavePlayer Elementor Widget, you can insert a new player instance to your pages in the most intuitive and effortless way. No shortcodes, no copy and paste. Everything is fully visual, with instant feedback of how each instance will look like in your public page.

Gutenberg

The new Gutenberg Block Editor was created by the same team that developed and actively maintains WordPress. It is no surprise that it is so well integrated within the core of your website backend.

Elementor

With more than 5 million active installations, Elementor is arguably the most popular page builder in the market and for a good reason. If you love Elementor, you will love the new WavePlayer Elementor Widget that allows you to add a player instance in no time and customize it down to its finest detail.

Classic Editor

If you prefer to use the Classic Editor to create and edit your post and pages, you will still be able to add WavePlayer with the “Add Media” button, the same way it was possible in any previous version of WavePlayer, where this was the only possible method. In this case, you can follow this step-by-step guide. This method can also be helpful when your favorite page builder doesn’t support WavePlayer natively and you need to resort to a waveplayer shortcode.

]]>
Installation https://www.waveplayer.info/kb/installation/ Tue, 05 Jan 2016 13:11:24 +0000 https://www.waveplayer.info/?post_type=docs&p=8372

How to install WavePlayer

step 1: add a new plugin to install

Step 1
In order to install the plugin, go to the WordPress Plugins section, click on the Add new button, right beside the Plugins page title.

 

step 2: go to the upload page to install the plugin

Step 2
Click on the Upload Plugin button, right beside the Add Plugins page title.

 

step 3: select the ZIP file containing the plugin you want to upload

Step 3
Click on the Choose file button in order to select the location of your waveplayer.zip file.

 

step 4: choose the zip file to install

Step 4a
Browse to the location where you downloaded the waveplayer.zip file.
Step 4b
Click on the Open button.

 

step 5: press the install now button

Step 5
The plugin is now active. You can click on the Settings link right below its name or go to Settings -> WavePlayer to configure its options.

 

step 6: activate the plugin after the installation completes

Step 6
Once WordPress has finished uploading the plugin files, click on the Activate Plugin link.

 

step 7: go to the settings page of the plugin

Step 7
The plugin is now active. You can click on the Settings link right below its name or go to Settings -> WavePlayer to configure its options.

]]>