[Icecast] What HTML5 radio player do you use ?
thomas.ruecker at tieto.com
Wed Mar 6 03:45:16 PST 2013
On 05/03/13 16:36, michel memeteau wrote:
> Hi , We think about updating our current flash based player  to a
> HTML5 one that would magically work on any mobile or desktop browser
> (So with flash fallback) to play our icecast streams ( MP3 + OGG  )
> It would be great if the stream could start instantly.
Most browsers should support your use-case already.
Just go with the HTML5 draft:
So something like this should work:
<audio autoplay controls>
type='audio/ogg; codecs="vorbis"' >
type='audio/mpeg; codecs="vorbis"' >
<p>Your browser doesn't support HTML audio. Sorry.</p>
Actually I tested this with Firefox, Chrome, Opera and IE10.
Opera didn't like to autoplay for unknown reasons.
And only IE needed the crappy mp3 stream fallback, so essentially you're
able to reach the main market share of desktop browsers already with
just a vorbis stream without having to worry about a licensed mp3
For reference here's my test setup:
This URL will become invalid at some point in the near future.
> What do you use currently to achieve this ?
A plain and up to date web browser. ;)
Welcome to the brave new world of streaming, without the need for
installing obscure plugins or running insecure java or flash applets.
More information about the Icecast