Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

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?