YouTube Playback Speed Control Overlay

Adds a convenient overlay to control YouTube video playback speed with keyboard shortcuts and perfect sync with native controls

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

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

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

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

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Bishoy Asaad
日安装量
0
总安装量
12
评分
0 0 0
版本
1.0.0
创建于
2025-04-19
更新于
2025-10-25
大小
9.8 KB
兼容性
与 Firefox 兼容 与 Chrome 兼容 与 Safari 兼容 与 Edge 兼容
许可证
MIT
适用于

📝 Description

Enhance your YouTube viewing experience with a convenient overlay that lets you control playback speed without opening menus! This script adds a small, unobtrusive speed control overlay that appears alongside YouTube's native controls and stays perfectly synced with the platform's built-in speed settings.

✨ Features

  • Quick Speed Control: Adjust playback speed with visible +/− buttons
  • Real-time Display: Shows current playback speed (e.g., 1.25×, 2.00×)
  • Keyboard Shortcuts: Use [ to decrease and ] to increase speed
  • Auto-hide: Overlay appears/disappears with YouTube's native controls
  • Perfect Sync: Changes sync with YouTube's settings menu and persist across videos
  • Fullscreen Support: Works seamlessly in both normal and fullscreen modes
  • Increments: Speed adjusts in 0.25× steps (0.25× to 3.00×)
  • Non-intrusive: Small overlay positioned in the bottom-right corner

🚀 Installation

  1. Install a userscript manager:

  2. Install this script:

    • Click the green "Install this script" button on Greasyfork
    • Your userscript manager will open - click "Install"
  3. Watch YouTube videos:

    • Navigate to any YouTube video (youtube.com/watch*)
    • Hover over the video to see the speed control overlay!

🎮 How to Use

Using the Overlay:

  • Hover over the video to reveal YouTube's controls and the speed overlay
  • Click the button to decrease speed by 0.25×
  • Click the + button to increase speed by 0.25×
  • The center displays your current speed (e.g., 1.50×)

Keyboard Shortcuts:

  • Press [ to decrease playback speed
  • Press ] to increase playback speed

Speed Range:

  • Minimum: 0.25× (quarter speed)
  • Maximum: 3.00× (triple speed)
  • Increments: 0.25× steps

📖 How It Works

The script:

  1. Detects when you're watching a YouTube video
  2. Creates a small overlay with speed controls
  3. Syncs all changes with YouTube's native speed settings
  4. Saves your preferences using YouTube's session storage
  5. Auto-hides when you move your cursor away (just like native controls)
  6. Updates when you change speed through YouTube's settings menu

🔧 Troubleshooting

Overlay not appearing?

  • Make sure you're on a video page (URL contains /watch)
  • Try refreshing the page (F5)
  • Hover over the video to reveal controls

Speed not changing?

  • Check browser console (F12) for any errors
  • Ensure no other speed control extensions are conflicting
  • Try disabling other YouTube-related userscripts temporarily

Keyboard shortcuts not working?

  • Make sure you're not typing in a comment box or search field
  • Click on the video player area first
  • Check if another extension is using the same shortcuts

💡 Tips

  • The overlay automatically appears when you hover over the video
  • Your speed preference is saved and applies to subsequent videos
  • In fullscreen mode, the overlay adjusts its position automatically
  • Works great for watching tutorials, lectures, or any content at your preferred pace

🐛 Bug Reports & Feature Requests

Found a bug or have a suggestion? Please use the Feedback tab above to report issues with:

  • Your browser and version
  • Steps to reproduce the issue
  • Any console error messages
  • Screenshots (if applicable)

📄 License

This script is released under the MIT License. Feel free to modify and share!

🙏 Support

If this script improves your YouTube experience, consider:

  • ⭐ Giving it a rating on Greasyfork
  • 💬 Leaving feedback about your experience
  • 🔄 Sharing it with friends who watch YouTube

🔄 Version History

v1.3 (Current)

  • Full sync with YouTube's native speed controls
  • Session storage integration
  • Improved settings menu synchronization
  • Enhanced event handling

v1.0-1.2

  • Initial release
  • Basic speed control functionality
  • Keyboard shortcuts
  • Auto-hide behavior

Note: This script only modifies the client-side playback experience and doesn't interfere with YouTube's servers or violate their Terms of Service. All speed changes are handled through YouTube's official playback API.