Media Keys for Youtube™

Improve hardware media key handling!
What is Media Keys for Youtube™?
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

Users: 418 ▲ 22
Rating: 4.05 (21)
Version: 0.0.1 (Last updated: 2021-06-01)
Creation date: 2021-04-07
Risk impact: Moderate risk impact
Risk likelihood: Low risk likelihood
Manifest version: 3
Host permissions:
  • https://www.youtube.com/*
Size: 3.93K

Other platforms

Not available on Firefox
Not available on Edge
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
by Andrey Gritsay, 2024-09-30

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!
by Marius van Voorden, 2024-08-24

MacOS. Seeking forward/backward works flawlessly, but after installing addon, play/pause is broken.
by Andrey Svetlichny, 2024-05-07
View all user reviews

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

Media Keys for Youtube™ small promo image
Small promo image

Similar extensions

Here are some Chrome extensions that are similar to Media Keys for Youtube™: