Add plugin js files to footer is not working

Product:

All WonderPlugin Products

Question:

In the plugin, settings menu, I checked the option "Add plugin js scripts to the footer", but the plugin js files are not added to the WordPress footer.

Answer:

The plugin is using WordPress hook wp_footer to print the plugin js scripts to the footer. wp_footer is one of the most essential theme hooks.

The problem is because your WordPress theme does not call the WordPress function wp_footer() and the hook is not enabled. Please contact your WordPress theme provider and ask for how to support the wp_footer hook.

For more details about wp_footer hook and wp_footer() function, please view: https://codex.wordpress.org/Plugin_API/Action_Reference/wp_footer and https://codex.wordpress.org/Function_Reference/wp_footer.

How to play a shoutcast streaming with WonderPlugin Audio Player

Product:

WonderPlugin Audio Player

Question:

I wonder how could I play a shoutcast audio streaming with WonderPlugin Audio Player? I tried to enter the address of the .pls file to the plugin, but it's not playing.

Answer:

The .pls file is actually a text file that contains a link or links to the audio streaming. You need to open the .pls file with a text editor, find the streaming URL and directly enter the streaming URL to the plugin.

If the streaming URL has a format like:

http://IP:port

You need to add a suffix ;&type=mp3 and enter the following URL to the plugin:

http://IP:port/;&type=mp3

Then in the plugin, step 1, Add Audio dialog, you can enter the streaming URL to the Mp3 URL box and check the option "This is a live streaming".

WordPress Live streaming Audio Player

An online demo is as following:

https://www.wonderplugin.com/wordpress-audio-player/examples/wordpress-live-streaming-audio-player-id16/

Add mp3 download link to audio player

Product:

WonderPlugin Audio Player

Question:

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

Answer:

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 Advanced Options field:

data-tracklistitemformat="%ID%. %TITLE% <span style='float:right;'><a href='%AUDIOURL%' class='wpaudiodownloadlink' download='%TITLE%.mp3' target='_blank' onclick='event.stopPropagation();'>Right Click to Save</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.

Please note, the HTML download attribute does not work in Safari at the moment. In Safari, if you directly click the link, instead of downloading the mp3 file, it will open and play the mp3.

To download the mp3 file, you could ask your users to right click on the link, and select "Download Linked File" from the context menu.