none
HTML5 audio with Shoutcast - invalid source RRS feed

  • Question

  • I have been trying to make the <audio> tags work with Shoutcast broadcasts in IE11 and have been unsuccessful after trying numerous things I have found on the web. It works fine with Chrome, FireFox, and in various Android browsers, but consistently gives "Invalid Source" errors on IE. The server is telling that the MIME type is audio/mpeg and all seems to be fine on their end - although I don't control the server so can't look at their config ... I have no reason to doubt it though as this has been working for other browsers find as I mentioned.

    I have tried several variations of coding, of which I am putting up three (out of many) all of these work everywhere except IE.

    <audio src="http://s6.voscast.com:8166/;"; type="audio/mp3"; controls="" />Your browser does not support HTML5. Please try another player.</audio>

    <audio controls><source src="http://s6.voscast.com:8166/;"; type="audio/mpeg">Your browser does not support HTML5. Please try another player.</audio>

    <audio controls=controls><source src="http://s6.voscast.com:8166/;"; type="audio/mp3" />Your browser does not support HTML5. Please try another player.</audio>

    What am I missing? I really would like this to work, I've been working on it for a couple of days now, and it's driving me nuts. Thanks!!

    Bob Zorich

    Tuesday, April 7, 2015 1:30 AM

Answers

All replies

  • Hi,

    you missing a file name.

    s.b http://s6.voscast.com/{filename}.mp3

    see http://voscast.com/resources/


    Rob^_^

    Tuesday, April 7, 2015 1:45 AM
  • It's live streaming audio ... not only is that non-standard syntax that breaks everything else, but attempting to make it work had the same result with IE - invalid source  ... voscast has same format as mine - for example:
    file: "http://s1.voscast.com:7000/;stream.mp3",

    • Edited by Relayerbob Tuesday, April 7, 2015 9:21 PM
    Tuesday, April 7, 2015 9:20 PM
  • ref:http://voscast.com/about/

    Flash Player & Scripts We know what we're doing! We've made our own custom flash player, with advanced anti memory-leak technology. Unlike other SHOUTcast flash players, with the VosCast flash player, you can continue listening for hours on end, and the stream won't cut out. Additionally, we offer free scripts, enabling you to fully integrate your station with your site, with information such as the current listener count, the current song, or past songs.

    http://voscast.com/support/

    Regards. 


    Rob^_^

    Wednesday, April 8, 2015 12:16 AM
  • Hoping someone here can tell me how to avoid HTML5 Invalid Source error
    Wednesday, April 8, 2015 1:40 PM
  • Hi,

    ask at voscast.com/support . they require you to use their flash control (not an audio element).


    Rob^_^

    Thursday, April 9, 2015 12:35 AM