DualSync

DualSync 🎬

DualSync is a Chrome Extension that synchronizes video playback (play, pause, seek, playback rate) across multiple browser tabs in real-time. It is purpose-built for watching reaction videos perfectly in sync with the original source content.[Currently only working for YouTube, working on adding support for more platforms]

Features

How It Works

DualSync uses a Hub-and-Spoke architecture within Chrome Manifest V3:

  1. Content Scripts hook into the HTML5 <video> elements using MutationObserver to handle dynamically loaded single-page applications like YouTube.
  2. Background Service Worker acts as the central router, tracking state in chrome.storage.session and relaying commands.
  3. Echo Prevention guards against infinite loops when programmatically forcing video state updates.

Installation (Developer Mode)

  1. Clone this repository: git clone https://github.com/YOUR-USERNAME/DualSync.git
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable Developer mode in the top right corner.
  4. Click Load unpacked and select the DualSync directory.

License

MIT License