PDA

Click to See Complete Forum and Search --> : Link help


dgrotz
08-24-2006, 04:52 PM
I need some help, i'm trying to put a link on my page (happens to be in shockwave if that makes a diference) to send the user directly to The Defcon Comedy Network internet stream, either open in iTunes or Winamp, I'm not sure if I make two different links or if the default player will just open or how to do any link for that matter.

Any help is greatly apreciated,
dave

Benjamin
08-28-2006, 05:18 PM
Not an expert but this might help:

If you look at winamp.com, for example, you will see that a link to 'listen to a radio stream' links to a playlist file (filename.pls).

What happens to particular types of file that you download depends on the user's operating system. If they have set up Winamp to be their default program for files of type '.pls', then downloading the file should prompt them to open the file in that program. If iTunes is set for this, then it will open with iTunes. You cannot control which program is launched from your web page, so you definitely do not need 2 separate links.

Actually a playlist is just a simple text file with some code in it. Perhaps you could base yours on the one from winamp.com, for example, and upload it to your server, and link to it.

One final thing: this still might not work. That is because your server needs to be set to deliver files according to their correct MIME type. You need to make sure your server flags files of type '.pls' to be downloaded, rather than displayed in the browser, or you could end up just seeing the playlist code.

I'm not really an expert in this area (never set up a stream like this myself) so I'm not sure exactly how it will pan out. But I've had similar problems trying to force downloads of other filetypes.

dgrotz
08-28-2006, 05:33 PM
thanks benjimen, i have it set up properly now, no i didn't need two seperate links just the one link to piont to the correct playlist file.

thanks again,
dave