h5player is a userscript and browser extension that enhances video playback across web-based video platforms.
The tool solves the problem of limited playback controls on streaming websites by injecting keyboard shortcuts and UI enhancements into any webpage containing HTML5 video elements. It works by intercepting video tags—including those nested in iframes and shadow DOM—and attaching customizable controls that operate across domain boundaries. The script supports variable playback speed, video screenshots, picture-in-picture mode, brightness and contrast adjustment, video downloading for offline storage, and live stream extraction.
The tool suits anyone who watches educational content, tutorials, or streaming video and wants granular control over playback without relying on each platform's native player. It works on a broad range of sites including YouTube, Bilibili, TikTok, Instagram, Twitter, TED, and many others. The approach of operating as a userscript means installation requires a userscript manager like Tampermonkey, making it accessible to users who prefer not to install a full browser extension. The project also offers a browser extension version for those who prefer that distribution method.
Development activity shows consistent engagement with the codebase. The project maintains an official website and documentation in multiple languages, indicating sustained effort toward user accessibility. Community discussion channels including Telegram and WeChat groups are actively maintained. The tool receives ongoing refinement to support new video platforms and maintain compatibility as websites evolve their video implementations.