title: Play/Pause Button HTML5 Audio
body: <p>I'm trying to get HTML5 Audio to play/pause in one button. How would I possibly go around doing this? So the play button switches to the pause icon which is font awesome 'fa fa-pause' The code is here: </p>
  
  <pre><code>&lt;audio id="myTune"&gt;
  &lt;source src="http://96.47.236.72:8364/;"&gt;
  &lt;/audio&gt;
  &lt;div class="btn-group btn-group-xs"&gt;
  &lt;a href="javascript:void(0)" class="btn btn-default" data-toggle="tooltip" title="Preview"     onclick="document.getElementById('myTune').play()"&gt;&lt;i class="fa fa-play"&gt;&lt;/i&gt;&lt;/a&gt;
  </code></pre>
  
  <p>Thank you!</p>