Greasy Fork is available in English.

Youtube polymer engine fixes

Some fixes for Youtube polymer engine

< Valutazione su Youtube polymer engine fixes

Recensione: Bene - lo script funziona

§
Pubblicato: 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!

BogudanAutore
§
Pubblicato: 11/07/2020

Add suggestions as one per thread, please.

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

§
Pubblicato: 11/07/2020
Modificato: 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

BogudanAutore
§
Pubblicato: 12/07/2020
Modificato: 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?

§
Pubblicato: 12/07/2020
Modificato: 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.

BogudanAutore
§
Pubblicato: 12/07/2020

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

§
Pubblicato: 12/07/2020

Yes works! Thanks

BogudanAutore
§
Pubblicato: 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.

§
Pubblicato: 13/07/2020

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

BogudanAutore
§
Pubblicato: 13/07/2020

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

§
Pubblicato: 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

§
Pubblicato: 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.

BogudanAutore
§
Pubblicato: 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?

§
Pubblicato: 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)

BogudanAutore
§
Pubblicato: 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

§
Pubblicato: 16/07/2020
Modificato: 16/07/2020

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

§
Pubblicato: 29/09/2020

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

BogudanAutore
§
Pubblicato: 02/10/2020

Can't reproduce :(

§
Pubblicato: 02/10/2020
Modificato: 02/10/2020

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

BogudanAutore
§
Pubblicato: 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.

§
Pubblicato: 01/11/2020
Modificato: 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.

BogudanAutore
§
Pubblicato: 07/11/2020
Modificato: 07/11/2020

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

§
Pubblicato: 07/11/2020

Works for me now! :)

§
Pubblicato: 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.

§
Pubblicato: 04/04/2021

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

BogudanAutore
§
Pubblicato: 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?

§
Pubblicato: 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

BogudanAutore
§
Pubblicato: 04/04/2021

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

§
Pubblicato: 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.

BogudanAutore
§
Pubblicato: 04/04/2021

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

§
Pubblicato: 04/04/2021

The "YT logo target" does not work!

BogudanAutore
§
Pubblicato: 05/04/2021

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

§
Pubblicato: 05/04/2021

Nice!

§
Pubblicato: 26/05/2021

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

BogudanAutore
§
Pubblicato: 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).

§
Pubblicato: 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

Pubblica risposta

Accedi per pubblicare una risposta.