PDA

View Full Version : how do I call the uploaded file?


mindhunter77
04-24-2010, 11:51 PM
I'm trying to get an mp3 embeded palayer to work,

Here is the code,

<script type="text/javascript" src="/forum/players/p5/swfobject.js"></script>

<div id="mediaspace">Yea, something broke.</div>

<script type="text/javascript">
var so = new SWFObject("/forum/players/p5/player.swf","mpl","300","45","9");
so.addParam("allowfullscreen","true");
so.addParam("allowscriptaccess","always");
so.addParam("wmode","opaque");
so.addVariable("file","NEED THIS AREA");
so.write("mediaspace");
so.write("player_$attachmentid");
</script>

I can not for the life of me get that to pull the uploaded file in the post.