Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html> 
<html> 
<body> 
<audio id="myAudio" controls>
  <source src="horse.ogg" type="audio/ogg">
  <source src="horse.mp3" type="audio/mpeg">
  Your browser does not support the audio element.
</audio><br>
<button onclick="getPlaySpeed()" type="button">What is playback speed?</button>
<button onclick="setPlaySpeed()" type="button">Set audio to be play in slow motion</button>
<script>
var x = document.getElementById("myAudio");
function getPlaySpeed() { 
  alert(x.playbackRate);
} 
function setPlaySpeed() { 
  x.playbackRate = 0.5;
} 
</script> 
</body> 
</html>