March 15, 2010 at March 15, 2010 · Filed under enart.nnxj.comedit
I?m looking for a simple flash file to stream mp3, almost exactly like
the wimpy button (www.wimpyplayer.com). The problem with the wimpy
button is that the parameter passed to the .swf file is a relative (or
full http) path to the mp3 file relative to the HTML file that the wimpy
button is embedded in. This means that any savvy user can do a view
source and easily figure out where to download the mp3 from directly.
I want to prevent users from easily being able to download the mp3
directly.
I want to be able to just pass in the name of an mp3 file and have the
.swf know what directory to look in and to stream from. So for
example I could have the have the src of the embed file look like
?EMBED src="solution.swf?file=example.mp3" ?> and solution.swf would
know to look in ?http://www.mysite.com/hidden/folder/music/here/? to
find example.mp3.
The accepted solution will be to email me the .fla file and point out
how I can change the directory that the solution file looks at by
default. If the same look as the wimpy button could be used, that
would be outstanding. The solution must also support using multiple
buttons on one page, so that if a user is listening to one song and
clicks to hear another song, the first song stops streaming.ireicm-ga,
So, to clarify, you want the .swf file to know exactly where the .mp3
being passed to it is located, without passing it explicitly in the
html code?
Would a modification of the wimpy player, where you specify the path
in the .fla file itself (rather than being passed in the .html source)
be acceptable? For further security, certain things can be done to
obfuscate the actual .swf file from being parsed as well.
Cheers,
tox-ga#If you have any other info about this subject , Please add it free.# |
|