Treehouse: Grow your CSS skills. Land your dream job.

HTML 5 audio problems

  • # March 27, 2013 at 6:48 pm

    I am far from experienced but i am attempting to create an online radio station. I have managed to use the html 5 audio player but it only works on safari. on chrome it shows the player but does not function and on firefox the player is not there at all. Is there some code that will correct this???

    Help Please :)

    # March 27, 2013 at 7:06 pm

    you need to make sure you include both types of media (mp3 and ogg). I’d suggest using a plugin or something that is already designed to handle stuff like that.

    If you need to convert audio files, is pretty good with that.

    # March 27, 2013 at 7:19 pm

    Also keep in mind that (I’m pretty sure about this) Firefox doesn’t support MP3 as an audio format for HTML5.

    # March 27, 2013 at 7:26 pm

    Yea i believe firefox ONLY supports ogg file format. Check this out:

    # March 27, 2013 at 8:27 pm

    Thanks for your input guys

    im not using audio files, i am streaming live from a url

    # March 27, 2013 at 8:29 pm

    this is what i have working on safari

    # March 27, 2013 at 8:50 pm

    Since you are streaming you doing this stuff back-end?

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.