1 Reply Latest reply on Apr 4, 2015 2:00 PM by dsienko

    resetting all audio

    dsienko Level 1

      I have a project with abouf 200 audio clips.    I'm using the cc 2014.1.1  and adding the audio action through the menu option, but there are at least several times, audio will be playing when another audio clip is played.   So what I want to do is reset all audio to the begining of the clip, not just pause it.

        • 1. Re: resetting all audio
          dsienko Level 1

          Found the answer to reset and stop all audio when I click on a button to play an audio clip I put this code before the new audio clip

           

          $('audio').each(function(){
            
          this.pause(); // Stop playing
            
          this.currentTime = 0; // Reset time
          });