stream is working in chrome but not in firefox

sbhadauria
@sbhadauria
10 years ago
129 posts
Audio streaming is working in chrome but not in firefox, we have got the below mentioned URL to play the mp3 files by our system(Jamroom) but
we have not found any file on this URL so we are trying to find out how this
URL is executing.
URL:
http://yoursite.com/audio/stream/audio_file/2/key=C5vDD812qrUg/file.mp3
updated by @sbhadauria: 25 Jun 2014 09:36:01PM
updated by @sbhadauria: 07/29/14 12:58:03AM
michael
@michael
10 years ago
7,746 posts
If your not going to post a url for us to see that working for ourselves, at least post a way to reproduce the problem.
alt=
DannyA
@dannya
10 years ago
584 posts
Here is an example
http://www.sampatti.com/xtraxxdev2/
Click play on media "danny testing invoice"

look in console.
chrome plays fine.
firefox returns error.

However, I think part of the question was general as to how that URL is generated.
updated by @dannya: 06/26/14 12:02:27AM
michael
@michael
10 years ago
7,746 posts
That's a fantastic looking skin. Great work!

What is that format that your using to return data, its not JSON.

[{title_id: "128", track_id: "128", artist: [[1, 1, "admin", "http://www.sampatti.com/xtraxxdev2/admin"], [128, 1, "New jrAudio", "http://www.sampatti.com/xtraxxdev2/admin/songs/128/new-jraudio"], [3809, 2, "admin", "http://www.sampatti.com/xtraxxdev2/admin"]], title: "New jrAudio", title_url: "http://www.sampatti.com/xtraxxdev2/admin/songs/128/new-jraudio", track_url: "http://www.sampatti.com/xtraxxdev2/admin/songs/128/new-jraudio", label: [13088, "", "songs"], genre: "Accapella", genre_url: "/songs/genre=Accapella", catnumber: "SSR1301000", promo: false, duration: "00:00:01", r_date: "2014-05-22", price: {hbr: 10.00, wav: 10.00}, bought: false, bpm: 128, license: 175, image: "http://www.sampatti.com/xtraxxdev2/songs/image/audio_image/128/large/crop=auto/", thumb: "http://www.sampatti.com/xtraxxdev2/songs/image/audio_image/128/small/crop=auto/", mp3: "http://www.sampatti.com/xtraxxdev2/songs/stream/audio_file/128/key=q9uz9A3SRf9d/file.mp3", waveform: "http://www.sampatti.com/xtraxxdev2/songs/image/audio_waveform_image/128/xxlarge/"}] 

When I open the file directly in firefox it plays just fine. So it seams to me to be something to do with the headers.

The same issue does not appear to be an issue with the default players so I would look at the way you are passing the song to the player.

In the default players it is passed in via the jPlayerPlaylist() javascript function.

Tags