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 Aug 31 '14 at 21:17
  • I'm looking for alternatives, as well for a solution to my problem. – Anon Sep 1 '14 at 20:28
  • See this very old post regarding IceCast – eyoung100 Sep 2 '14 at 16:27

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, privacy policy and cookie policy

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