Aspect ratio fixer for youtube that works around some people's disability to properly encode 21:9 (and sometimes, 16:9) videos.
Now with more automatic detection!
If you're using a 21:9 monitor, then you probably noticed that most "21:9" videos on youtube (e.g. almost every movie trailer that exists) and netflix are actually 16:9 videos with letterbox encoded. That means you usually see black borders on all four sides. Ultrawidify aims to fix that.
After a year of hard work (and real life getting in the way a lot) and two rewrites, this extension even has working auto-detection (if a site allows that — exceptions apply).
Github's here: https://github.com/xternal7/ultrawidify
* Extension buttons are now located in an extension button next to the tab bar
* Autodetection polling rate decreased to 1 check per second due to RAM issues in Firefox.
* Autodetection: can now be enabled or disabled from the extension popup. You can also change the rate at which the extension checks for aspect ratio changes.
=== PERMISSIONS EXPLAINED ===
* All_tabs permission is required so extension can run on sites other than youtube and netflix.
* Navigation and access browser tabs permissions are required so certain site-specific options in the popup update as you switch between the tabs
===Frequently Asked Questions:===
WHY IS THE UI GONE?
Because in-player UI is a PITA to maintain. Instead, the UI has been moved into a popup next to the URL bar.
Alternatively, there's automatic aspect ratio detection that should work most of the time on Youtube.
While the in-player UI might return at some point later down the line if I find a decent way of implementing it, don't count on that happening.
WHY DOESN'T ASPECT RATIO AUTODETECTION WORK ON NETFLIX/<insert site>?
Because Netflix/<insert site> uses DRM, and DRM prevents autodetection script from working properly.
BUT FIREFOX VERSION HAS WORKING ASPECT RATIO AUTODETECTION ON NETFLIX?
Firefox also has non-standard functions that allow for a janky ghetto workaround. Chrome, to my knowledge, doesn't.
w : fit to width
e : fit to height
r : reset video size
a : attempt to automatically determine aspect ratio
d : force 21:9
s : force 16:9
x : force 18:9