User:Ochristi/AudioPlayer

 window.onload = function { player = document.getElementById('somethingunique'); controls = document.getElementById('playercontrols'); controls.onclick = function { if (player.paused) { player.play; controls.innerHTML = "pause"; } else { player.pause; controls.innerHTML = "play"; }	}; }; play 