title: HTML JavaScript not playing sound?
body: <p>I am trying to get sound to work for the following HTML-JavaScript code... but no sound and and the program doesn't say "No sound support".  Not sure what the problem is ?? </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Sound Test&lt;/title&gt;
  &lt;script type="text/javascript"&gt;
  function PlaySound(){
      var sound = document.getElementById("note_c1");
      try{
          //RealPlayer
          sound.DoPlay();
      }catch (e){
          try{
              //Windows Media / Quicktime
              sound.Play();
              alert("should hear sound");
          }catch(e){
              alert("No sound support.");
          }
      }
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h1&gt;Sound Test&lt;/h1&gt;
  &lt;embed id="note_c1" src="c1.au" width="0" height="0" autostart="false" enablejavascript="true"/&gt;
  &lt;input type = "button" value="Play the Sound" onClick="PlaySound()"&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>