code-charity / code-charity/youtube
720p forced 16:9 aspect ratio not working anymore
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 4.6k
- Forks
- 996
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 7
Description
Bug Report:
⚬ BUG: Since the new update 720p aka 16:9 aspect ratio for the site doesn't work anymore
⚬ HOW: Update perhaps?
.
⚬ If a YouTube change started the bug, please copy the DOM you get (especially if the bug doesn't happen when you log out or on another computer)
⚬ Or did our last update start the bug? I think it's the most recent Improve YouTube! update, since i didn't have this bug yesterday.
⚬ ImprovedTube Version: General 4.642
1. Thanks for coming & caring! Before submitting, please check if the issue has already been reported ever. With GitHub's issue search (use this link) (else removing "is:issue is:open" from the standard search) ( - If it was posted before, you can answer/react there to give it your voice and move it up in the lists) ( - If the status is "closed" (=fixed) recently, then Web Stores can be updated soon - if it was closed month or years ago, then it might reappeared & must be fixed again.)
2. To give us a chance to solve the bug: Can you ...?:
- ..deactivate other extensions running on YouTube? (or use an incognito window after activating this extension to run there / chrome://extensions details chrome://extensions/?id=bnomihfieiccainjcjblhegjgglakjdd )
- ..open the Browser-console, with the F12-Key, before/when the error occures? (then hopefully you'll see an error message in the console).
- ...copy the YouTube-DOM shown above the console (F12) in case YouTube is giving you a new verson. You can copying the root element <html> in the top after the bug happened:
(FireFox:)
- There are 2-3 different versions depending if you open a new window or clicked a link on youtube
More / optionally:
⚬ Screenshots:
/ ⚬ Context: The video title, player width and recommended videos are fitted to more wider area. Disabling the addon gets rid of the ultra wide bug, but it also returns youtube to the default youtube player mode, which in this case means 4:3 for the video in question. Also tried disabling other addons and tried incognito mode aswell, no success. Only disabling Improved YouTube! fixed it but then youtube forces it's own aspect ratios on videos, which i'm not personally fan of, i would like the site to remain in 16:9 and the player aswell. Like it did with the 720p player size setting, also the weird gray bar on the top happened in some of the videos aswell and fixes itself when F5/refresh is done but it also means the player will go ultrawide mode (i also use 90% zoom on the site, but changing to 80% or 100% still didn't fix it.) P.S. Not exactly sure how to import "DOM".
/ ⚬ Expected /preferred behavior: 720p aspect ratio setting (not the video quality) used to force the site to be like in the first picture aka 16:9, with more white space at the sides.
⚬ Browser: Google Chrome Version 121.0.6167.185 64-bits
⚬ Settings: improvedtube.json
⚬ OS: Windows 10
⚬ Device:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in Chrome with ImprovedTube version 4.642 and the linked improvedtube.json settings, comparing the two screenshots and the 720p layout behavior. Inspect the extension's player and page-layout entry points; done means the 720p setting restores a 16:9 player and site layout without the ultrawide view or gray bar.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100