Skip to content

AsLeonardo/Youtube_Speed_Controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube Speed Controller

A Chromium extension that adds a popup to your toolbar with:

  • An on/off toggle
  • A speed slider from 0.1x to 4.0x (default: 2.0x)
  • A Turbo speed slider from 2.0x to 4.0x (default: 2.0x)

When enabled, YouTube videos play at the chosen speed automatically. When disabled, playback returns to normal (1.0x). Settings sync across browsers through chrome.storage.sync.

speed.mp4

Install (unpacked, dev mode)

  1. Open chrome://extensions
  2. Toggle Developer mode on (top right)
  3. Click Load unpacked
  4. Select this folder

The icon will appear in your toolbar, click it to open the popup.

Files

File Intent
manifest.json MV3 manifest
popup.html Toolbar popup (toggle, sliders, speed display)
popup.js Popup logic, reads/writes settings via chrome.storage.sync
content.js Sets the playback rate, deals with YouTube's SPA nav
icon.png Icon

Notes

YouTube resets playbackRate whenever it feels like it (on play, loadeddata, ratechange) and swaps out the <video> element entirely on SPA navigation.
So the content script just re-applies the rate every time those events fire, and uses a MutationObserver to catch new video elements as they appear.

Mentions

Inspired by dobval/youtube2x, a script in which it hardcodes 2x playback on YouTube.
This extension aims to widen it, through an UI, a switch and an adjustable slider.

License

MIT

About

Chromium extension which auto selects (overrides) YouTube playback speed to 2x (or another custom option) on the click of a button.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors