你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/494-youtube-auto-buffer-auto-hd/discussions/7943,源站連結 點此以跳轉。
Buffers the video without autoplaying and puts it in HD if the option is on. For Firefox, Opera, & Chrome
Fix for Auto HD not working if quality higher than available
This happens on Firefox where if the specified quality is higher than the allowed quality, the video stays on auto quality. Setting to highres ("Original (highest)" quality) also keeps it on auto (Youtube API bug I guess)
A fix would be to not use highres and use player.getAvailableQualityLevels().
(Around line 400)
And on around line 550 where you set up the GM_config, change
'default' : 'Automatic (default)'to'auto' : 'Automatic (default)'so it selects 'auto' as 'default' isn't a valid quality.Another issue before was that if the video was automatically 1080p (so 'auto (1080p)' instead of just 1080p) it wouldn't have changed it before. This makes it so that the auto quality could change later without the script changing it back.