This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

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.

Learn More

Html5 audio is delayed (Firefox only)

  • 3 ردود
  • 12 have this problem
  • 464 views
  • آخر ردّ كتبه Releth

more options

Hello everyone, I am having this problem where the audio is delayed by approximately 300ms, I've tested and noticed that on Youtube videos. I am using Firefox version 40.0.3, but this problem occurred a couple of versions ago. As a reference, please see this video https://www.youtube.com/watch?v=bCPEidaVzQU (BBC HD audio sync test ) When watching this on Firefox with HTML5 and I pause when the sound appears, its usually on 3 (audio late). When I use Firefox with the YouTube™ Flash® Player 1.4.0 add-on or on Google Chrome with HTML5 I get 0 (no delay). Steps I tried so far: - Restarting Firefox in safe mode and add-ons disabled (HTML5 audio still delayed) - Creating a brand new user profile (HTML5 audio still delayed) - Reinstalled Firefox (HTML5 audio still delayed) - Options -> Advanced -> check/uncheck "Use hardware acceleration when available" (HTML5 audio still delayed)

I have browsed the forum and found some people having a somewhat similar issue, where everything starts normally but a couple of minutes in the video, audio starts to desynchronize. I do not have that problem, my audio is always delayed with those 300ms and the delay stays the same. Usually it's not a big deal, but when watching someone talk directly, it gets really bothersome. If anyone can help me out with some advice, I would really appreciate it.

Releth

P.S. I found this reddit post https://www.reddit.com/r/firefox/comments/39mrox/firefox_html5_audio_delay/ seems other people have the exact same issue too.

Hello everyone, I am having this problem where the audio is delayed by approximately 300ms, I've tested and noticed that on Youtube videos. I am using Firefox version 40.0.3, but this problem occurred a couple of versions ago. As a reference, please see this video https://www.youtube.com/watch?v=bCPEidaVzQU (BBC HD audio sync test ) When watching this on Firefox with HTML5 and I pause when the sound appears, its usually on 3 (audio late). When I use Firefox with the YouTube™ Flash® Player 1.4.0 add-on or on Google Chrome with HTML5 I get 0 (no delay). Steps I tried so far: - Restarting Firefox in safe mode and add-ons disabled (HTML5 audio still delayed) - Creating a brand new user profile (HTML5 audio still delayed) - Reinstalled Firefox (HTML5 audio still delayed) - Options -> Advanced -> check/uncheck "Use hardware acceleration when available" (HTML5 audio still delayed) I have browsed the forum and found some people having a somewhat similar issue, where everything starts normally but a couple of minutes in the video, audio starts to desynchronize. I do not have that problem, my audio is always delayed with those 300ms and the delay stays the same. Usually it's not a big deal, but when watching someone talk directly, it gets really bothersome. If anyone can help me out with some advice, I would really appreciate it. Releth P.S. I found this reddit post https://www.reddit.com/r/firefox/comments/39mrox/firefox_html5_audio_delay/ seems other people have the exact same issue too.

Modified by Releth

الحل المُختار

A late update, I still haven't updated my graphics drivers, but I don't think they are the cause, as I noticed, the newer videos have no delay on Firefox anymore. I don't really know why only Firefox has a sound delay on older videos (and the other browsers don't) but I'm happy that the new videos are working fine.

Read this answer in context 👍 2

All Replies (3)

more options

You can try to disable hardware acceleration in Firefox.

  • Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"

You need to close and restart Firefox after toggling this setting.

You can check if there is an update for your graphics display driver and check for hardware acceleration related issues.

more options

Hello cor-el, thank you for the quick reply. I did change "Use hardware acceleration when available" option on and off with restarting Firefox every time now, but still the issue remains. I will try to find newer drivers later in the day and will let you know if it changed something.

I did notice that Firefox was using the NVIDIA card and Chrome used the Integrated Intel card, so here are some tests I made, always restarting the browsers after each change but sadly, the result was always Chrome no delay and Firefox with a delay (with a small exception):

  • I forced both browsers to use the Integrated Intel card
  • I forced both browsers to use the NVIDIA card
  • I changed the resolution of the video through all possible resolution (720p to 144p) on Chrome, no delay
  • I changed the resolution of the video through all possible resolution (720p to 144p) on Firefox, from 240p to 720p the delay was the same, at 144p however, the delay was smaller (0-200ms) depending on the video.

For a quick reference, I also did a small test with Internet Explorer 9 (also no delay) but it was still using the flash player and not HTML5 (and I don't want to update it) so I didn't include it in my main testings.

more options

الحل المُختار

A late update, I still haven't updated my graphics drivers, but I don't think they are the cause, as I noticed, the newer videos have no delay on Firefox anymore. I don't really know why only Firefox has a sound delay on older videos (and the other browsers don't) but I'm happy that the new videos are working fine.