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

Author
fp22june
Daily installs
0
Total installs
211
Ratings
0 0 0
Version
1.3.3.11
Created
2023-04-04
Updated
2023-07-30
License
MIT
Applies to

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.