DJWilson
02-07-2008, 05:09 PM
Hi all,
my friend has asked me to make a rock band site for his band, i have found a free javascript for music/video but having a little issue,
Heres the code for the music:
<script type="text/javascript" src="http://www.jeroenwijering.com/embed/swfobject.js"></script>
<div id="player">This text will be replaced</div>
<script type="text/javascript">
var so = new SWFObject('http://www.jeroenwijering.com/embed/player.swf','mpl','470','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=/upload/bunny.mp3');
so.write('player');
</script>In order for the music to play will all the files need to be uploaded 2 filazilla etc?What part of the script do i change for the music to load up on the player? Thanks
my friend has asked me to make a rock band site for his band, i have found a free javascript for music/video but having a little issue,
Heres the code for the music:
<script type="text/javascript" src="http://www.jeroenwijering.com/embed/swfobject.js"></script>
<div id="player">This text will be replaced</div>
<script type="text/javascript">
var so = new SWFObject('http://www.jeroenwijering.com/embed/player.swf','mpl','470','20','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('flashvars','&file=/upload/bunny.mp3');
so.write('player');
</script>In order for the music to play will all the files need to be uploaded 2 filazilla etc?What part of the script do i change for the music to load up on the player? Thanks