YouTube Player Controls 1.3.3 fork July 2023 set video quality / resolution bugfix

Fork of YouTube Player Controls 1.3.3 by Costas https://greasyfork.org/en/scripts/16323-youtube-player-controls . Fill window, stretch video, float video, set HD 4K 8K resolution, click skip ads, click show more, hide ads and annotations, loop, pause at start/end

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
ytg22
日安装量
0
总安装量
329
评分
0 0 0
版本
1.3.3.11
创建于
2023-04-04
更新于
2023-07-30
大小
34.2 KB
许可证
MIT
适用于

ENGLISH USERS ONLY, this script emulates a user's clicking on the button 'Quality'

- forked from YouTube Player Controls 1.3.3 by Costas https://greasyfork.org/en/scripts/16323-youtube-player-controls . Thank you for your great work, your script rocks.
- bugfix: a lame and tricky fix for the video quality/resolution bug that occurs on some pages, the bug may be due to yt's phrasing out of setPlaybackQualityRange(), see https://developers.google.com/youtube/iframe_api_reference#october-24,-2019 and https://greasyfork.org/en/scripts/16323-youtube-player-controls/discussions/175675
- changed: revamp logic, use highest available video quality/resolution for faster loading on low spec computers and slow internet connection: eg if user set quality/resolution='360' and youtube offers='240p,480p,720p,1080p,1440p', then '240p' will be used.
- added: optional feature "Show current quality on tab title"
- no plan to maintain this fork due to the lame mouse click emulation logic. script is free, fork me, no need to ask for any permission. Happy to share a link to your fork here, just poke me on the feedback page.