Some fixes for Youtube polymer engine
< Youtube polymer engine fixes 피드백
Add suggestions as one per thread, please.
> Old style theater mode
Unfortunately, cant say that i understand what you need :(
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
> 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?
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.
> logoredirect does not work for me sadly
Hopefully fixed in 0.8.1
Yes works! Thanks
> 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.
Nice, sadly some wierdness, the player starts centered (theater mode) but quickly alligns to the left :(
> the player starts centered (theater mode) but quickly alligns to the left
fixed in 0.9.1
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
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.
> 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?
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)
> 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
How about an option to remove the sidebar (left), the narrow one.
And option to choose the fontsize for video descripton.
:)
Fullscreen doesnt work, the video gets behind the UI :/
Can't reproduce :(
This is on a 'Waterfox Classic' browser, might be some other wierd script that is messing stuff up
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.
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.
If it's the cause then potentially fixed in 1.1.2.
Works for me now! :)
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.
Did youtube change something, this is not working anymore since yesterday (20210403)?
And I got a walking searchbar....!?
@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?
Waterfox classic 2021.02 (64-bit), Greasemonkey 3.17
No toolicon for this script
Settings show, but title says 404 not found
@Cnuut, is there any output in web console (Tools>Web developer>Web console) from script?
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.
@Cnuut
I reproduced error. For now i fixed "walking seachbar" (ver 2.5.2).
Will be searching for issue with icon.
The "YT logo target" does not work!
@Cnuut fixed some parts (ver 2.5.3) related to GM compatability issues.
Nice!
I think youtube has changed some code, the script is not working right.
(videosize and stuff)
@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).
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
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!