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 <[email protected]>
> *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

Reply via email to