• 10-12-2022, 19:25:19
    #1
    https://stackoverflow.com/questions/...n-finish-event

    arkadaşlar bir göz atar mısınız?
  • 10-12-2022, 19:59:57
    #2
    Usta değilim ama şöyle bir şey işine yarayabilir, şurada:
    https://www.w3schools.com/tags/tryit...av_event_ended

    <!DOCTYPE html> 
    <html> 
    <body> 
    
    <p>Press play and wait for the audio to end.</p>
    
    <audio id="myAudio" controls>
      <source src="horse.ogg" type="audio/ogg">
      <source src="horse.mp3" type="audio/mpeg">
      Your browser does not support the audio element.
    </audio>
    
    <script>
    var aud = document.getElementById("myAudio");
    aud.onended = function() {
      alert("The audio has ended");
    };
    </script>
    
    </body> 
    </html>