Play streaming radio

Hi, it's my first post. I have a problem with my audio player. The is this:
import flash.media.Sound;
import flash.media.SoundLoaderContext;
import flash.net.URLRequest;
var sound:Sound;
var url:URLRequest=new URLRequest("http://91.121.142.100:8008/;");
sound = new Sound();
var context:SoundLoaderContext=new SoundLoaderContext(0,false);
sound.load(url,context);
sound.play();
It load with URLRequest a streaming radio and play it. It's working good with some radio but not with that i load. The sound is playing at intervals. Anyone know why? The sound is streaming at 128kbps in stereo mode 44100.
Please help me and sorry for my bad english.

I hope you get an answer to this issue, because I have had the very same problem...
The best that I can offer, is make sure that you have permission to use the audio stream, by way of a 'Cross Domain Policy XML File'.
For an example of one, check out twitters: http://twitter.com/crossdomain.xml
You can see what it does, more of less says who can take information from their website.
The flash player first checks for this file, then if it sees that it has been granted access to use content from their, then it does.
for more info,
when I had this issue, I was not in control of the server hosting the  radio and could not get across domain file onto that server.
Hope this helps,...
-GK

Similar Messages

  • Xmms won't play streaming radio

    Hi all,
    Just installed xmms to try and stream some radio from my ISP's unmetered mirror, but xmms doesn't appear to like opening URLs.
    I'm trying to open http://www.internode.on.net/radio/radio.php/7.m3u but when I try and "Play Location" or "+ URL" (to the playlist), it opens the dialog to enter the URL, but when I click "OK", it just goes back to an empty list with nothing loaded. If I already had a playlist, it clears that playlist and leaves it empty for me.
    Am I missing a plugin or something?

    El bumpo? Anyone?

  • Streaming Radio HTML code

    Hey guys, I would be GREATLY appreciative if you guys could give me the code for a HTML Widget that will play streaming radio directly from my site. Multiple staions such as: rock, country, jazz, hip-hop,etc. I'll accept any suggestions! Thanks!

    Thanks for the solution and link. Great tip!
    OT

  • Why does my Mac not play this streaming radio station

    Hi all.
    I have no trouble listening online to streaming radio at this site:
    www.6ix.com.au/streaming/stream.htm
    Yet when I try to listen to another online station, CurtinFM Radio found at:
    www,curtinfm.com.au/listen-now.html
    The 'connection' window comes up but when I try to connect I am advised that something or other is not supported.
    Both stations utilize Quicktime to play, and as far as I can tell I am up to date with Quicktime updates.
    Any advice appreciated.
    Regards

    Hi there.
    That was quick!
    Yes I do have FlipMac installed and again, I think that it is up to date. By default both stations open in Quicktime. I think that I have fiddle with FlipMac in the past without results in this regard, so at the moment I seek guidance as I am stuck. More advice in FlipMac I will also try.
    P.S. I am at the present listening to 1080AM radio on my Windows machine <:-{
    Mind you, this IS my kind of music. Geeze, I hope this does not date me.
    Regards

  • Is there a way that iTunes can act as a Radio Alarm Clock? I have found the radio station I enjoy listening to in the iTunes Radio List. Is there anyway iTunes (and my Mac) can be set to come-on and start playing that Radio Station from Sleep mode at spec

    Is there a way that iTunes can act as a Radio Alarm Clock?
    I have found the radio station I enjoy listening to in the iTunes Radio List. Is there anyway iTunes (and my Mac) can be set to come-on from Sleep mode and start playing that Radio Station at specific times of the day?
    Any App or plug-in that does that?
    Many thanks
    Kevin

    Turning your Mac into a clock radio.
    1.  In iTunes create a playlist that contains just the radio station you want to wake up to.
    2.  Export the playlist (as .m3u works well).  Get Info on your playlist file and look at the Open With entry to make sure it points to iTunes, VLC or some other app that will stream your station.
    3.  In iCal create an event entry at the time you want to wake up.
    4.  Right (or Control) click on your wakeup event and select Get Info.
    5.  For "alarm" select Open File.
    6.  Now under Open File there will be a place to add the file to open.  It will probably be some default entry (like iCal).  Click on it will allow you to select "other."  Then use the file dialog to select your playlist file.
    Your Mac will wake you up at the appointed time.  You don't need to keep iCal running.  If you want to put you Mac to sleep for the night then there is one more thing you need to do.  Open System Preferences to Energy Saver and click on the Schedule button.  Check Start up or wake and set the wake up time to slightly before your iCal alarm time.
    Dan

  • How to play iTunes Radio

    How can I play iTunes Radio on my MAC, I listen to it on my Apple TV and Iphone 5, but cannot find it on iTunes installed on my MAC, Currently have iTunes 11.2.1 (says software is up to date) installed Running Mac OSX 10.6.8 on 1st Gen MacBook Pro.

    About iTunes Radio
    iTunes Radio is available for free on all devices and computers with iOS 7 or OS X Lion v10.7 or later, iTunes 11.1, or Apple TV 6.0 or later installed. iTunes Radio streams radio stations directly to your device or computer. You'll have access to more than 250 DJ-curated and genre-focused stations. iTunes Radio is U.S. only."
    http://support.apple.com/kb/HT5848

  • How do I record streaming radio stations?

    I am attempting to record a live streaming radio station, www.iRadiola.com, 90.3FM. Can someone tell me if that is even possible? My band is going to be played in an hour and I want to get the broadcast recorded. www.thedivys.com

    Audio High Jack Pro is the Best way to go. Do a search in Google for it. The Demo is free but the full package is about $30. It will record any audio played thru your Mac. Really neat program...all you do is point it at what program your using i.e. Real Audio, Quick Time. Then just hit the record button. It has a built in itunes tab so it will import straight into it. I use this for my podcast to add streaming audio such as Press Conferences and Game Highlights. Works great.
    Good Luck

  • How to turn streaming radio off

    I am having turning streaming radio or Pandora off when using OS4. The stream doesn't go off when switching to another app. I can't see an on/off button in the radio or Pandora app. I like using multple apps but would like to turn off the stream.

    The app has a play/pause button that will stop it. If it's in the background, you can double click the home button and scroll left to get to the audio controls.

  • Playing internet radio through airport to my stereo?

    I play itunes through airport to my stereo. Can I play my internet radio station through airport?
    Thanks,
    Ernie

    I'm curious about this as I am sure I was able to play a radio station streaming through iTunes to my AX the other day. I tried this evening and it didn't work. I was able to play a song ripped by iTunes, and switched back to the streaming radio which did play through my computer speakers, but not to the AX.
    I know AX won't play video clips (sound) from iTunes....
    So, I think I figured it out- AirTunes will play MPEG based streaming audio through the AX, but will not play streams with "Kind" being QuickTime. Unfortunate that my two favorite stations are both QT streamed audio, and these were the two I kept trying to get to work when I thought the problem was the AX or the stereo it was plugged into.
    This also explains why I was getting audio through my computer even when it was not selected in iTunes, it only happens when the QT audio can't play through the AirTunes.
    Any further thoughts or work arounds for this?
    Funny, I found nothing about this in my searches regarding this problem (other than video clip's audio won't play and require Airfoil).
    Joel.

  • Getting Automator or AppleScript to start up QuickTime and play a radio sta

    I am new to Automator and have never tried AppleScript.
    I would like my Mac to start up and play a radio station. I have been successful in getting the link to work in QuickTime or play directly in Safari. However, when I try to use Automator to start QuickTime and play the link, uh, nothing happens. When I save the workflow to the desktop and click on it, it opens up Automator.
    I would have expected that running the workflow would open up QuickTime and then load the link and play it.
    I am missing something here and getting frustrated with the documentation.
    I could use AppleScript, but know nothing about it and have not been able to find a already made AppleScript online.

    When I save the workflow to the desktop and click on it, it opens up Automator.
    It would appear that you're saving the workflow as a workflow rather than saving it as an application. In Automator's Save dialog, look for the File Format drop-down and select Application instead.
    Beyond that, without knowing the stream's URL or the stream's referring web page it would be difficult to say with certainty what the best approach might be. If you could post the URL that would help. A few questions that come to mind: Is the radio station a live streaming AM or FM station? A podcast? What file format is used? Does a .qtl file or some other file get downloaded to your desktop when you click on the "listen live" link from the referring radio station's web page?
    For example, when I click on "Click to listen with Quicktime" at kgoam810.com a listenlive.qtl file is downloaded to my desktop. In this case the Automator workflow would be easy to set up, using these two Finder library actions:
    1) *Get Specified Finder Items* -- click on the "+" sign, navigate to the listenlive.qtl file and select it.
    2) *Open Finder Items* -- set it to open with the default application.
    Save the workflow as an application and add to your Login Items.
    If no file is downloaded and you have only the stream's URL, you may be able to cobble together a workflow which makes use of a GUI type applescript. I've had success using the following actions:
    1) *Get Specified Text* -- from Automator's TextEdit library. Simply type in or paste the URL into the text box.
    2) *Copy to Clipboard* -- from Automator's System library.
    3) *Run AppleScript* -- from the Automator library. The script shown below has worked for me. Copy the code and paste it into the Run AppleScript box, overwriting what's pre-populated there:
    *on run {input, parameters}*
    *tell application "QuickTime Player"*
    activate
    *tell application "System Events"*
    *tell process "QuickTime Player"*
    *keystroke "u" using command down*
    *keystroke "v" using command down*
    *delay 1*
    *keystroke return*
    *end tell*
    *end tell*
    *end tell*
    *return input*
    *end run*
    Compile the script by clicking on the hammer icon in the Run AppleScript box and save the workflow as an application. Add it to your Login Items.
    Note that as a GUI applescript is being used here, you should have "Enable access for assistive devices" checked under System Preferences > Universal Access. Also, under the QuickTime Player's Preferences > Other, make sure that "Show Content Guide automatically" is unchecked.
    Your mileage may vary... Good luck!
    Andrew99

  • Can't play Internet Radio

    Hi,
    Previously, when I wanted to stream a radio station over the Internet, I just clicked on the link and a new tab opened with a "Play" button on the bottom of the page. I could then play the broadcast with no problem.
    Now, for whatever reason, when I click the link to stream radio my iMac downloads some file with the extension ".asx.asf" and nothing happens. I've tried opening this downloaded file, but my iMac asks me to choose an application with which to open it. iTunes is apparently the default app, but I've been wrestling with iTunes trying to get it to play the file, but no luck.
    As I said, everything used to work fine, but now this problem arose. Any help is appreciated. This happens with whatever radio station I try to stream, not one particular station.
    Thanks,
    Mark.

    I have the same problem as huyt78. Incredibly annoying as I live abroad and signed up for my home Football club's radio broadcasts only to find a few weeks later it doesn't work any more! Flip4Mac doesn't work for me either. How do I listen to Internet Radio? Someone please help.
    Thanks,
    G

  • Streaming radio station times out

    After I'm listening to an iTunes streaming radio station for about an hour or so, the station times out and I have to click Play again. Is there a way to not have it time out - it's annoying...
    Thanks,
    Keith

    You can find the solution to this issue here:
    http://usage.wordpress.com/2007/04/06/how-to-make-flip
    4mac-stream-radio-correctly/
    Good find. It's working for me. Much better than running Safari in Rosetta, which I had been doing.

  • Streaming radio shoutcast in flash

    Hi folks, I was wandering if there is a way to use flash to stream a radio shoutcast, well actually i know that's posible, but i dont want an already made player, i have looking for a way to made it myself, anyone have a few tips about this?
    thanks in advance.

    You know it's possible, so it seems you just need to do some searching re playing streaming audio with AS3. There's lots of good info...
    To play an external audio file though you can do something like:
    var s:Sound = new Sound();
    s.load (new URLRequest("http://www.streamURL"));
    var chan:SoundChannel = s.play();

  • Having iTunes automatically launch and play a radio station

    Hi,
    Is there a way to have iTunes automatically launch and start playing a radio station under Windows XP?
    I am running a small store and iTunes plays internet radio over airport express speakders. I would like to simplify the life of the employees by simply telling them (in case of crash or reboot) to simply double-click an itunes shortcut to have it open and play.
    I noticed you can create an Apple script for Mac platforms, I hope there is an equivalent for Windows XP.
    Cheers,
    Lanceloz

    iTunes is a little bit strange when it comes to streams, but you can just open the URL (from the info for your stream):
    tell application "iTunes" to open location "http://radio2.digitalgunfire.com:8000"
    ... and since you posted in the Automator forum, you can make a workflow that searches for the name of your stream and starts iTunes playing, for example:
    1) Find Songs in iTunes (whose Name Contains digitalgunfire)
    2) Start iTunes Playing

  • Streaming radio on iphone 4 with app

    I am trying to stream radio on my phone, but as soon as I connect to wifi it stops playing, what am I doing wrong??  Mobile Data is switched on..

    Problem sorted itself out, I think wi-fi was not working properly (source)

Maybe you are looking for

  • Flash sort of installs but doesn't work

    It seems to install it shows the ocx file in my flash folder and the plugin in the browser but will not open flash movies or flash content.. I know for a fact it's my flash because no flash items will show up, the test page also is a no show. I have

  • Find out type of activity in process flow

    I am currently working on generating process flows. I place a bunch of mappings or sub process flows (sometimes more than 20) in a process flow. Then I connect them basically to indicate the order in which they have to be processed. Next I want to ge

  • Airport Issue, once more

    Hello, ive been trying to fix this a long time but i never made it. I seriously need some help and im sry if my post is same with many other's posts, but seems that Apple didnt even try to fix it so i guess im just desparate for some help. Ok so, bro

  • Calc Scripts in sequence

    Hi All, We have requirment to run some calc scripts in sequence as they are dependent. If we merge all the scripts in one script then due to dependency calculations are not done or not giving proper result. Is there any way so that calculation script

  • My daughter did factory reset on 4 s and lost her notes.  Important stuff in notes. Is there any way she can get them back?

    My daughter did factory reset on 4 s and lost her notes.  Important stuff in notes. Is there any way she can get them back?