Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Caută ajutor

Atenție la excrocheriile de asistență. Noi nu îți vom cere niciodată să suni sau să trimiți vreun SMS la vreun număr de telefon sau să dai informații personale. Te rugăm să raportezi activitățile suspecte folosind opțiunea „Raportează un abuz”.

Află mai multe

audio tag delay in play back

  • 6 răspunsuri
  • 2 au această problemă
  • 7 vizualizări
  • Ultimul răspuns dat de Oxylatium

more options

I have 1sec .wav .ogg .mp3 etc. files. I am playing it in loop through audio tag. But firefox create delay in its looping. It did not play 30 time in 30 sec but play less.

How we can overcome this problem

I have 1sec .wav .ogg .mp3 etc. files. I am playing it in loop through audio tag. But firefox create delay in its looping. It did not play 30 time in 30 sec but play less. How we can overcome this problem

Modificat la de nbhatti2001

Toate răspunsurile (6)

more options

Can you provide an URL to test or a minimal testcase with the audio files in loop? (you can use http://jsfiddle.net/ )

more options

here is the link http://jsfiddle.net/nbhatti2001/JU8CP/ although its not full 1sec file

Modificat la de nbhatti2001

more options

Thanks for the testcase. I tried and indeed, there is an offset in looping. After a timer of 30 sec, I count 25 plays, it's reproducible.

more options

So there is no solution of this problem in firefox

more options

Works for me on Linux: 25 loops in about 24 seconds, testing with a clock.

Start Firefox in Use Troubleshoot Mode in Firefox to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).

more options

Is it possible to upload the same audio file as mp3 and ogg please?