How to make a separate HD or HQ button to switch quality
You can make a separate button instead of a drop-down list to switch to the best quality and back. For example:
You need to create a custom element for the control panel (text or SVG icon).
In the file parameter in this case you need to provide two links to video or audio.
Provide in the
Automatic saving of the selected quality
Or you can use the JS API, if you set an identifier in a button in the constructor (for example, quality). Such a command will switch the button: