My script does not detect the redirection URL
this is the case : Needed a responsive html5 audio player and the best I found was one made by a person called Osvalds .
I mean, my php variable to return a URL like:
But this in turn redirects me to a final URL:
Ok , when I used a flash-based player , there was no problem . And when I use the "audio" tag without the script there is no problem .
I tried to fix this by passing php variable to " CURL " and it worked! But it turned out that my host does not support the " CURLOPT_FOLLOWLOCATION " .
This is my html:
This left a jsFiddle example, in this case the "src" attribute is calling the final URL that ends in MP3 and as you can see, the music plays and the player works.:
And here is the example with the problem, the same code just labeled "source" points to the URL that returns me the variable (remember that this only fails using this script):
It appears only one button (it means the player is failing).
Hope you can help me. Thanks in advance.
Edit: Here is the link to the script author: http://tympanus.net/Development/AudioPlayer/AudioPlayer.zip
Use this code
but your link not contain any MP3 i think now