Hi , We think about updating our current flash based player [1] 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 [2] ) It would be great if the stream could start instantly. What do you use currently to achieve this ? [1] http://www.radiogalere.org/emissions/popup.php [2] http://www.radiogalere.org:8080/status <-----------------------------------------------------------------------------------------------------------> web perso : http://memeteau.org <xmpp%3Afreechelmi at jabber.fr> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20130305/fce8ef6e/attachment.htm
Hi, On 05/03/13 16:36, michel memeteau wrote:> Hi , We think about updating our current flash based player [1] 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 [2] ) > > It would be great if the stream could start instantly.Most browsers should support your use-case already. Just go with the HTML5 draft: http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#the-audio-element So something like this should work: <audio autoplay controls> <source src='http://www.radiogalere.org:8080/galere.ogg' type='audio/ogg; codecs="vorbis"' > <source src='http://www.radiogalere.org:8080/galere.mp3' type='audio/mpeg; codecs="vorbis"' > <p>Your browser doesn't support HTML audio. Sorry.</p> </audio> 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 encoder etc. For reference here's my test setup: http://www.bfst.de/foss/icecast/firefox/galere.html 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. Cheers Thomas
Hi thomas , thanks for your answer. 2013/3/6 "R?cker, Thomas" <thomas.ruecker at tieto.com>> 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 > encoder etc. >I agree with you on vorbis HTML5 dominance, but the mp3 encoder will stay for obvious reasons ( Idevices, Flash etc...) Welcome to the brave new world of streaming, without the need for> installing obscure plugins or running insecure java or flash applets. >Well, We still have 30% of Non HTML5 audio browsers : IE6, IE8 , I can force people to install chrome Frame wich is a great solution but proposing a flash fallback is needed anyway. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20130306/74f0be3b/attachment-0001.htm
Hello El mi?, 06-03-2013 a las 13:45 +0200, "R?cker, Thomas" escribi?:> Hi, > > On 05/03/13 16:36, michel memeteau wrote: > > Hi , We think about updating our current flash based player [1] 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 [2] ) > > > > It would be great if the stream could start instantly. > > Most browsers should support your use-case already. > Just go with the HTML5 draft: > http://www.w3.org/html/wg/drafts/html/master/embedded-content-0.html#the-audio-element > > So something like this should work: > <audio autoplay controls> > <source src='http://www.radiogalere.org:8080/galere.ogg' > type='audio/ogg; codecs="vorbis"' > > <source src='http://www.radiogalere.org:8080/galere.mp3' > type='audio/mpeg; codecs="vorbis"' > > <p>Your browser doesn't support HTML audio. Sorry.</p> > </audio> > > 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 > encoder etc. > > For reference here's my test setup: > http://www.bfst.de/foss/icecast/firefox/galere.html > 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. >Totally agree. We only use HTML5 and recommend upgrading the web browser. Also you can decorate your HTML5 player, for example using php and ajax: http://zenbakaitz.servehttp.com/galere/galere.php (This URL will become invalid in the near future). How I can remove the pause in the basic HTML5 player ?. I do not like the live audio break :)) Jos? Luis> Cheers > > Thomas > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast >