PDA

View Full Version : Change auto-start volume for embedded MP3 player



nathanofearth
11-02-2009, 10:34 PM
I've embedded the mp3 player below, and I'm having trouble changing the starting volume. I've tried playing with the addVariable for volume, doesn't change the start volume no matter what I change to. Also tried changing the variable values in the var so declaration.

Any ideas much appreciated and welcome.



<!-- Begin music player -->
<script type="text/javascript" src="swfobject.js"></script>

<div id="flashPlayer">
This text will be replaced by the flash music player.
</div>

<script type="text/javascript">
var so = new SWFObject("playerMultiple.swf", "mymovie", "192", "95", "7", "#FFFFFF");
so.addVariable("overColor","#660000")

so.addVariable("volume", "1")
so.addVariable("autoPlay","yes")
so.addVariable("playlistPath","playlist.xml")
so.write("flashPlayer");
</script>

<!-- End music player -->