-
|
Hi, I have the following HLS playlist: The problem is that the quality menu shows the height of the resolution. |
Beta Was this translation helpful? Give feedback.
Answered by
luwes
Feb 21, 2025
Replies: 1 comment
-
|
Yes, that's how most players show the quality options. 360p, 480p, 720p, 1080p are all the height. That being said, Media Chrome has an API to format the menu item text. MediaRenditionMenu.formatMenuItemText = (text, rendition) => {
return rendition.width; // or `${rendition.width}x${rendition.height}`;
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
luwes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Yes, that's how most players show the quality options. 360p, 480p, 720p, 1080p are all the height.
It might look strange because you don't have a typical aspect ratio of 16 / 9.
That being said, Media Chrome has an API to format the menu item text.
Import the
MediaRenditionMenuclass in JS and override this method: