Link to home
Start Free TrialLog in
Avatar of HelpNearMe
HelpNearMeFlag for Afghanistan

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.js"></script>

            <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
Avatar of coolfiger
coolfiger
Flag of Trinidad and Tobago image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial