Flash stream player

Hi there!

Totally unrelated to mAirList- instead, I’m asking about flash players.

I’ve searched high and low to find tutorials on if this is possible, as what I am wanting to do, is to have a custom flash player (instead of the bog standard embedded windows media player) that is able to stream the station’s audio.

I’ve read tutorials to create a simple player in flash that has volume, start, stop and able to play an mp3. Is it possible to have a live stream of audio going through a flash player?

Sorry if that sounds confusing- any help would be brilliant!

Thanks, Ryan.

Hi Ryan, take a look (if you have not already) at http://www.longtailvideo.com/ which deals with streaming using flash.

Not a flash player but Yahoo widgets are useful and easily adapted. Although a listener will need the yahoo widget engine installed.

I can help with widgets.

Kind regards tony

I’ve used the JW Player multiple times on other websites I have created.

I think my best bet is creating a new skin for the player maybe to suit my needs?

Thanks.

Dewplayer should do what you want. http://www.alsacreations.fr/dewplayer

Zut alors! Mais c’est un applet Français?!! Mais … dewplayer est utilisé par Virgin Radio, n’est-ce pas? Incroyable!

(Hope Ryan’s French is good! ;))

Seriously though: nice one, Chris! I’ll put that in my Proper Useful Things collection. In return, you might want to type freewarefiles prompter into your Googlythingy … :wink: It’s wroten by someone you know >ahem!<.

BFN
CAD

Looks like a solution has been found. I was going to suggest wimpy (no not the burger - hate the things)

http://www.wimpyplayer.com/

On closer reading though its an mp3 player, not what we are seeking.

Kind Regards tony

Whoops! Heres the English version! http://www.alsacreations.fr/dewplayer-en

I’ve been using it to play podcasts for people without podcatchers (do they exist??) on our website. Seems excellent so far.

[quote=“Cad, post:5, topic:5732”]Zut alors! Mais c’est un applet Français?!! Mais … dewplayer est utilisé par Virgin Radio, n’est-ce pas? Incroyable!

(Hope Ryan’s French is good! ;))

Seriously though: nice one, Chris! I’ll put that in my Proper Useful Things collection. In return, you might want to type freewarefiles prompter into your Googlythingy … :wink: It’s wroten by someone you know >ahem!<.

BFN
CAD[/quote]

Actually Cad- A* 1 year early in French, so I did get all that haha!! :wink:

The dewplayer doesn’t seem that versatile (what/where do Virgin (Absolute?) radio use it for?), where as the JW player uses skins etc which could be modified pretty easy.

I’m used to the JW player so I could probably use that.

I’m trying to get my way round modifying skins on it at the moment!

Thanks, Ryan.

Hi Ryan,
in case you want to program your own, you just have to put your stream’s url and port into the loadSound Method’s URL parameter, and set the second (isStreaming) parameter to true, eg mySound.loadSound(“http://www.your_stream_url:port/mountpoint.mp3”, true);

To make a simple player, just create a button called “listen”, containing a dynamic text field called “status” and add the following code to its (the button’s) script:

on (press) { if (!listening){ myradio = new Sound(); myradio.loadSound("http://195.10.228.4:8000/209radio_relay.mp3", true); myradio.setVolume(90); myradio.start(); listen.status.text="stop stream"; listening=true; } else { listening=false; listen.status.text="listen (mp3)"; myradio.stop(); } }
Here’s a bit more of an in-depth explanation of the sound object in actionscript

Thanks for the help- that script could come in useful!