Skip to content

Instantly share code, notes, and snippets.

@Yogsther
Created January 25, 2022 20:42
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Yogsther/1e956b52e165250a04f43ce642ab5417 to your computer and use it in GitHub Desktop.
Save Yogsther/1e956b52e165250a04f43ce642ab5417 to your computer and use it in GitHub Desktop.
21:9 support for HBO MAX (Ultrawide aspect ratio)
{"userCSSoptions":{"theme":"default","font":"font%3A%2016px%2F20px%20monospace","width":"400","height":"300","dock":"right","opacity":"100"},"userCSSstyles":[{"site":"play.hbomax.com","styles":"video{\n height: calc(100vh * 1.238) !important;\n top: calc(-100vh * 0.238/2) !important;\n}","toggle":1}]}

View 16:9 content as 21:9 on HBO MAX using User CSS

  1. Install User CSS
  2. Add this CSS for play.hbomax.com
video{
  height: calc(100vh * 1.238) !important;
  top: calc(-100vh * 0.238/2) !important;
}

Alternatively, load the json file attached to this gist.

css-example-screenshot

@viktorcvetanovic
Copy link

Nice idea ! Thank you !

@Jitan
Copy link

Jitan commented Aug 20, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment