We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have you read the Tutorials? yes
Have you read the FAQ and checked for duplicate open issues? yes
If the question is related to FairPlay, have you read the tutorial?
not
What version of Shaka Player are you using? 4.13.1
What browser and OS are you using? chrome
Please ask your question how to modified resolution name in quality setting
My player configuration
const defaultConfig = { controlPanelElements: [ "play_pause", "time_and_duration", "spacer", "spacer", "volume", "mute", "quality", "overflow_menu", "picture_in_picture", "fullscreen", ], overflowMenuButtons: ["quality", "captions", "language"], enableTooltips: true, }; player.configure({ abr: { enabled: true }, }); ui.configure(defaultConfig);
I want this
Then player show this
function getQualityLabel(height) { if (height < 720) return height+"p SD"; if (height === 720) return height + "p HD"; if (height === 1080) return "Full HD"; if (height === 2160) return "4K"; return height + "p"; }
The text was updated successfully, but these errors were encountered:
Currently you can't customize it with configuration, the only thing you can do is create a custom resolution component... sorry!
Sorry, something went wrong.
Thank you for your response
No branches or pull requests
Have you read the Tutorials?
yes
Have you read the FAQ and checked for duplicate open issues?
yes
If the question is related to FairPlay, have you read the tutorial?
not
What version of Shaka Player are you using?
4.13.1
What browser and OS are you using?
chrome
Please ask your question
how to modified resolution name in quality setting
My player configuration
I want this
Then player show this
function getQualityLabel(height) {
if (height < 720) return height+"p SD";
if (height === 720) return height + "p HD";
if (height === 1080) return "Full HD";
if (height === 2160) return "4K";
return height + "p";
}
The text was updated successfully, but these errors were encountered: