title: How to play a notification sound on websites?
body: <p>When a certain event occurs, I want my website to play a short notification sound to the user.</p>
  
  <p>The sound should <strong>not</strong> auto-start (instantly) when the website is opened.
  Instead, it should be played on demand via JavaScript (when that certain event occurs).</p>
  
  <p>It is important that this also works on older browsers (IE6 and such).</p>
  
  <p>So, basically there are two questions:</p>
  
  <ol>
  <li>What codec should I use?</li>
  <li>What's best practice to embed the audio file? (<code>&lt;embed&gt;</code> vs. <code>&lt;object&gt;</code> vs. Flash vs. <code>&lt;audio&gt;</code>)</li>
  </ol>