搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

audio tag delay in play back

  • 6 个回答
  • 2 人有此问题
  • 3 次查看
  • 最后回复者为 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

由nbhatti2001于修改

所有回复 (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

由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 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?