<b>Always</b> enables autodetection on every site this extension is enabled for, unless blacklisted.
<b>On whitelisted sites</b> enables autodetection only for sites that you explicitly enabled.
<b>Never</b> disables autodetection on all sites, even on those you whitelisted.
</div>
</div>
<divclass="row">
<spanclass="label">Checking for aspect ratio changes</span>
<div>
When video is playing: <inputid="_input_autoAr_timer"class="_autoAr _autoAr_timer"type="number"min="5"max="10000"> ms
<div>
<div>
When video is paused: <inputid="_input_autoAr_timer_pause"class="_autoAr _autoAr_timer_pause"type="number"min="5"max="10000"> ms
<div>
<div>
On error: <inputid="_input_autoAr_timer_error"class="_autoAr _autoAr_timer_error"type="number"min="5"max="10000"> ms
<div>
<divclass="description">
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.
</div>
</div>
<divid="_autoar_fallback_mode_top"class="row">
<label>Enable fallback mode</label>
todo: insert checkbox
<divclass="description">
<p>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.
</p>
<p><b>Technical details: tl;dr — only works in Firefox and maybe its forks.</b><br/>
Fallback mode depends on two things:
<ol>
<li>Attempting to grab a video frame from DRM protected video stream must return an error (Chrome returns black image)</li>
<li>Supports <ahref="https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawWindow"target="_blank">CanvasRenderingContext2D.drawWindow()</a> method, which pretty much only Firefox does</li>
</ol>
</p>
<p><b>But I thought it's <ahref="http://www.dmlp.org/legal-guide/circumventing-copyright-controls"target="_blank">illegal</a> to circumvent DRM?</b><br/>
Courts <ahref="https://arstechnica.com/information-technology/2010/07/court-breaking-drm-for-a-fair-use-is-legal/"target="_blank">disagree</a> (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.<small><br/>*'cow' is term for the female</small>
<div><small><b>Note:</b> keyboard shortcut conflicts aren't handled by this extension. You must know your shortcuts.<br/><b>Pro tip:</b> If you don't want to have a keybind for a shortcut, just uncheck all boxes for the action and remove the letter</small></div>
<p>Created by Tamius Han (me). If something is broken, you can shout at me on <ahref="https://github.com/xternal7/ultrawidify">github</a> (shout nicely, though. Open an issue or bug report or something).
If you're curious to see the source code, <ahref="https://github.com/xternal7/ultrawidify">github's here</a>.
If you're looking at this page because you're bored and want to be bored some more, <ahref="http://tamius.net">my website's here</a>.</p>
<p>This extension uses font <ahref="http://overpassfont.org/">Overpass</a>.</p>
<!-- <p>Special thanks to CD Project Red (The Witcher 2), Cyanide Studios (Styx, Of Orcs and Men), and Valve (CS:GO), which made it possible for me to untrigger myself after seeing so many improperly encoded videos.</p> -->
<!-- <small><p>More or less.</p> -->
<!-- <p>GW2 is also roughly how the avatar was obtained. Noone tell Anet, though.</p></small> -->
<!-- <p>Special one-finger salute to all incompetent people who don't know how to properly encode videos and upload them to youtube (to word it most nicely).</p> -->