i wonder what i\'m doing wrong?
$(\'.player_audio\').click(function() { if ($(\'.player_audio\').paused == false) { $(\'.player_audio\').paus
Here is my solution (if you want to click another element on the page):
$("#button").click(function() { var bool = $("#player").prop("muted"); $("#player").prop("muted",!bool); if (bool) { $("#player").prop("currentTime",0); } });