Search code examples
javascriptsoundcloudsoundmanager2

soundcloud streaming IE8


I can't seem to get the soundcloud API to stream a track in IE8.

Works fine in other browsers (also IE9 and IE10).

The stream demo on the soundcloud docs also doesn't work for me on IE8

...

SC.stream("/tracks/" + _model.id, function(sound) {
    _sound = sound;
    _sound.play({
        whileplaying: onPlaying,
        onpause: onPaused,
        onplay: onPlayed,
        onresume: onPlayed,
        onfinish: onFinished
    });
});

...

Or is this a soundmanager problem? When I try to stream I can see the soundmanager file getting requested, and then, nothing more, whereas it should load the flashfallbacks etc. (which it does in IE9 for example)

Is this just unsupported for IE8, or...?


Solution

  • I can't figure out exactly why, but when I include my own soundManager, file, everything works as expected.

    My guess is that the soundmanager file gets loaded from another domain, so IE8 can't handle that very well. The tracks on the other hand get loaded through jsonp, which DOES work properly in IE8.