Greasy Fork is available in English.

YouTube: Force html5_exponential_memory_for_sticky

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

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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

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

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

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

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Autor
𝖢𝖸 𝖥𝗎𝗇𝗀
Installationen heute
0
Installationen gesamt
374
Bewertungen
2 0 0
Version
0.5.8
Erstellt am
17.07.2023
Letzte Aktualisierung
28.04.2024
Größe
3,8 KB
Lizenz
MIT
Wird angewandt auf

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

Notes

Turn ON the following:

  • html5_exponential_memory_for_sticky becomes true

Turn OFF the following:

  • html5_perf_cap_override_sticky
  • html5_ustreamer_cap_override_sticky
  • html5_always_apply_default_quality_cap
  • html5_apply_pbr_cap_for_drm
  • manifestless_post_live_ufph
  • manifestless_post_live
  • hls_for_vod
  • mweb_remove_360p_cap

Testing

((s)=>[...yt.config_.WEB_PLAYER_CONTEXT_CONFIGS.WEB_PLAYER_CONTEXT_CONFIG_ID_KEVLAR_WATCH.serializedExperimentFlags.matchAll(
    new RegExp(`\\b(${s})=([^&=]+)\\b`,"g")
)].map(e=>e.slice(1,3))
)(`
  html5_exponential_memory_for_sticky|h5_expr_b9Nkc|html5_perf_cap_override_sticky|html5_ustreamer_cap_override_sticky|
  html5_always_apply_default_quality_cap|html5_apply_pbr_cap_for_drm|manifestless_post_live_ufph|manifestless_post_live|
  hls_for_vod|mweb_remove_360p_cap
`.replace(/\s+/g,'').replace(/\|+/g,'|'));