Skip to content
TransBoxTransBox

Web & Video Caption Extension Guide

When watching YouTube, Bilibili, Netflix, and similar sites, browser caption mode reads the page’s native captions (or a caption stream captured by the extension) and hands them to TransBox for translation. It does not rely on recording system audio through the microphone, so latency is lower and there is less ambient noise.


1. Enable the Service in TransBox

  1. Open Settings (tray or Ctrl+Shift+P).
  2. Go to the Browser Captions tab (the built-in plugin “Browser Native Captions (Web Caption)” must be enabled).
  3. Turn the service on. The default local WebSocket port is 8765.
  4. Confirm the status is “Running”. After pages connect, the number of connected tabs is shown.

Settings · Browser Captions

The browser caption bridge is off by default. While the service is off, “🌐 Browser captions” will not appear in the audio source list.


2. Install the Browser Extension

  1. Open Chrome / Edge / Brave and go to chrome://extensions/ in the address bar.
  2. Turn on Developer mode in the top-right.
  3. Click Load unpacked.
  4. Select the browser-extension folder in the TransBox install directory (note the hyphen, not an underscore).
  5. Optionally pin the extension to the toolbar so you can watch its icon status.

On a Steam install, find that folder under the install directory; when running from source it is browser-extension/ at the repository root.


3. Switch the Subtitle Bar to the Browser Source

  1. With the service on and the extension connected, hover the subtitle control bar.
  2. In the Audio source dropdown, choose “🌐 Browser captions”.
  3. Turn on Translation (optionally Source and Read aloud).
  4. Play a web video: the translation should come from the web caption pipeline, not from sound-card ASR.

When the service is turned off: if the current source is still browser captions, it automatically falls back to “All system audio”.


4. Behavior Notes

FeatureDescription
Pure caption modeUsing the caption bridge can skip local ASR and skip capturing the system sound card
Seeking the timelineDepends on page caption refresh; the path differs from “auto-clear cache” in local recording mode
Port conflictsIf 8765 is taken, change the port on the browser caption settings page and keep the extension in sync
Unsupported sitesPages with no interceptable captions should use “All system audio” + ASR instead

5. Troubleshooting

  1. No “Browser captions” in audio source → Confirm the service is on in Settings and the plugin is not disabled.
  2. Extension installed but cannot connect → Confirm the local TransBox service is running, ports match, and no firewall is blocking the loopback interface.
  3. Source shows but no translation → Check that the MT engine and API key / local model are ready.
  4. No captions at all → Try a video with native captions, or fall back to “All system audio” to verify the ASR path.

TransBox — empowering borderless cross-language communication for everyone