function playSoundO
var audioltem = document.getElementById( "player" ); if( audioltem ) audioltem.play();
function pauseSoundO
var audioltem = document.getElementById( "player" ); if( audioltem ) audioltem.pause();
<audio id="player">
<source id= "playerSrc" src="traktor.mp3" type="audio/mpeg" /> Ta przeglądarka nie odtwarza dźwięku.
</audio>
<input type="button" value="Odtwórz" onclick="playSound()" /> <input type="button" value="Zatrzymaj" onclick="pauseSound()" />
</body>