Enable this extension:
Always On whitelisted sites Never
Always enables this extension on every site you visit that you didn't blacklist. On whitelisted sites enables this extension only on sites you explicitly whitelisted. Never disables extension on all sites, even on those you whitelisted.
Enable autodetection:
Always On whitelisted sites Never
Always enables autodetection on every site this extension is enabled for, unless blacklisted. On whitelisted sites enables autodetection only for sites that you explicitly enabled. Never disables autodetection on all sites, even on those you whitelisted.
In-player UI
Always/a> On whitelisted sites Never
Video alignment:
left center right
Never
Basic
Hybrid
Thin borders
Enable autodetection:
Always On whitelisted sites Never
Always enables autodetection on every site this extension is enabled for, unless blacklisted. On whitelisted sites enables autodetection only for sites that you explicitly enabled. Never disables autodetection on all sites, even on those you whitelisted.
Checking for aspect ratio changes
When video is playing: ms
When video is paused: ms
On error: ms
All values are in milliseconds. The values determine how often the autodetection script will scan video for changes in aspect ratio under different circumstances. Using shorter intervals can cause lag and increases resource usage. Using longer intervals increases delay between aspect ratio changing and said change being detected.
Enable fallback mode todo: insert checkbox

In order for autodetection to work, the extension grabs a frame of the video you're watching and takes a look at it. Some websites use DRM, which prevents you from using the HTML5-blessed way of getting a frame from a video. Some browsers offer some features that can be used to circumvent DRM protection. With this option enabled, the extension will use said features to basically do that.

Technical details: tl;dr — only works in Firefox and maybe its forks.
Fallback mode depends on two things:

1. Attempting to grab a video frame from DRM protected video stream must return an error (Chrome returns black image)
2. Supports CanvasRenderingContext2D.drawWindow() method, which pretty much only Firefox does

But I thought it's illegal to circumvent DRM?
Courts disagree (at least as far as our use-case is concerned). At this point I'd also throw in some choice words about DRM and everyone using it, but AMO gives me "you're breaking terms of conduct" warnings over use of the word for thing you flush down the toilet, prepended by a word for male cow*, in the code comments.
*'cow' is term for the female

# PLEASE NOTE: THIS IS COMPLETELY NON-FUNCTIONAL ATM. YOU CANT SET SITE-SPECIFIC OPTIONS ATM

## Keyboard shortcuts

Autodetect aspect ratio
Ctrl + Shift + Alt +
Fit to width
Ctrl + Shift + Alt +
Fit to height
Ctrl + Shift + Alt +
Reset
Ctrl + Shift + Alt +
Force 21:9
Ctrl + Shift + Alt +
Force 2:1 (18:9)
Ctrl + Shift + Alt +
Force 16:9
Ctrl + Shift + Alt +
Cancel
Save
Note: keyboard shortcut conflicts aren't handled by this extension. You must know your shortcuts.
Pro tip: If you don't want to have a keybind for a shortcut, just uncheck all boxes for the action and remove the letter

## Ultrawidify - an aspect ratio fixer for youtube (and netflix)

Created by Tamius Han (me). If something is broken, you can shout at me on github (shout nicely, though. Open an issue or bug report or something). If you're curious to see the source code, github's here. If you're looking at this page because you're bored and want to be bored some more, my website's here.

## So you want to help?

Alan pls add quick description.

## Plans for the future

## Acknowledgements

This extension uses font Overpass.

Special thanks to me for making this extension. You're welcome.