title: html5 audio player - jquery toggle click play/pause?
body: <p>i wonder what i'm doing wrong?</p>
  
  <pre><code>    $('.player_audio').click(function() {
      if ($('.player_audio').paused == false) {
          $('.player_audio').pause();
          alert('music paused');
      } else {
          $('.player_audio').play();
          alert('music playing');
      }
  });
  </code></pre>
  
  <p>i can't seem to start the audio track if i hit the "player_audio" tag.</p>
  
  <pre><code>&lt;div class='thumb audio'&gt;&lt;audio class='player_audio' src='$path/$value'&gt;&lt;/audio&gt;&lt;/div&gt;
  </code></pre>
  
  <p>any idea what i'm doing wrong or what i have to do to get it working?</p>