title: Playing a sound in webforms without it being reset because of PostBack
body: <p>I'm an English teacher/starting programmer who's making a browser game for his class. I managed to set up a sound loop in HTML using code taken from another question and it works just fine, but I ran into a problem I haven't been able to solve. I'm using C# for the codebehind, and every time a button is pressed there's a Postback and the page is reloaded. My problem is that this resets the sound that started playing, which makes it impossible to play songs properly.</p>
  
  <p>Here's the HTML code I'm using:</p>
  
  <pre><code>&lt;NOEMBED&gt;&lt;BGSOUND SRC="/sound/tutorial.wav" LOOP="2"&gt;&lt;/NOEMBED&gt;
  &lt;EMBED SRC="/sound/tutorial.mp3" HEIGHT="0" WIDTH="0" AUTOSTART="TRUE"&gt;
  &lt;/EMBED&gt; 
  </code></pre>
  
  <p>I hope this hasn't been answered yet, I checked and couldn't find anything. I'd appreciate a hand!</p>