The website is www.StocksHaven.com I am looking to make the video which is located on the right hand side be muted. I have figured out how to autoplay it, however I dont know how to start it at 0% volume or muted. I have tried <param name='mute' value="true"> and <param name='volume' value="0"> none of them work. Please help. <!-- begin embedded WindowsMedia file... --> <table border='0' cellpadding='0' align="left"> <tr><td> <OBJECT id='mediaPlayer' width="170" height="220" classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'> <param name='fileName' value="http://www.bloomberg.com/streams/video/LiveBTV200.asxx"> <param name='animationatStart' value='true'> <param name='transparentatStart' value='true'> <param name='autoStart' value="true"> <param name='showControls' value="true"> <param name='loop' value="true"> <EMBED type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' bgcolor='darkblue' showcontrols="true" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="170" height="220" src="http://www.bloomberg.com/streams/video/LiveBTV200.asxx" autostart="true" designtimesp='5311' loop="true"> </EMBED> </OBJECT> </td></tr> <!-- ...end embedded WindowsMedia file --> </table>
I view your website, it is awesome But I never heard that there is 'mute' or 'volume' attribute in object tag. If you know actionscript, you can edit your .fla file with actionscript to mute the Flash file. In fact, Moyea web player (it is free) provide options to make flv mute, just simply check this option and you can make it mute, see the screenshot of this feature below:
Here is the working code <script src="http://www.google.com/jsapi"></script> <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script> <div id="ytapiplayer">You need Flash player 8+ and JavaScript enabled to view this video.</div> <script type="text/javascript"> google.load("swfobject", "2.1"); function onYouTubePlayerReady(playerId) { ytplayer = document.getElementById("myytplayer"); ytplayer.playVideo(); ytplayer.mute(); } var params = { allowScriptAccess: "always" }; var atts = { id: "myytplayer" }; swfobject.embedSWF("http://www.youtube.com/v/J2hqhNhAj_g?enablejsapi=1&playerapiid=ytplayer&allowFullScreen=true&version=3", "ytapiplayer", "425", "356", "8", null, null, params, atts); </script