Streaming Mp3 File located outside the root directory?

I am trying to stream mp3 file using the Wimpy Mp3 Player.
http://www.wimpyplayer.com/

When using the code below, the music will stream just fine because its still inside the webroot folder.

 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##version=6,0,47,0"
 width="40" height="40" id="wimpy_button_#ID#" name="wimpy_button_#ID#">
      <param name=movie value="wimpy_button.swf?theFile=../mp3/#mp3#">
      <param name=quality value=high>
      <param name=wmode value=transparent>
      <embed src="wimpy_button.swf?theFile=../mp3/#mp3#" quality=high width="40" height="40" name="wimpy_button_#ID#"
 type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>


But if I go outside the root directory the files will not play, so if i use the following code for example:
<param name=movie value="wimpy_button.swf?theFile=../../mp3/#mp3#">

This is an existing folder, but it will not locate the file.

Now I realize this may be a weakness of the programming, but I am not getting any help from the developer.  Is it possible to play an mp3 when its not located somewhere withing the web folder?
jeffmaceAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Aneesh ChopraCommented:
Hi,

this is not weekness of programming, directory outside root is not accessible on webserver..
if you can't access a url simply typing on browser how can that be used in any web application.

Rgds
Aneesh
0
jeffmaceAuthor Commented:
Well I was hoping it would be just like an access database to where you can have it outside the root directory and still read and write information to it.  How can I stream files then and protect them at the same time?
0
Aneesh ChopraCommented:
Streaming with protection can be achieved using Flash Media Server (FMS)..

if you can host your media files on FMS, files can be access by only swf application using proper connection to FMS application and media data will load as stream and will not be stored in Temp Internet files.


Rgds
Aneesh
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CyanBlueCommented:
You could do that by using the Flash Media Server but it could get somewhat expensive...

CyanBlue
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.