Hi all! I have played with SoundManager2 for flas/html5 unified javascript players and its pretty good: http://www.schillmania.com/projects/soundmanager2/
It _should_ support ogg/vorbis in html5 mode when the browser supports it. Concerning metadata, though, I have no easy solutions.. Maybe a "push" registered from liquidsoap could be a good thing to look for though.. Romain 2011/8/31 Fábio Costa <[email protected]>: > Thanks for the response Samuel. > My problem is with the metadata, and if i use pure HTML i would have to > perform queries from time to time to get the updated status of the music > playing. > I will try with java, if it don't work as an applet i will use other thing. > > Em 31 de agosto de 2011 14:19, Samuel Mimram <[email protected]> escreveu: >> >> Some more relevant info here: >> http://stackoverflow.com/questions/6115531/is-it-possible-to-get-icecast-metadata-from-html5-audio-element >> >> Apparently you have to hack a bit to make it work... >> >> >> 2011/8/31 Samuel Mimram <[email protected]> >>> >>> Hi, >>> >>> Many modern browsers now natively support playing audio streams ( >>> http://www.w3schools.com/html5/tag_audio.asp ). I don't know if you can grab >>> the tags but it might be worth investigating... >>> >>> ++ >>> >>> Sam. >>> >>> >>> 2011/8/31 Fábio Costa <[email protected]> >>>> >>>> Hi josh. >>>> I was able to made an MP3 player in flash like the following, but >>>> unfortunately icecast doesn't send ID3 tags or so i heard >>>> >>>> -------------------------------------------------------------------------------------------------------------------------------------- >>>> import flash.events.IOErrorEvent; >>>> >>>> var s:Sound; >>>> s= new Sound(); >>>> var urlReq:URLRequest=new >>>> URLRequest("http://localhost:8000/winampstream.mp3"); >>>> bt.addEventListener(MouseEvent.CLICK,btclick); >>>> s.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler); >>>> s.load(urlReq); >>>> >>>> s.addEventListener(Event.ID3, id3Loaded); >>>> s.play(); >>>> function ioErrorHandler(e:IOErrorEvent){ >>>> >>>> } >>>> >>>> ------------------------------------------------------------------------------------------------------------------------------ >>>> >>>> The ogg is a litte trickier, i downloaded an swc library and the >>>> following code: >>>> http://mauft.com/2010/11/ogg-vorbis-in-flash/ >>>> >>>> This library made creating a player really easy. >>>> >>>> >>>> I ended up using a java library http://www.javazoom.net/jlgui and will >>>> create an interface of my own and change it for my needs. >>>> >>>> Em 31 de agosto de 2011 11:42, Josh <[email protected]> >>>> escreveu: >>>>> >>>>> hi, pleas tell me when you have made this player, I have never found >>>>> how to get flash working on my server, it asks for a stream file? >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: Fábio Costa >>>>> To: [email protected] >>>>> Sent: Wednesday, August 31, 2011 1:27 PM >>>>> Subject: [Savonet-users] Making a player, recommended language >>>>> I will make a simple player to play a stream broadcasted by liquidsoap >>>>> to a icecastserver. >>>>> I was thinking in using Java or Flash, neither of them have ogg suport >>>>> but i found some libraries. >>>>> Would you recommend another technology to make an ogg/mp3 player? >>>>> >>>>> ________________________________ >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Special Offer -- Download ArcSight Logger for FREE! >>>>> Finally, a world-class log management solution at an even better >>>>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you >>>>> download Logger. Secure your free ArcSight Logger TODAY! >>>>> http://p.sf.net/sfu/arcsisghtdev2dev >>>>> >>>>> ________________________________ >>>>> >>>>> _______________________________________________ >>>>> Savonet-users mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Special Offer -- Download ArcSight Logger for FREE! >>>> Finally, a world-class log management solution at an even better >>>> price-free! And you'll get a free "Love Thy Logs" t-shirt when you >>>> download Logger. Secure your free ArcSight Logger TODAY! >>>> http://p.sf.net/sfu/arcsisghtdev2dev >>>> _______________________________________________ >>>> Savonet-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/savonet-users >>>> >>> >> > > > ------------------------------------------------------------------------------ > Special Offer -- Download ArcSight Logger for FREE! > Finally, a world-class log management solution at an even better > price-free! And you'll get a free "Love Thy Logs" t-shirt when you > download Logger. Secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsisghtdev2dev > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > > ------------------------------------------------------------------------------ Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
