Improve hardware media key handling!
Media Keys for Youtube™ - Improve hardware media key handling
Media Keys for Youtube™ is a Chrome extension that allows you to easily control YouTube videos using your computer's hardware media keys, even when the youtube.com window or tab is not active. It provides seamless control for play/pause, rewind, and forward functions, enhancing your overall video watching experience.
Extension stats
Risk impact: Moderate risk impact
Risk likelihood:
Manifest version: 3
Host permissions:
Size: 3.93K
Email: ti*****@gmail.com
Ranking
# 42,970
Want to check extension ranking and stats more quickly for other Chrome extensions?
Install
Chrome-Stats extension
to view Chrome-Stats data as you browse the Chrome Web Store.
Extension summary
Use the following keys to pause, rewind the video forward and backward, even when the youtube.com window / tab is not active.
Play/Pause ⏯ - works like Space-key. Previous ⏮- works like LeftArrow-key (backward 5 seconds), long press switches to the previous video. Next ⏭ - works like RightArrow-key (forward 5 seconds), long press switches to the next video.
Be careful, the extension takes some time to load when the page loads. Tested with Windows 10 only.
User reviews
I copied script from this extension and pasted it to "Custom JavaScript for Websites 2" and did as Marius van Voorden said and it works like a charm
Workaround for the bug for people who are comfortable tinkering:
- Find the extension folder in your chrome extensions on your hard drive
- Edit "content.js", comment out the two lines that catch the play and pause event; we don't want the extension to meddle with those. It's these, just put two slashes in front of each:
navigator.mediaSession.setActionHandler('play', function() {space(document)});
navigator.mediaSession.setActionHandler('pause', function() {space(document)});
- Save
- Delete folder _metadata so chrome knows this is a modified extension, not a pure one
- In chrome://extensions/, turn on developer mode
- Click load unpacked extension
- Navigate to the folder with the extension you modified, and select the "0.0.1_0" folder
- Extension now works.
Hopefully the dev just implements this fairly trivial fix instead!
MacOS. Seeking forward/backward works flawlessly, but after installing addon, play/pause is broken.
Extension safety
Risk impact
Media Keys for Youtube™ requires a few sensitive permissions. Exercise caution before installing.
Risk likelihood
Media Keys for Youtube™ has earned a fairly good reputation and likely can be trusted.
Upgrade to see risk analysis details
Promo images
Similar extensions
Here are some Chrome extensions that are similar to Media Keys for Youtube™:
Enhancer for YouTube™ Controls for YouTube™ Shorts Video playback rate control for YouTube™ ThemeSong for YouTube Music™ (Enhancer) Annotations Restored for YouTube™
https://www.mrfdev.com
4.67
1,000,000+
edoan
4.77
8,000+
sweet
5.00
7,000+
https://themesong.app
4.89
10,000+
https://isaackei.com
4.32
30,000+