Skip to content
Discussion options

You must be logged in to vote

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 MediaRenditionMenu class in JS and override this method:

MediaRenditionMenu.formatMenuItemText = (text, rendition) => {

  return rendition.width; // or `${rendition.width}x${rendition.height}`;
};

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by luwes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #77 on February 21, 2025 21:09.