Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of YouTube Audio Sync Fix

YouTube Audio Sync Fix by Supreme Lobster

Forces a tiny double-seek after releasing a held Space key on a playing YouTube video to resync audio and video.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

About this extension
A small Manifest V3 Firefox extension that applies a targeted workaround for
audio/video drift in YouTube players.


When a ready YouTube video is playing, the extension records an eligible
Space press. If Space remains held for at least 400 ms, releasing it:
  1. lets YouTube finish handling the key release;
  2. seeks the video 0.10 seconds backward; and
  3. returns to the original timestamp as soon as the first seek completes.

Firefox normally emits a seeked event after the backward seek. If it does not,
the extension restores the original timestamp after a 100 ms fallback timeout.
The two real seeks force Firefox's media pipeline to resynchronize audio and
video while leaving playback at effectively the same position.

The extension deliberately does nothing when:
  • Space is tapped for less than 400 ms;
  • there is no playing, ready video;
  • the key press is a repeat or uses Control, Alt, or Meta;
  • focus is in an input, text area, editable element, or textbox; or
  • the window loses focus before Space is released.

If the original video is removed before resynchronization starts, the extension
looks for another playing video in the same YouTube document. It safely stops a
pending seek when its video is no longer playable or connected. There is no
toolbar UI, background script, settings page, or automatic drift detection.


The content script is only injected into:
  • https://*.youtube.com/*
  • https://*.youtube-nocookie.com/*

The manifest sets all_frames: true, so the extension also works inside
YouTube player frames embedded on other websites. Only the matching YouTube
frame receives the content script; the extension does not receive access to
the surrounding website.
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access your data for sites in the youtube.com domain
  • Access your data for sites in the youtube-nocookie.com domain

Data collection:

  • The developer says this extension doesn't require data collection.
Learn more
More information
Add-on Links
  • Support site
  • Copy add-on ID
Version
1.0.2
Size
41.93 KB
Last updated
15 days ago (Aug 7, 2026)
Related Categories
  • Other
License
MIT License
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.