$(document).ready(function(e) {
$("#pp").click(function(e) {
if($pp.attr('paused') == false){
$("#player").play();
}
else{
$("#player").pause();
}
});
});
<audio controls id="player">
<source src="audio/music.mp3" type="audio/mpeg">
<source src="audio/music.ogg" type="audio/mpeg">
</audio>
<a onclick="document.getElementById('player').play()" id="play"><img src="images/Sound.png" style="width:50px; height:50px;"></a>
<a onclick="document.getElementById('player').pause()" id="pause"><img src="images/Sound-no.png" style="width:50px; height:50px;"></a>
<a onclick="document.getElementById('player').pause()" id="pp">PP</a>
Где я ошибся?