Created
August 31, 2019 09:20
-
-
Save LeoMcA/176fa9ff5204ce70d6aebd1d2d91502e to your computer and use it in GitHub Desktop.
Zoom letterboxed Netflix content on an ultrawide display
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// paste in console, give aspect ratio as the argument, here 2.2 is the aspect ratio of the source material | |
(x => document.querySelector(".VideoContainer video").style.height = `${x * 9 / 16 * 100}%`)(2.2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment