473,394 Members | 1,759 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

flash based radio player

Hi,

Is it possible to play internet radio streams in flash?

I saw flash radio players but sometime internet radio uses windows media player.
How can I know if I can play a url with flash? Does it depends on crossdomain.xml, streaming format?

Do you know of an example for flash based internet radio player?

Thanks
Jul 21 '08 #1
6 8789
joedeene
583 512MB
im not sure if thats possible, i know you can load an external mp3 off of the internet, but im not sure like a playlist, or stream that keeps playing. here are a few sites that are related to your situation:

Link 1

Link 2

i doubt thats what you're looking for, but i'll keep looking and send a link if theres a tutorial. but with the sound properties just for 'Sound' in actionscript, no, you would have to put together a little code yourself. because .loadSound or .attachSound only adds like a file format, like mp3 or wav or whatever. but idk, i dont think streams have file formats. i'll keep looking
Jul 21 '08 #2
Thank you for your answer.

I've found that Yahoo media player enable you to listen to ShoutCast streams:
http://www.fistfulayen.com/blog/?p=183

I guess it's possible.

If you'll have any more info that will be great.

Thanks
Jul 21 '08 #3
joedeene
583 512MB
alright bud, i got something to work out, that might benefit you. idk if its the station you want, or anything. but using the following code:

Expand|Select|Wrap|Line Numbers
  1. on (release) {
  2.     var my_sound:Sound = new Sound();
  3.     my_sound.loadSound("http://205.188.215.229:8016/;foo.mp3", true);
  4. }
works, you dont even have to tell the var my_sound to start(play), since it is streaming. but so it is possible, its just a matter of finding like a host, or streaming website to suit your desires...umm but ya using that link (http://www.fistfulayen.com/blog/?p=183) and it had the

http://205.188.215.229:8016/;foo.mp3

and since that is in mp3 format, you set the streaming boolean to true, and it will continously play. if you try to implement a stop button or pause, just make sure the sound var doesnt not say .play because loading the stream does far enough (*from my experience) mess with it how you please. ok hope i helped.
Jul 21 '08 #4
Thanks

I'll try it.
I wonder if I could include other formats.

alright bud, i got something to work out, that might benefit you. idk if its the station you want, or anything. but using the following code:

Expand|Select|Wrap|Line Numbers
  1. on (release) {
  2.     var my_sound:Sound = new Sound();
  3.     my_sound.loadSound("http://205.188.215.229:8016/;foo.mp3", true);
  4. }
works, you dont even have to tell the var my_sound to start(play), since it is streaming. but so it is possible, its just a matter of finding like a host, or streaming website to suit your desires...umm but ya using that link (http://www.fistfulayen.com/blog/?p=183) and it had the

http://205.188.215.229:8016/;foo.mp3

and since that is in mp3 format, you set the streaming boolean to true, and it will continously play. if you try to implement a stop button or pause, just make sure the sound var doesnt not say .play because loading the stream does far enough (*from my experience) mess with it how you please. ok hope i helped.
Jul 21 '08 #5
joedeene
583 512MB
Thanks

I'll try it.
I wonder if I could include other formats.

ok, what do u mean formats ? and on the http://205.188.215.229:8016/ site, you can change the port number('8016") to about 15 other stations, each one after 8000, like


http://205.188.215.229:8000
http://205.188.215.229:8002
http://205.188.215.229:8004
http://205.188.215.229:8006
http://205.188.215.229:8008
every other digit.......
http://205.188.215.229:8018
http://205.188.215.229:8020
http://205.188.215.229:8022
.....
until like 8034
something around there, umm, and you dont even need the /foo.mp3, you can just put the http://205.188.215.229:8016 or whatever port number, and it works.
ok, just letting you know
Jul 21 '08 #6
What I'm asking is if internet radio stations stream in several formats other then mp3.

Will Flash be able to stream something else?
Jul 21 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: dscriv | last post by:
Hello, I have Netscape 8.0.4 (in Firefox mode) and Flash 8.0.24.0. I also have IE and Firefox installed. If I go to this page, which contains a Flash detection movie:...
115
by: post2google | last post by:
I was thinking about where to go for lunch the other day, so I went to hardees.com to see what the menu looked like these days. What comes up is a big note that my flash version is not new enough...
5
by: ASP.NET explorer | last post by:
I have been asked to create some simple animation using Adobe Flash player in ASP.NET(C#) web application. While I am fairly well versed with ASP.NET C#, I absolutely have NO IDEA about how to...
0
by: crisscross27 | last post by:
Hi, I found a page called "myflashfetish" where you chan choose mp3 players for my space, well the problem is this, I wanted to place 2 or more players in myspace in a particular place, I read...
0
by: dolittle | last post by:
Hi, Is it possible to build an online flash radio player? I know it's possible to play mp3 files but I'm not sure about live streaming of internet radio from a url. Are there any tutorial or...
1
by: critchey1 | last post by:
Hey everyone, i've been playing around with trying to get some scripts to work with detecting whether flash player is installed on your computer or not. I found a flash detection kit on the adobe...
3
by: Moo | last post by:
I'm trying to embed a flash mp3 player on my website (http://www.cafepress.com/sfclothing), I did post a previous message regarding a windows media player one but I prefer the flash one and I...
6
by: nagmvs | last post by:
Hai friends, I want one flash player with out seek bar.U can lough after reading this,but my requirement is like that.Can any one tell me how can i acheive this.I am new to flash.I don't...
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.