i wonder what i\'m doing wrong?
$(\'.player_audio\').click(function() {
if ($(\'.player_audio\').paused == false) {
$(\'.player_audio\').paus
Well, I'm not 100% sure, but I don't think jQuery extends/parses those functions and attributes (.paused, .pause(), .play()).
try to access those over the DOM element, like:
$('.player_audio').click(function() {
if (this.paused == false) {
this.pause();
alert('music paused');
} else {
this.play();
alert('music playing');
}
});