YouTube: Force html5_exponential_memory_for_sticky

To prevent YouTube to change the video quality automatically during YouTube Live Streaming.

Pada tanggal 19 September 2023. Lihat %(latest_version_link).

Penulis
𝖢𝖸 𝖥𝗎𝗇𝗀
Nilai
0 0 0
Versi
0.3.1
Dibuat
17 Juli 2023
Diperbarui
19 September 2023
Size
3,53 KB
Lisensi
MIT
Berlaku untuk

This script is the first script on Greasy Fork to focus on the setting html5_exponential_memory_for_sticky in WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH.

During YouTube live streaming, the video quality might change as YouTube engine detected your browser might be not that powerful (network slow) to handle the high video quality, but indeed the cause might be due to the overwhelmed chat messages in chat iframe (e.g. Pekora Ch. 兎田ぺこら's popular 生配信).

This script will enable the hidden feature html5_exponential_memory_for_sticky for the player settings such that the video quality will not freely automatically changed.

You can still change the video quality settings using the buttons in the player.

Compatible with YouTube EXPERIMENT_FLAGS Tamer

Testing

  • [...yt.config_.WEB_PLAYER_CONTEXT_CONFIGS.WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH.serializedExperimentFlags.matchAll(/\b(html5_exponential_memory_for_sticky|h5_expr_b9Nkc)=([^&=]+)\b/g)].map(e=>e.slice(1,3))