Site not loading properly, only video player
RealAnthony0001 opened this issue · comments
When I click on a video, only the video player is loaded. Not the comments, description, reccommended etc. I'm using Brave. I created a new profile a tried it without the extension and it was okay. Installed it and it didnt load. But when I refreshed the page it loaded just fine.
No extension:
With extension:
With extension on reload:
Maybe it's because of the new YouTube UI?
OS: macOS 14.4
Brave: Version 1.65.77 Chromium: 123.0.6312.29
Extension: 4.6.1
I didn't even know the extension worked in Brave. 😅
Have you tried disabling all your other extensions to make sure this isn't due to some conflicts with those? What about using a different browser, is this specific to Brave?
Thanks for trying to debug this! I am afraid that I have no clue why this would be happening, so the only thing I can do right now is wait for me to get the updated Youtube theme so I can debug this hands on. 🤔
I guess so 😅 I hate the new UI. Tried it with a different account that still has the old one and it works just fine! Wish there was a way to switch back to it. 😖
I'll just add it happens in chrome as well. F5 the video page and it's fixed until you watch the next video.
I guess so 😅 I hate the new UI. Tried it with a different account that still has the old one and it works just fine! Wish there was a way to switch back to it. 😖
Add this filter in uBlock and you have the old UI back.
youtube.com##+js(set, yt.config_.EXPERIMENT_FLAGS.kevlar_watch_grid, false)
I've also been experiencing this on Chrome whenever Youtube attempts to force the new UI, the issue results in a similar half-rendered UI.
The following error is thrown:
Uncaught TypeError: Cannot read properties of undefined (reading '0')
at <anonymous>:46:98
This only affects when you navigate to watch pages through Youtube UI links, browser level hard refreshing the page resolve the issue.
From devtools sources, it appears that this error is being caused by background.js:1707.
Digging a little into what is being used there, it looks like for the new UI on the ytInitialData
check, the title that is being looked for at $.videoRenderer.title.runs[n].text
has been removed, instead the value can be located by:
let strTitle = objVideo['videoRenderer']['title']['simpleText']
Example of current behavior with Chrome v127 and extension version 4.6.1