I'm using the following code to stream audio on a web page:

<audio controls autoplay="autoplay"><source src="http://example:8001/mpd.ogg" type="audio/mp3">

It works just well on Firefox, but on Chromium/Chrome it stops when I change the track. So it's browser related, and doesn't have nothing to do with MPD itself.

  • Are you looking for alternatives, or reporting a bug? What is your actual question?
    – dan
    Commented Aug 31, 2014 at 21:17
  • I'm looking for alternatives, as well for a solution to my problem.
    – Anon
    Commented Sep 1, 2014 at 20:28
  • See this very old post regarding IceCast
    – eyoung100
    Commented Sep 2, 2014 at 16:27

1 Answer 1


You need to change type="audio/mp3 to type="audio/ogg.

Example -

<audio controls autoplay="autoplay"><source src="http://example:8001/mpd.ogg" type="audio/ogg">

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.