Niestandardowe przyciski przełączania jakości Przepraszamy, ten artykuł jest dostępny w języku angielskim 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). The In the file parameter in this case you need to provide two links to video or audio. [lq]//site.com/lq.mp4,[hq]//site.com/hq.mp4 Provide in the Automatic saving of the selected quality default_quality:"hq" 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: player.api("hd","lq/hq","id:quality"); |