Skip to content

Repository files navigation

VideoController

中文 · English

中文

一个常驻系统托盘的 Windows 小工具。即使浏览器在后台,也可以用全局热键控制视频播放。

功能

  • 全局视频控制快捷键。
  • 自动查找最靠前的受支持视频窗口,操作后恢复原窗口焦点。
  • 常驻系统托盘,支持单实例运行并提示热键冲突。
  • 同时提供轻量版和无需安装 .NET 的独立版。

下载

请前往 Releases 下载适合你的 win-x64 版本:

文件 适合人群
VideoController-v0.2.1-win-x64.exe 推荐。体积小,需要安装 .NET 10 Desktop Runtime x64
VideoController-v0.2.1-win-x64-self-contained.exe 无需安装 .NET,下载体积较大。

请不要下载 GitHub 自动生成的源码压缩包,除非你准备自行构建。当前发行文件未使用代码签名证书,Windows SmartScreen 可能在首次运行时显示提示;可使用 Release 中的 SHA256SUMS.txt 核对文件完整性。

快捷键

快捷键 功能
F6 后退 30 秒
F7 后退 5 秒
F8 播放 / 暂停
F9 前进 5 秒
F10 前进 30 秒

启动后程序会隐藏到系统托盘。双击托盘图标或右键选择“使用说明”可再次查看快捷键;右键选择“退出”可关闭程序。

支持范围与限制

  • 支持 Windows 10 / 11 x64。
  • 可识别 Edge、Chrome、Firefox、Brave、Vivaldi、Opera、360 浏览器、QQ 浏览器、搜狗浏览器,以及哔哩哔哩、抖音和 TikTok 桌面客户端。
  • 同时打开多个受支持窗口时,程序可能选择到与预期不同的窗口。
  • 跳转时长取决于视频播放器自身对方向键的处理方式。
  • 视频播放器未获得键盘焦点、应用间权限不同,或目标应用禁止切换焦点时,操作可能无效。

从源码构建

需要 Windows 和 .NET 10 SDK

dotnet build -c Release
dotnet publish -p:PublishProfile=FrameworkDependent
dotnet publish -p:PublishProfile=SelfContained

也可以在 Visual Studio 中打开 VideoController.slnx。发布产物位于 artifacts/publish/

English

A lightweight Windows tray application for controlling video playback with global hotkeys, even while the video window is in the background.

Features

  • Global video-control hotkeys.
  • Finds the frontmost supported video window and restores focus after each action.
  • Runs in the system tray, prevents duplicate instances, and reports hotkey conflicts.
  • Available as both a small framework-dependent app and a self-contained app.

Download

Download the appropriate win-x64 file from Releases:

File When to use it
VideoController-v0.2.1-win-x64.exe Recommended small download; requires the .NET 10 Desktop Runtime x64.
VideoController-v0.2.1-win-x64-self-contained.exe Larger download with no separate .NET installation required.

Do not download GitHub's automatically generated source archives unless you want to build the app yourself. The release files are currently unsigned, so Windows SmartScreen may show a first-run warning. Verify downloads with SHA256SUMS.txt from the Release.

Hotkeys

Hotkey Action
F6 Backward 30 seconds
F7 Backward 5 seconds
F8 Play / pause
F9 Forward 5 seconds
F10 Forward 30 seconds

The app hides in the system tray after startup. Double-click the tray icon, or choose “使用说明” from its menu, to show the shortcuts. Choose “退出” to quit.

Support and limitations

  • Requires 64-bit Windows 10 or Windows 11.
  • Recognizes Edge, Chrome, Firefox, Brave, Vivaldi, Opera, 360 Browser, QQ Browser, Sogou Explorer, and the Bilibili, Douyin, and TikTok desktop apps.
  • If multiple supported windows are open, the app may select a different window than expected.
  • Seeking duration depends on how the selected player handles arrow keys.
  • Controls may fail if the player lacks keyboard focus, the apps run at different privilege levels, or the target app prevents focus changes.

Build from source

Windows and the .NET 10 SDK are required:

dotnet build -c Release
dotnet publish -p:PublishProfile=FrameworkDependent
dotnet publish -p:PublishProfile=SelfContained

You can also open VideoController.slnx in Visual Studio. Published files are written to artifacts/publish/.

License

MIT

About

A lightweight Windows tray app for controlling video playback with global hotkeys.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages