title: Adding play/pause to a SWF player
body: <p>I have the following .swf player and I wanted to add more controls such as play and pause to the player object:</p>
  
  <pre><code>&lt;object classid="player" width="780" height="420" codebase="[longurl]"
      classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"&gt;
      &lt;param value="sameDomain" name="allowScriptAccess" /&gt;
      &lt;param name="movie" value="/root/Desktop/test.swf" /&gt;
      &lt;param name="quality" value="best" /&gt;
      &lt;param value="true" name="controller" /&gt;
      &lt;param name="play" value="true" /&gt;
      &lt;param name="loop" value="true" /&gt;
      &lt;param name="wmode" value="window" /&gt;
      &lt;param name="scale" value="showall" /&gt;
      &lt;param name="menu" value="true" /&gt;
      &lt;param name="devicefont" value="false" /&gt;
      &lt;param name="salign" value="" /&gt;
      &lt;param name="flashvars" 
          value='config={"clip":{"url":"video.flv","autoPlay":false}}' /&gt;
      &lt;param name="allowScriptAccess" value="sameDomain" /&gt;
  &lt;/object&gt;
  </code></pre>