How would I do this?
<svg width="180" height="180">
<circle cx="90" cy="90" r="85" fill="orange" />
<image width="180" height="180" xlink:href="http://i.imgur.com/4HJbzEq.png" />
</svg>
<style>
#playButton2 {
width: 180px;
height: 180px;
cursor: pointer;
border: 1px solid #0059dd;
}
#playButton2 div:hover {
border-radius: 50%;
border: 1px solid red;
}
.initial {
width: 36px;
height: 36px;
margin: 20px 20px;
background-color: rgba(0, 0, 0, .7);
background-image: url('https://i.imgur.com/Lj57czy.png');
background-size: 14px 18px;
background-repeat: no-repeat;
background-position: 58% 45%;
border-radius: 50%;
border: 1px solid white;
}
.pause {
display: none;
width: 36px;
height: 36px;
margin: 20px 20px;
background-color: rgba(0, 0, 0, .7);
background-image: url('https://i.imgur.com/LgmfKda.png');
background-repeat: no-repeat;
background-size: 14px 18px;
background-position: 50%;
border-radius: 500px;
border: 1px solid white;
}
.play {
display: none;
width: 36px;
height: 36px;
margin: 20px 20px;
background-color: rgba(0, 0, 0, .7);
background-image: url('https://i.imgur.com/Lj57czy.png');
background-size: 14px 18px;
background-repeat: no-repeat;
background-position: 58% 45%;
border-radius: 50%;
border: 1px solid white;
}
</style>
<div id="playButton2" onclick="
var button = document.getElementById('playButton2');
var player = document.getElementById('player2');
document.querySelector('#playButton2 .initial').style.display='none';
document.querySelector('#playButton2 .pause').style.display='none';
document.querySelector('#playButton2 .play').style.display='none';
player.volume=1.0; if (player.paused) {
document.querySelector('#playButton2 .pause').style.display='inline-block';
player.play();
} else {
document.querySelector('#playButton2 .play').style.display='inline-block';
player.pause();
}">
<div class="initial"> </div>
<div class="pause"> </div>
<div class="play"> </div>
</div>
<audio id="player2" style="display:none;">
<source src='http://hi5.1980s.fm/;' type='audio/mpeg'></source>
</audio>