At 8/11/12 09:42 PM, Nukerkid wrote:
I'm not sure what you mean, I'm not trying to block anything =P. I'm talking about taking the code from an audio track like this -
Of course, it should work. I would be impressed if your discovery won't happen. You have the source. You know what I laugh hard on your reply.
Below you get the file audioplayer.swf. SWF is a Flash executable file. Object name is player. parameter is name. Then color frame, black.
<object id="player" data="http://flash.ngfiles.com/audio_player/audioplayer.swf" type="application/x-shockwave-flash" height="290" width="590"><param name="movie" value="http://flash.ngfiles.com/audio_player/audioplayer.swf "><param name="bgcolor" value="#0F0B0C">
Allow scripts to execute and access on client side. Allow full screen script to access (you can not full screen alone with the direct flash file)
<param name="allowscriptaccess" value="always"><param name="allowfullscreen" value="true">
Here is the part, why does it play the song:
http%3A%2F%2Faudio.ngfiles.com%2F496000%2F49 6009_Kirbys-Adventure-Remix.mp3
is
http://audio.ngfiles.com/49600/496009_Kirbys-Adventure-Remix.mp3
that's where you download the damn file. Now:
&length=170&artist=Psyguy&name=Kirby%27s%20Adventure%20Remix
In order: length; artist name; song title
Why does it auto play and I am so dump to turn it off:
&loop=0
And last but not least, Icon and allowing client-side to interact with the flash file.
&icon=http://aicon.ngfiles.com/496/496009.png"><param name="wmode" value="direct"><param name="allowfullscreeninteractive" value="true"></object>
Put it on a page and you've got yourself an embedded audio track. How would you go about stopping it from autoplaying though? It's fine while on NG because you're only going to the page for that audio track to listen to it right? There might possibly be a param variable that you can call to stop it but that's the best idea I have... It would be good if NG had support for embedded audio because the player is awesome.
I am aware of that. Problem with flash embedding is XSS, HTML and JS injection. You may be aware of me might perform attack on NG?