How to prohibit certain quality options

  Désolé, cette page est en attente de traduction en français

You can use parameter forbidden_quality to forbid certain quality options. Just indicate names through a comma. Prohibited options will not be displayed in the menu, but may be available for the adaptive mode Auto of HLS or DASH (you can solve it by turning off the quality memory, adding Auto to the forbidden list and indicating the available quality option with the default_quality).

new Playerjs({
  "id":"player",
  "file":"[480p]//site.com/video.m3u8",
  "forbidden_quality":"720p,1080p,Auto",
  "default_quality":"480p"
});
This parameter works from version 8.21
19.10.26
2024 © PlayerJS

S'inscrire gratuitement

S'inscrire
En vous inscrivant, vous acceptez les Termes de service
Login si vous avez un compte.

Restaurer le mot de passe

Restaurer
Vous avez oublié votre adresse électronique ? Contactez-nous