title: How to restart an embedded sound in Javascript?
body: <p>I am currently making a game in Javascript but when trying to shoot, the shooting sound doesn't restart. My HTML looks like this:</p>
  
  <pre><code>&lt;embed id="playerShot" src="resources/sounds/ump45shot.mp3" hidden="true" autostart="false"loop="false" volume="20"&gt;
  </code></pre>
  
  <p>My Javascript function is </p>
  
  <pre><code>function shoot() {
  document.getElementById("playerShot").Play();
  }
  </code></pre>
  
  <p>Is there any way to restart the sound before playing it again?</p>