你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/481704-youtube-single-column-tamer,源站連結 點此以跳轉。
點此查看下載連結位址
https://update.greasyfork.org.cn/scripts/481704/1341376/YouTube%3A%20Single%20Column%20Tamer.user.js 安装此脚本?
This is under development.
Note for Vertical Streaming
This has been developed before Vertical Streaming was implemented
After the Vertical Streaming released, it was tested without any issues.
Calculation Explanation
- The height (CH) and width (CW) of the browser.
- If CH > CW, the following calculations 3 to 5 will be carried out.
- Find RVH = Calculate the maximum height of the video based on the aspect ratio of CW and the video length (which is the height of the video when stretched to the widest based on the aspect ratio).
- If there is space below after deducting RVH from CH, it will check if it meets the minimum bottom position size (default is
20% CH).
- If there is enough space, it will switch to single-column display.
- Otherwise, it will be two-column display.
計算的說明
- 瀏覽器的高(CH)和闊(CW)
- 如果 CH > CW,就會進行下面 3~5 的計算。
- 找出RVH=按照 CW 和影片長闊比計算出影片最大高度 (也就是把影片按長闊比拉到最闊的時候的影片高度)
- 如果 CH 扣除 RVH,下面還有位置的話,就會檢查有沒有達到最小的下方位置大小 (預設是
20% CH)
- 如果有這麼多的空位的話,就會改為單欄顯示
- 否則就是兩欄顯示
Usage
- Use YouTube Desktop with Portrait Monitor (Window)
- Narrow YouTube Window for Portrait Live