Streaming live at 10am (PST)

Sound on when click on a video


I am trying to enable sound on an html embedded video when clicking on it.

I tried this script below.
It works but, when I use more videos it affects every video on the page, so when I click the first video all the videos start to sound. So I will need some help to only affect the video I am clicking on.

I set the ID #videoonclick to the video.

  $("video").prop('muted', true);

  $("#videoonclick").click( function (){
    if( $("video").prop('muted') ) {
          $("video").prop('muted', false);
    } else {
      $("video").prop('muted', true);

Thank you!!!

Here is my site Read-Only: