title: autoplay a wav file on html code
body: <p>I want autoplay a wav file on html code. I find this options on internet:</p>
  
  <p>Don´t work on any browser, but is reported that working:</p>
  
  <pre><code>&lt;object type="audio/x-wav" data="http://www.hydrotoys.com/wavs/Beavis_cornholio.wav" width="320" height="260"&gt;
  &lt;param name="autostart" value="true" /&gt;
  &lt;param name="controller" value="true" /&gt;
  &lt;param name="src" value="http://www.hydrotoys.com/wavs/Beavis_cornholio.wav"&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>work on chrome, IE if Windows Media Player installed, for firefox need manual install for wmp player</p>
  
  <pre><code>&lt;embed src="http://www.hydrotoys.com/wavs/Beavis_cornholio.wav" hidden="false" autostart="true" loop="false"&gt;
  </code></pre>
  
  <p>html5 solution,work on chrome, I get this solution on mozilla site, but don´t work on IE.</p>
  
  <pre><code>&lt;audio src="http://www.hydrotoys.com/wavs/Beavis_cornholio.wav" type="audio/x-wav" controls autoplay="autoplay"&gt;
  &lt;p&gt;Your browser does not support the audio element &lt;/p&gt;
  &lt;source src="http://www.hydrotoys.com/wavs/Beavis_cornholio.wav"/&gt; 
  &lt;/audio&gt;
  </code></pre>
  
  <p>I use a fixed wav on this examples, but I use this code is used for generate my audion on my Servlet</p>
  
  <pre>
  
              response.setDateHeader("Expires", 0);
              response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate");
              response.setHeader("Pragma", "no-cache");
              response.setContentType("audio/x-wav");
              response.setContentLength(byteAudio.length);
  
  </pre>
  
  <p>Any help?</p>