Discussion on Audio Waveform Player with Playlist

Tean

Tean supports this item

Supported

21 comments found.

radiorodja

radiorodja Purchased

can you support by email?

Tean

Tean Author

Yes, I know, I used your shoutcast url to show you that it works on my side.

http://www.interactivepixel.net/env/awp/api4.html

What you are getting on your side is cors error ( you are trying to load a file via ajax from a different domain than than the on hosting wavesurfer )

https://www.google.hr/webhp?hl=en&sa=X&ved=0ahUKEwjwm4yNoczRAhXMbRQKHWMNDWAQPAgD#hl=en&q=wavesurfer+No+%E2%80%98Access-Control-Allow-Origin%E2%80%99+header+is+present+on+the+requested+resource.+Origin+is+therefore+not+allowed+access.

But I am not sure why it happens on your server and not on mine, settings are the same.

You can try adding data-remote attribute to awp-playlist-item, but I dont know if this is going to help:

li class="awp-playlist-item" data-type="audio" data-mp3="http://live2.radiorodja.com/;stream.mp3" data-remote
Tean

Tean Author

Have you tried some Soundlcoud link? (just for testing). If you get the same error, then you should use ‘data-remote’ attribute (which should first download the file, if possible to your server) , then decode waveform data (its not possible otherwise to decode waveform cross domain).

The weird part if is that this works on my server (Soundcloud and your shoutcast link above) without data-remote method above, while Podcast and Google drive do require data-remote method.

Tean

Tean Author

Let me know your findings, if it works for you with data-remote

by
by
by
by
by
by