preschool
preschool

Reputation: 203

Shoutcast stream not playing with jPlayer

I am trying to stream my shoutcast url with jPlayer. I get it to work flawlessly with other shoutcast URLs, just the one I rquire is not working. In Chrome I get a request cancelled status message.

This is my working code for all other streams I found.

$(document).ready(function(){

    var stream = {
        title: "ABC Jazz",
        mp3: "http://80.237.158.41:8000/;"
    },
    ready = false;

    $("#jquery_jplayer_1").jPlayer({
        ready: function (event) {
            ready = true;
            $(this).jPlayer("setMedia", stream);
        },
        pause: function() {
            $(this).jPlayer("clearMedia");
        },
        error: function(event) {
            if(ready && event.jPlayer.error.type === $.jPlayer.error.URL_NOT_SET) {
                // Setup the media stream again and play it.
                $(this).jPlayer("setMedia", stream).jPlayer("play");
            }
        },
        swfPath: "../js/jplayer/",
        supplied: "mp3",
        preload: "none",
        wmode: "window",
        keyEnabled: true
    });

});

All of these streams work:

Except for this one:

Does anybody have the slightest clue why it will be doing this?

Upvotes: 0

Views: 1540

Answers (1)

Betro
Betro

Reputation: 11

Try setting url to http://80.237.158.41:8000/;*.nsv', type: 'mp3' or just http://80.237.158.41:8000/;*.nsv'

It also works with all html5 and jplayers.

Upvotes: 1

Related Questions