title: Problem with Chrome - embed windows media player
body: <p>I am having a problem. I embed WMP in my page, and I need to hide buttons from player. I make it to hide them in IE and FF, but I can't make it happen in Google Chrome.
  Here is the code</p>
  
  <pre><code>        &lt;object id="MediaPlayer1" width="690" height="500" 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"
              &gt;
              &lt;param name="FileName" value='&lt;%= GetSource() %&gt;' /&gt;
              &lt;param name="AutoStart" value="True" /&gt;
              &lt;param name="DefaultFrame" value="mainFrame" /&gt;
              &lt;param name="ShowStatusBar" value="0" /&gt;
              &lt;param name="ShowPositionControls" value="0" /&gt;
              &lt;param name="showcontrols" value="0" /&gt;
              &lt;param name="ShowAudioControls" value="0" /&gt;
              &lt;param name="ShowTracker" value="0" /&gt;
              &lt;param name="EnablePositionControls" value="0" /&gt;
  
  
              &lt;!-- BEGIN PLUG-IN HTML FOR FIREFOX--&gt;
              &lt;embed  type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
                  src='&lt;%= GetSource() %&gt;' align="middle" width="600" height="500" defaultframe="rightFrame"
                   id="MediaPlayer2" /&gt;
  
  
  
          &lt;/object&gt;
  </code></pre>
  
  <p>and in the JS in a method i do</p>
  
  <pre><code>                        var player = document.getElementById("MediaPlayer2");
              player.uiMode="none";
  </code></pre>
  
  <p>to hide buttons in FF, but seems that not work for Chrome.</p>