Plugin:
Question:
We need to be able to copy the URL of a track so we can easily send it to clients. If I right click the audio title, nothing happens, and I was hoping to be able to copy the link. Is this possible on the front end? I need an easy way to copy the URL of a track.
Answer:
By default, the title in the playlist is not a direct link to the audio URL, so it cannot be used to directly copy the audio URL.
To add the URL to the title, in the plugin, edit the player, navigate to step 3 Options tab, the Playlist tab, select the option "Customise the playlist item format", then in the following input box, find and replace the text:
%TITLE%
with:
<a href="%AUDIOURL%" onclick="return false;">%TITLE%</a>
For example, for the skin "Bar with Playlist", the final text will be:
<div class='amazingaudioplayer-item-id'>%ID%</div><div class='amazingaudioplayer-item-info'>%DURATION%</div><div class='amazingaudioplayer-item-title'><a href="%AUDIOURL%" onclick="return false;">%TITLE%</a></div>
A demo player is as follows, right clicking on the audio title will give you the option to copy the link address.
