Youtube UI Fix

Moves the controls under the video and makes the UI look like it was before august 2015

< Feedback on Youtube UI Fix

Review: Good - script works

§
Posted: 08/12/2020

Very slick code. Works very very well in windowed mode, has various problems in fullscreen mode. Though most important, youtube broke your script quite a bit recently because they are going with the no www. thing now.. It now always redirects to just youtube.com , this didn't seem to break the main script interestingly, i guess internally they are using https://youtube.googleapis.com/embed* ,https://www.youtube-nocookie.com/ so it still triggered. But it does break access to the settings.
Simple fix for it, add:
// @include https://youtube.com*

Anyways my main search today was for a fix for the broken UI in the steamcommunity youtube videos. For some reason the fullscreen button has been broken years, figured your re-write of the UI might fix it but no go, it actually breaks the page even further by entirely hiding the controls. All I really wany is the fullscreen button to work (or F key).

Example:
https://steamcommunity.com/app/704450/videos/
Here if you click a video, the fullscreen button is disabled. If the script is enabled, the controls don't appear at all.
Where as if you go to the video directly , the controls are available:
https://steamcommunity.com/sharedfiles/filedetails/?id=1702636560

q1k
§
Posted: 08/12/2020
Edited: 08/12/2020

For me, it still sends me to www.youtube.com, even if i type it without the www.
Are you sure it isn't some other script or extension cause the behavior you described?

§
Posted: 08/12/2020

oh yea its just the latest chrome update that hides the www. on some websites, not chrome. weird change. Plus it works different than when they changed it to hide https - it still doesn't show me if I click the address bar.. I have to click it twice to get it to unmask what it's doing.

Either way, updating the script to include youtube.com* fixed the settings not showing up for one reason or another.

q1k
§
Posted: 09/12/2020

If you right click on the address bar, there should be an option "Always show full URL".

In case you don't see it, then you might need to enable this flag chrome://flags/#omnibox-context-menu-show-full-urls

Roy192Author
§
Posted: 11/12/2020

I couldn't reproduce the problem with the www, but the fix doesn't break anything, so added it anyway.

As for the controls disappearing in embedded, that is now fixed.

But the fullscreen problem is still there... After some googling, it seems that the iframe that contains the video needs to have an allowfullscreen attribute. And it seems that changing the attribute after the video has already loaded, doesn't work.
But either way, it's beyond the scope of this userscript.

§
Posted: 11/12/2020

Thx for the update, confirmed fixed.

Yea I tried to tackle that problem on steamcommunity before myself, couldn't figure it out.

Post reply

Sign in to post a reply.