There's also nightly "builds".
If you own an ultrawide monitor, you have probably noticed that sometimes videos aren't encoded properly — they feature black bars on all four sides. This could happen because someone was incompetent (note: as far as youtube is concerned, improperly rendered videos might be due to youtube's implementation of certain new features). The extension kinda fixes that by doing this:
I am not actively testing extension on other sites. You can try your luck and enable extension for any unsupported site you stumble across via extension popup, but I make no guarantees it will work everywhere.
If extension doesn't work for a site I'm not testing on out of the box, follow this wiki. The 'quick and dirty' approach should work for most sites. (If you try doing things the proper way, you should really know what you're doing.)
You can download this extension from the relevant extension stores:
Other browsers are not officially supported. If you're using a different Chromium-based browser, you can try installing the addon from the Chrome Web Store — but if things don't work, you're on your own.
If I did anything during the day, the nightly version will be sorta-built at whatever my VPS provider thinks is 4AM CE(S)T.
If you want to support this project, please consider a donation. Working on this extension takes time, money, coffee and motivation. Sometimes also a very precise amount of alco.
You can make a donation via Paypal.
Any donation — no matter how big or small — is well appreciated. Thanks.
The technology has been here for a while, but plenty of people don't know how to properly encode a video (despite the fact youtube has an article that explains aspect ratios). Plenty of people surprisingly includes major Hollywood studios, such as Marvel, Disney, Dreamworks, Warner Brothers, Sony, et cetera. You'd think that this is the one thing Hollywood studios and people who make music videos for a living would know how to do right, but they don't. This extension is here to fix that.
Most settings are self-explanatory, but we'll get into details anyway.
Before we go on to features, let's discuss limitations.
By default, automatic detection will run on every site this extension is enabled for. It does what it says on the tin: it attempts to detect aspect ratio of the video by periodically looking at a video frame.
Some caveats apply:
Autodetection can be enabled or disabled globally, per site or per video.
Most of the extension settings can be accessed and modified via the popup. If extension is enabled for the site you're currently on, the popup will display options for the video you're currently watching.
Extension can crop videos to the desired aspect ratio. Options offered by the extension are (keyboard shortcuts in bold):
In addition to that, you can crop video to fit width (W) or height (E).
Note: manually adjusting aspect ratio disables autodetection for current video. Manual adjustments are temporary and should last for only one video.
You can set custom aspect ratio by clicking 'set custom aspect ratio' link under the buttons, changing the value in the box and clicking 'save'. Aspect ratio can be in any of the following formats:
width/height
(e.g. 16/9
, 21/9
- even 2560/1080
)1:ratio
(e.g. 1:2.39
. You can omit the 1:
part, too — e.g. 2.39
is equivalent to 1:2.39
)
'Save' button saves your custom aspect ratio. If you don't save changes, they'll be forgotten by the time you close the popup.Keys 'Z' and 'U' manually zoom the video. You can use those to zoom farther than merely adjusting aspect ratio would. At high magnification, you can pan the video by moving mouse over it. Panning is off by default and can be activated by holding 'shift' or toggled by pressing 'P' key.
You can also zoom video by using the slider in the popup:
If you watch 16:9 videos in full screen on a 21:9 monitor, there's obviously going to be black bars on either side of the video. The video will be centered, though. Some people don't want video to be centered in such situations, instead preferring having the video aligned to either side. Video alignment option does that.
When you watch a 16:9 content on a 21:9 monitor, you can deal with this issue in three ways: A) you don't, B) you crop or C) you stretch the 16:9 video to fit a 21:9 container. Obviously not everyone is a person of culture, some people prefer to choose the greater evil of the three: they prefer their videos stretched!
Ultrawidify offers you several ways of dealing with the issue:
You can change default settings for extension or site you're currently on by visiting 'Extension settings' and 'Site settings' tabs in the popup. Per-site settings override extension defaults, video settings override both. Both tabs also have the same options:
Quick rundown of the options:
Whether the extension is enabled. Options:
Always
— allow this extension to run on every site (unless the site is blacklisted)
On whitelisted sites
— allow this extension to run only on sites you manually enabled
Never
— this extension won't work. At all.
Whether extension should automatically detect aspect ratio. Uses same options as Enable this extension options.
Whether the extension is enabled on current site. Options:
Whitelist
— allow this extension to run on current site.
Default
— follow global settings (allow if global option is set to 'always', don't allow if global option is set to any of the other two)
Blacklist
— never allow extension to run on current site.
Whether extension should automatically detect aspect ratio on current site. Uses same options as Enable this extension options.
How, if at all, should extension stretch the video by default.
How to align the video by default.
The keyboard shortcuts have already been listed, but let's list them all again in the same, handy place.
w
- fit to width
e
- fit to height
r
- reset
a
- attempt to automatically determine the aspect ratio
s
- force 16:9
d
- force 21:9
x
- force 18:9
q
- force custom aspect ratio
z
- zoom
u
- unzoom
p
- toggle video panning
shift
- pan video (while holding)
is currently not possible. Settings page for this extension has been disabled sometime with 2.0 release (because it broke), and fixing the setting page has been very low priority as I've had more important issues to work on.
However, I do plan on implementing this feature. Hopefully by the end of the year, but given how consistently I've been breaking self-imposed deadlines and goals for this extension don't hold your breath. After all, Hofstadter's a bitch.
Latest stable for Firefox — download from AMO
Latest stable for Chrome — download from Chrome store
Edge version is currently not available, as Edge has some bugs that prevent this extension from working correctly. Read more
TODO
Requirements: npm, node.
npm install
npm run watch:dev
. If using Chrome, run: npm run watch-chrome:dev
.TODO: see if #3 already loads the extension in FF
about:debugging
(or Chrome equivalent)${ultrawidify_folder}/dist/manifest.json
see changelog.md
todo: add link to changelog.md here