Universal Video Caption (Sidebar UI)

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

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 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.