Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

audio tag delay in play back

  • 6 respostas
  • 2 têm este problema
  • 3 visualizações
  • Última resposta por 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

Modificado por nbhatti2001 a

Todas as respostas (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

Modificado por nbhatti2001 a

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 Diagnose Firefox issues using Troubleshoot Mode 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?