你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/533564-youtube-home-subs-set-videos-per-row,源站連結 點此以跳轉。
Allows you to set the number of videos/thumnails per row in the youtube grid system on Home and Subscriptions pages.
"720p: Videos per row" - These options kick in when the viewport (your browser window) width is at least 1280px.
I'm using 720p (i.e. the corresponding height for 1280 in 16:9 ratio) in the description, because that is the more well known number, but in actuality, only the width matters here)
"1080p: Videos per row" - These kick in when the viewport width is at least 1920px
...and so on.
So that the number of videos per row, and therefore their size, can be dynamic.
5 videos per row might work for 1080p, but then if you dock the window to half the monitor for example, 5 videos per row is a bit much (the videos get small to fit 5 in)
Of course, there are much better ways to make this more dynamic and responsive, but that involves much more work and is more prone to breaking when YT constantly changes stuff. I might take that challenge on at a later date. We'll see.