title: Customize Flash Player controller using Javascript
body: <p>I wonder if its possible to remove or customize on some parts of the flash player controller.
  I have an embed tag, that would generate a video from Ustream. The case is there is a share button and I don't want it to be there. Currently the streaming provider does not allow users to disable it.</p>
  
  <p><img src="https://i.stack.imgur.com/i4auy.jpg" alt="enter image description here"></p>
  
  <p>I also tried it playing the video on a jwplayer, but they don't support it, it's because of some crossdomain restrictions. So I'm thinking if Javascript has the ability to remove the button for me. If not, can anyone give me some alternatives? </p>
  
  <p>Here's my generated embed tag</p>
  
  <pre><code>&lt;object width="320" height="260"&gt;
  &lt;param name="flashvars" value="autoplay=false&amp;amp;vid=1234" /&gt;
  &lt;param name="allowfullscreen" value="true" /&gt;
  &lt;param name="allowscriptaccess" value="always" /&gt;
  &lt;param name="src" value="http://www.ustream.tv/flash/viewer.swf" /&gt;
  &lt;embed 
      flashvars="autoplay=false&amp;amp;vid=1234" 
      width="320" 
      height="260" 
      allowfullscreen="true" 
      allowscriptaccess="always" 
      src="http://www.ustream.tv/flash/viewer.swf" 
      type="application/x-shockwave-flash" /&gt;
  &lt;/object&gt;
  </code></pre>