Add mp3 download link to audio player

Product:

Wonder Audio Player

Question:

How can I add download links to the player so my visitor can download the mp3 file?

Answer:

Updated on May 2020: Wonder Audio Player Version 9.6 added 6 skins to directly create audio players with download buttons and social media share buttons. Please view the following tutorial for how to use the new skins: WordPress audio player with download buttons and social media share buttons.

You can add download links to the player track list.

In the plugin, step 2 Skins dialog, please choose a skin that has a track list, then in step 3, Options tab, click the Advanced Options button, enter the following text to the Data Options field:

data-tracklistitemformat="%ID%. %TITLE% <span style='float:right;'><a href='%AUDIOURL%' class='wpaudiodownloadlink' download='%TITLE%.mp3' target='_blank' onclick='event.stopPropagation();'>Download</a></span>"

In the above code, %ID%, %TITLE% and %AUDIOURL% are predefined macro variables. They will be replaced by each audio id, title and audio URL dynamically.

An online demo is as follows:

How to Manually Upgrade the Plugin Without Losing Existing Work

This tutorial guides you through the process of manually upgrading the plugin to a new version. You can follow these instructions to upgrade from the Free version to the Pro version, or to update either version to the latest release.

Before proceeding with the tutorial, we strongly recommend making a backup of your WordPress website.

There are two methods for manually upgrading the plugin to its latest version:

The First Method

There are 4 steps in this method:

Step 1 - Make sure the keep data option is enabled

In your WordPress backend, goto the left menu Plugin Name (e.g., Wonder Carousel, Wonder Slider, etc) -> Settings, make sure there is an option Keep data when deleting the plugin and the option is checked. The option is checked by default. If your current version is very old, it may not have this option. In this case, do not use this method, use the following second method instead.

Step 2 - Deactivate and delete the old version

In the WordPress backend, goto the left menu Plugins -> Installed Plugins, deactivate the plugin and delete it. When deleting the plugin, ignore the warning "Are you sure you wish to delete these files and data" and click the button "Yes, Delete these files and data". This is a standard warning from WordPress.

Step 3 - Install and activate the new version

In the WordPress backend, goto the left menu Plugins -> Add New, click Upload Plugin, select the downloaded new version plugin zip file, install and activate it.

Step 4 - Clear WordPress Caches

  • If you have installed a WordPress js/css minify plugin or WordPress cache plugin for example, Autoptimize, W3 Total Cache, WP Rocket, WP Fastest Cache, WP Super Cache, empty all caches from the plugin.
  • Some web hosts, for example, GoDaddy, WPEngine, SiteGround, DreamHost, will also cache web files. You need to clear caches of the web hosting before testing. Please contact your web hosting provider and ask about how to clear caches.
  • Clear caches of your web browser before testing

The Second Method

If you are using a very old version, you may need to use this method to upgrade the plugin. There are 3 steps in this method:

Step 1: Install the new version plugin via FTP

First please extract the new version plugin ZIP file to a folder on your computer, then upload the extracted Plugin folder to the wp-content/plugins folder in your WordPress FTP server.

When a ZIP file is extracted, some unzip software may add a parent folder outside of the Plugin folder. Please make sure you have uploaded the Plugin folder, not its parent folder.

If your WordPress already has an old version installed, make sure to overwrite the existing folder in the server. Or you can delete the old version files first then upload the new version files.

Step 2: Make sure the plugin is activated

In your WordPress backend, left menu, Plugins -> Installed Plugins, find the plugin from the list, make sure the plugin is activated. If it's not, click the Activate link.

Step 3 - Clear WordPress Caches

  • If you have installed a WordPress js/css minify plugin or WordPress cache plugin for example, Autoptimize, W3 Total Cache, WP Rocket, WP Fastest Cache, WP Super Cache, empty all caches from the plugin.
  • Some web hosts, for example, GoDaddy, WPEngine, SiteGround, DreamHost, will also cache web files. You need to clear caches of the web hosting before testing. Please contact your web hosting provider and ask about how to clear caches.
  • Clear caches of your web browser before testing

Not all audio files loading in Google Chrome

Question:

I purchased the commercial version of your audio plugin this morning and installed it on a client’s site who uses quite a few audio files. One page in particular contains 10 different audio files. I’m having a problem “loading” the last three audio files in Google Chrome on both a mac and pc. All the audio files work great in IE, Safari, and Firefox. They actually work fine on the chrome mobile application too.

Is there a setting that I need to change to get all the files to load when the page loads in Chrome?

Answer:

The problem is because Chrome has a maximum connection limit of html5 audios.

To fix the problem, in step 3, Options tab, Advanced Options, enter the following text to the Advanced Options tab:

data-preloadaudio="false"

With this change, the player will only load the mp3 file when required, and it will fix the problem.

WordPress Carousel on RTL webpage

Question:

I installed the carousel plugin, and everything is fine, apart from the fact the the click on the errows (right and left) doesnt move the carousel...

Answer:

It's because the direction of your webpage is rtl. To fix the problem, you can try to add the following CSS code to your WordPress theme CSS file:

.wonderplugincarousel {
   direction: ltr;
}

Continuous YouTube Playing Demo

Please watch the demo at: https://www.wonderplugin.com/wordpress-gallery/continuous-youtube-playing-demo/

The demo is created with WonderPlugin Gallery Plugin.

To play YouTube video continuously, in the plugin, Step 3, Options, tab, check the option "Auto slide" and "Automatically play video".

Please note, this feature won't work on mobile and tablet devices, for example iPhone, iPad and Android. It also won't work on old web browsers, for example, Internet Explorer 8.

Add extra information to the player tracklist

Question:

I like the WonderPlugin Audio very much and I uses it on our site. However I have the following question:

I use the skin: Jukebox version but I am missing one column at the end of each inserted Audio line.

The missing element is to be able to add a document (doc. or PDF file) to that audio line. In that document could be the music (notes), or the words of the song or additional information like the writer and some background information.

The new audio line will look like: sequential number, song title, minutes:seconds, a symbol like open book or name.

In order to define the document file name we need an additional line to add the URL when defining the new Audio file.

My Question: Is that possible now or in the future, Please?

Answer:

Firstly, please upgrade to the latest version if your version number is less than 1.4.

Then you can take the following steps:

1. In the plugin, Step 1, MP3 tab, enter your link to the Information text field, for example:

<a href="https://www.wonderplugin.com/" target="_blank">WonderPlugin</a>

You can add different link text for each of your audios.

2. In Step 3, Options tab, Advanced Options, enter the following text to the Advanced options field:

data-infoformat="%ARTIST% %ALBUM%"
data-tracklistitemformat="%ID%. %TITLE% <span style='position:absolute;top:0;right:0;'>%INFO% - %DURATION%</span>"

In above code, the %INFO% will be dynamically replaced by the information you entered.

A demo is as following:

Display description in Lightbox of WordPress Grid Gallery

Question:

I was wondering if there was an Advanced Option allowing the data-description field to be displayed on the Lightbox when an image is clicked in the Grid Gallery?

Answer:

Please upgrade to the latest version if your version number is below 1.2.

In the plugin, Step 3, Options tab, click "Lightbox Options", you can choose whether to display the description, you can also change the font and style by modifying the CSS code.

WordPress Grid Gallery Lightbox

Hide Lightbox Navigation Arrows

Question:

Hi there,

Is there any code I can use within the script when calling a lightbox to disable the navigation arrows?

As Lightbox cannot auto detect connection speed of the computer accessing my site, I have created a lightbox with a gallery on it underneath that’s a bit of a workaround. When a thumbnail (play video) image is clicked on in my page, lightbox launches with an image. I have made a gallery that displays under the image to either stream HD content, SD content or Low Res content. Works great, but the navigation arrows appear when you hover over the video. I just want to remove these on the video light boxes, but not on the photo ones I have running elsewhere on the site, so I’m not looking for a universal code, just something in the script that calls the lightbox like “navarrows=false” or something like that.

Is that possible?

Many thanks for the help!

Answer:

If you want to hide the arrows on specific pages, you can add the following CSS code to these pages:

<style type="text/css">
#html5-prev {
  display: none !important;
}
#html5-next {
  display: none !important;
}
</style>