Youtube polymer engine fixes

Some fixes for Youtube polymer engine

< Відгуки до Youtube polymer engine fixes

Відгук: Добре - скрипт працює добре

§
Опубліковано: 11.07.2020

Hi! nice work!
Here is some requests/suggestions that would be nice to have if possible:
Old style theater mode
Have the top left YTlogo point to "/feed/subscriptions?flow=2"
Have the miniplayer activate and be moveble if you scroll down (like in yt+)

I´m shure I have alot more cravings, but with these are the mindmelting ones xD

Keep up the good work!

BogudanАвтор
§
Опубліковано: 11.07.2020

Add suggestions as one per thread, please.

> Old style theater mode
Unfortunately, cant say that i understand what you need :(

§
Опубліковано: 11.07.2020
Edited: 11.07.2020

now theater mode is edge to edge befor I had it was a maybe "720" size with black bars at the sides...
Well now that I think about it I just want the right side suggestion 'up next' videos under the "videospace" and the videoplayer centered

BogudanАвтор
§
Опубліковано: 12.07.2020
Edited: 12.07.2020

> Have the top left YTlogo point to "/feed/subscriptions?flow=2"
Done in 0.8.0
In settings set target field to /feed/subscriptions?flow=2

> Have the miniplayer activate and be moveble if you scroll down (like in yt+)
Never used that option. Do you want miniplayer be movable by mouse or some other way?

§
Опубліковано: 12.07.2020
Edited: 12.07.2020

The logoredirect does not work for me sadly
Edit: hmm wierd when I hover over it or copy webaddress it says what I set it to but when I click it just goes to normal youtube.com
Edit2: Middleclick/CTRL click opens up the right path, only same page click goes to default YT.

Moveble by mouse would be nice, or by a 'x,y' value.

BogudanАвтор
§
Опубліковано: 12.07.2020

> logoredirect does not work for me sadly
Hopefully fixed in 0.8.1

§
Опубліковано: 12.07.2020

Yes works! Thanks

BogudanАвтор
§
Опубліковано: 13.07.2020

> Well now that I think about it I just want the right side suggestion 'up next' videos under the "videospace" and the videoplayer centered
Added option to resize theater-mode player in 0.9.0.

§
Опубліковано: 13.07.2020

Nice, sadly some wierdness, the player starts centered (theater mode) but quickly alligns to the left :(

BogudanАвтор
§
Опубліковано: 13.07.2020

> the player starts centered (theater mode) but quickly alligns to the left
fixed in 0.9.1

§
Опубліковано: 13.07.2020

Awesome work, love it!

In the 'subscriptions?flow=2' mode I think there is alot of "dead space" between videos, could this be tighten up maybe?

And in the normal startpage it would be nice to HAVE some space on the sides, right now I have 7 vids horizontaly the edgevideos could be space instead (if you understand what I mean) :D

§
Опубліковано: 15.07.2020

Love this script, makes the new youtube layout actually bearable.

A possible suggestion/recommendation:
When I have the guide menu open on the homepage I get six videos in a row with an awkward white space on the right. If I edit the script to 233 pixels instead of 240 I get no white space and seven videos per row.
Adding an additional option to enter a specific pixel count for the thumbnail size would make it easier than editing the script every time it updates.

Just a suggestion, otherwise it's a great script, glad I found it.

BogudanАвтор
§
Опубліковано: 15.07.2020

> Adding an additional option to enter a specific pixel count for the thumbnail size
I thought about doing it in the first place, but it will require some additional input checking, whos errors I don't really know how to deal with. I mean if somebody enters not a number, should I alert about invalid value or just disable resizing?

§
Опубліковано: 16.07.2020

I'm unfamiliar with exactly how this script works, but maybe give an error when trying to save with an invalid value and prevent returning to youtube until a valid value is entered? I'm very unfamiliar with javascript so I don't know how much work that would take.

(Also apologies for not posting the recommendation in a separate thread I didn't realize how the forum was set up)

BogudanАвтор
§
Опубліковано: 16.07.2020

> Adding an additional option to enter a specific pixel count for the thumbnail size
implemented in 1.0.0
in settings page select "manual" from dropdown and enter preferred size

§
Опубліковано: 16.07.2020
Edited: 16.07.2020

How about an option to remove the sidebar (left), the narrow one.
And option to choose the fontsize for video descripton.
:)

§
Опубліковано: 29.09.2020

Fullscreen doesnt work, the video gets behind the UI :/

BogudanАвтор
§
Опубліковано: 02.10.2020

Can't reproduce :(

§
Опубліковано: 02.10.2020
Edited: 02.10.2020

This is on a 'Waterfox Classic' browser, might be some other wierd script that is messing stuff up

BogudanАвтор
§
Опубліковано: 03.10.2020

Tested in WFC 2019.10, also no issue.
One thing about YT fullscreen though: if you scroll page down while in fullscreen mode, it shows menu and other parts. Should disappear if scroll page up to the top is this case.

§
Опубліковано: 01.11.2020
Edited: 01.11.2020

I got a similar problem. If "Theater mode" is activated with any fixed size, YouTube breaks when going to "full screen" mode. The video player just slides up and to the right a little.

Looking at the CSS, I saw that the "max-width" and "max-height" parameters in the "player-theater-container" selector do not change when the "full screen mode" is activated. Disabling them while watching a video in "full screen mode", everything becomes normal.

BogudanАвтор
§
Опубліковано: 07.11.2020
Edited: 07.11.2020

If it's the cause then potentially fixed in 1.1.2.

§
Опубліковано: 07.11.2020

Works for me now! :)

§
Опубліковано: 07.11.2020

Yes, it works out of the box now. I myself solved the fullscreen modeproblem with forced CSS. All the same, I redesigned the page layouts for myself, since the current YouTube UI does not suit me at all.

And yes, thanks for the script! I just needed something like that when the ability to return the old UI completely broke.

§
Опубліковано: 04.04.2021

Did youtube change something, this is not working anymore since yesterday (20210403)?
And I got a walking searchbar....!?

BogudanАвтор
§
Опубліковано: 04.04.2021

@Cnuut, I updated script yesterday, so it may be related, but I need more info:
* browser and userscript manager and their versions;
* do icon appear on pages?
* do https://www.youtube.com/fix-settings shows settings or 404 error page?

§
Опубліковано: 04.04.2021

Waterfox classic 2021.02 (64-bit), Greasemonkey 3.17
No toolicon for this script
Settings show, but title says 404 not found

BogudanАвтор
§
Опубліковано: 04.04.2021

@Cnuut, is there any output in web console (Tools>Web developer>Web console) from script?

§
Опубліковано: 04.04.2021

Yes, I copied some of it hope it helps (and is the right stuff)

GET https://www.youtube.com/feed/subscriptions [HTTP/2.0 200 OK 85ms]
fix settings: Object { hide_guide: true, reduce_font: true, thumbnail_size: 5, default_player: 5, theater_player: 5, hide_yt_suggested_blocks: true, unfix_header: false, align_player: 0, logo_target: "/feed/subscriptions", thumbnail_size_m: 255, 10 till… } Youtube_polymer_engine_fixes.user.js:119:2
Fixed loaded Youtube_polymer_engine_fixes.user.js:561:2
running injector injector.js:19:1
GET https://www.youtube.com/s/desktop/189c9def/jsbin/web-animations-next-lite.min.vflset/web-animations-next-lite.min.js [HTTP/2.0 200 OK 6ms]
GET https://www.youtube.com/s/desktop/189c9def/jsbin/webcomponents-ce-sd.vflset/webcomponents-ce-sd.js [HTTP/2.0 200 OK 7ms]
GET https://www.youtube.com/s/desktop/189c9def/jsbin/scheduler.vflset/scheduler.js [HTTP/2.0 200 OK 6ms]
GET https://www.youtube.com/s/desktop/189c9def/jsbin/www-i18n-constants-en_US.vflset/www-i18n-constants.js [HTTP/2.0 200 OK 6ms]
GET https://www.youtube.com/s/desktop/189c9def/jsbin/www-tampering.vflset/www-tampering.js [HTTP/2.0 200 OK 6ms]
GET https://www.youtube.com/s/desktop/189c9def/jsbin/www-prepopulator.vflset/www-prepopulator.js [HTTP/2.0 200 OK 6ms]
GET https://www.youtube.com/s/desktop/189c9def/jsbin/spf.vflset/spf.js [HTTP/2.0 200 OK 6ms]
GET https://www.youtube.com/s/desktop/189c9def/jsbin/network.vflset/network.js [HTTP/2.0 200 OK 7ms]
GET https://www.youtube.com/s/desktop/189c9def/cssbin/www-main-desktop-home-page-skeleton.css [HTTP/2.0 200 OK 5ms]
GET https://www.youtube.com/s/desktop/189c9def/cssbin/www-onepick.css [HTTP/2.0 200 OK 5ms]
GET https://fonts.googleapis.com/css [HTTP/2.0 200 OK 41ms]
injector received response injector.js:2:5
injecting polyfills into document tree injector.js:7:5
Array [ ] injector.js:9:5
GET https://www.youtube.com/s/desktop/189c9def/jsbin/desktop_polymer_inlined_html_polymer_flags.vflset/desktop_polymer_inlined_html_polymer_flags.js [HTTP/2.0 200 OK 148ms]
GET https://www.youtube.com/s/desktop/189c9def/cssbin/www-main-desktop-watch-page-skeleton.css [HTTP/2.0 200 OK 15ms]
GET https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Mu4mxK.woff2 [HTTP/2.0 200 OK 54ms]
Fel vid tolkningen av värdet för ‘display’. Ignorerad deklaration. subscriptions:31989:11
Fel vid tolkningen av värdet för ‘display’. Ignorerad deklaration.

BogudanАвтор
§
Опубліковано: 04.04.2021

@Cnuut
I reproduced error. For now i fixed "walking seachbar" (ver 2.5.2).
Will be searching for issue with icon.

§
Опубліковано: 04.04.2021

The "YT logo target" does not work!

BogudanАвтор
§
Опубліковано: 05.04.2021

@Cnuut fixed some parts (ver 2.5.3) related to GM compatability issues.

§
Опубліковано: 05.04.2021

Nice!

§
Опубліковано: 26.05.2021

I think youtube has changed some code, the script is not working right.
(videosize and stuff)

BogudanАвтор
§
Опубліковано: 26.05.2021

@Cnuut
Video sizes work fine for me. What browser and extentions are you using? Also, check that you're using last version of script (2.7.6).

§
Опубліковано: 26.05.2021

It fixed itself, just a temp glitch, the video was only showing half the picture and in "full" theatremode.
I guess I was to fast on the bugreporting :D

Опублікувати відповідь

Sign in to post a reply.