Zoom and crop YouTube videos to fill screen height

Removes letterboxing by cropping the left and right edges off of full-screen YouTube videos and zooming to fill the screen height.

These are versions of this script where the code was updated. Show all versions.

  • v0.6.4 2019-03-21 Added support for youtube-nocookie.com
  • v0.6.3 2019-02-23 Works with embedded videos now, and fixed bug where the zoom button wouldn't be added if delayed.
  • v0.6.1 2019-02-06 Bug fix for zoom toggle button not reflecting state if the player controls were slow to load.
  • v0.6 2019-02-06 Turned off debug logging. (It was accidentally left enabled in released version 0.6. Whoops.)
  • v0.6 2019-02-06 Added a zoom toggle function and the ability to enable zoom outside of full-screen.
  • v0.5.1 2019-01-21 Changed @namespace to a more unique value.
  • v0.5 2019-01-20 Redesigned to trigger on changes to the video element, to improve reliability and remove bugs.
  • v0.4 2019-01-04 Added configurable minimum aspect ratio and maximum crop proportion.
  • v0.2 2018-12-18
  • v0.1 2018-12-18
  • v0.1 2018-12-18
  • v0.1 2018-12-18