About 329,000 results
Open links in new tab
  1. javascript - HTML5 Audio Looping - Stack Overflow

    In HTML, you would nest the <audio> tags inside one another, and the browser would choose the outermost one that matches. I don't know if you can do that nesting in the programmatic Audio object.

  2. How to make music autoplay and loop in background

    Aug 23, 2020 · Learn how to autoplay and loop music in the background using HTML5 audio features.

  3. javascript - How to repeat html5 audio - Stack Overflow

    Dec 11, 2013 · The loop attribute is a boolean attribute. When present, it specifies that the audio will start over again, every time it is finished.

  4. Create Seamless Loop of Audio - Web - Stack Overflow

    9 I want to create a seamless loop of an audio file. But in all approaches I used so far, there was a noticeable gap between end & start. This is what I tried so far: First approach was to use the audio in …

  5. javascript - gapless looping audio html5 - Stack Overflow

    Sep 7, 2011 · anyone have any idea how to accomplish gapless looping for the audio tag? I'm thinking something javascript based.. I have a loop say 1 measure and I want it to loop and stay in tempo. So …

  6. javascript - Looping background music in HTML - Stack Overflow

    Aug 16, 2020 · I know this sounds really simple and I don't know how but I couldn't find a solution even after half an hour. I tried many methods that I found online, including: &lt;audio loop controls …

  7. html - HTML5 Audio stop function - Stack Overflow

    Feb 12, 2013 · Audio.prototype.stop = function() { this.pause(); this.currentTime = 0; }; I have this in a javascript file I called "AudioPlus.js" which I include in my html before any script that will be dealing …

  8. Loop audio with JavaScript - Stack Overflow

    Nov 28, 2012 · The audio element has a loop boolean property that you can set to auto-loop its playback. Another option would be to add and event listener which responds to the "ended" event of …

  9. html - How to loop sound in JavaScript? - Stack Overflow

    Mar 19, 2014 · 7 If you want to play the sound infinitely use the attribute loop in the tag audio :

  10. Why doesn't my embed audio loop even when loop='true'?

    Dec 15, 2020 · The HTML <embed> element embeds external content at the specified point in the document. This content is provided by an external application or other source of interactive content …