Pause was supposed to be in lowercase.
Can someone help me with this. The play button works, but pause isn’t working. You press play it works, but pressing pause has no effect.
<div style="width:266px;" onclick="myObject=document.getElementById('myObj5h');
myObject.style.display='block'; this.style.display='none'">
<div style="display:block; cursor: pointer; width: 50px; height:50px; background-color:#00ffff;">
<button style="cursor: pointer; font-family:Tahoma; font-weight: bold;font-size:14px; background-color:#00ffff;color:blue;padding: 0px 0px 0px 0px;"
onclick="document.getElementById('player').play()">Play</button>
</div></div>
<div id="myObj5h" style="display: none;">
<div style="display:block;width: 50px; height:50px; background-color:orange;">
<button style="cursor: pointer; font-family:Tahoma; font-weight: bold;font-size:14px; background-color:orange;color:blue;padding: 0px 0px 0px 0px;"
onclick="document.getElementById('player').Pause()">Pause</button>
<audio id="player" style="display:none;">
<source src='http://hi5.1980s.fm/;' type='audio/mpeg'/>
</audio>
</div></div>