Universal Video Caption (Sidebar UI)

Overlay custom subtitles (.srt) on any HTML5 video. Interactive elements moved to a persistent sidebar.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Sung Sam
今日安裝
0
安裝總數
4
評價
0 0 0
版本
3.0
建立日期
2025-12-15
更新日期
2025-12-18
尺寸
37.3 KB
授權條款
MIT
腳本執行於
所有網站

Universal Video Caption (UVC)

This user script allows you to overlay custom subtitles (SRT files) on virtually any HTML5 video player across the web.

Key Features

  • Drag & Drop Loading: Simply drag and drop your .srt subtitle file anywhere onto the page to load it instantly.
  • Persistent Caching: Subtitles are automatically cached for the current video's URL, so you don't need to reload the file every time you revisit the page.
  • Full Customization:
    • Adjust Font Size and Font Color.
    • Customize the Background Color and Opacity.
    • Toggle subtitle alignment between the bottom (default) and top of the video.
  • Subtitle Timeline: Access a sidebar panel that lists all subtitles with timestamps, allowing you to instantly jump to any point in the video by clicking a line.
  • Sync Adjustment: Easily set a Global Sync Offset (ms) directly in the Timeline panel to fix timing issues (e.g., subtitles starting too early or too late).
  • Dual-Line Subtitles (Previous Line): An optional feature to display the previous subtitle line above the current one, with its own opacity setting for better context.

How to Use

  1. Look for the Button: After the script is installed and running on a page with a video, look for the "📁 CC Upload" or "⚙️ CC Settings" button usually located in the top-left corner of the video player.
  2. Load Subtitles:
    • Drag & Drop: Drag an .srt file onto the page.
    • Button: Click the button and select "Load New SRT" to open a file selection dialog.
  3. Access Settings: Once loaded, click the "⚙️ CC Settings" button to open the configuration panel to customize colors, size, and other options.
  4. Manage Timeline: In the Settings panel, click "Timeline" to open the subtitle sidebar for searching, jumping to timestamps, and adjusting the sync offset.