HelpNearMe
asked on
how can I mute flash volume using swfobject
Hi Experts,
I'm working on a site with a flash presentation embedded in the main banner. It's set up to start rotating images and playing audio when page loads. (not my idea).
I reconfig'd it to use swfobject to get SEO control over the host div contents and everything works fine. But I want to mute the audio on page load. Is there a param that I can use?
Thanks,
HNM
-------------------------- ---------
<script type="text/javascript" src="swfObject/swfobject.j s"></scrip t>
<script type="text/javascript">
var flashvars = {};
var params = {};
params.wmode = "opaque";
var attributes = {};
swfobject.embedSWF("http://www.xyz.com/flash/index1.swf", "topFlash", "986", "304", "9.0.0", false, flashvars, params, attributes);
swfobject.embedSWF("http://www.xyz.com/flash/abc_flash.swf", "rightMidFlashPromo", "314", "138", "9.0.0", false, flashvars, params, attributes);
</script>
<!-- end swfObject area -->
I'm working on a site with a flash presentation embedded in the main banner. It's set up to start rotating images and playing audio when page loads. (not my idea).
I reconfig'd it to use swfobject to get SEO control over the host div contents and everything works fine. But I want to mute the audio on page load. Is there a param that I can use?
Thanks,
HNM
--------------------------
<script type="text/javascript" src="swfObject/swfobject.j
<script type="text/javascript">
var flashvars = {};
var params = {};
params.wmode = "opaque";
var attributes = {};
swfobject.embedSWF("http://www.xyz.com/flash/index1.swf", "topFlash", "986", "304", "9.0.0", false, flashvars, params, attributes);
swfobject.embedSWF("http://www.xyz.com/flash/abc_flash.swf", "rightMidFlashPromo", "314", "138", "9.0.0", false, flashvars, params, attributes);
</script>
<!-- end swfObject area -->
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.