Is there a default volume param?, or can i add one?
Hi, the version of the player i'm using is a couple of years old. I'd like to have the player open up to a default volume setting of about 60%?, is that possible?
i have some experience as a JS programmer and wouldn't mind opening up the swfobject.js file to set or add this if need be? is it possible?
Also, don't wrap the JavaScript in the targeted HTML element.
bc.. <head>
<script src="mediaplayer/swfobject.js"></script>
</head>
<body>
<div id="player" class="player"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Flash Plugin to see this video.</a></div>
<script type="text/javascript"> var so = new SWFObject('mediaplayer/player.swf', 'mpl', '500', '200', '9.0.124'); so.addParam('allowscriptaccess', 'always'); so.addParam('allowfullscreen', 'true'); so.addParam('flashvars', 'file=submarine_songs.xml&autostart=true&playlist=bottom&repeat=list&backcolor=cdcdcd&frontcolor=ae5ef2&lightcolor=dedede&screencolor=ffffff'); so.addVariable('repeat', 'always'); so.addVariable('volume', '0'); so.write('player'); </script>
</body>
Also, it's best to require a minimum version of Flash of at least v9,0,124,0.
This question has received the maximum number of answers.