-
I want to implement a quality selection control (with labels like HD, Full HD). Could anyone help me with the same? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
This is one of the big things that is still missing. We're actively working on having menu-button controls, which currently is available in experimental form, mostly for a captions menu. In addition, we need to figure out exactly what the API for quality levels is. It'll likely be something along these lines but there will be a proposal on that repo soon. |
Beta Was this translation helpful? Give feedback.
-
I'm also interested in this. Starting a new project, which will use media chrome, and it'd be really good to have this feature to select quality available from HLS manifest. Thanks for the effort and thinking about it. |
Beta Was this translation helpful? Give feedback.
-
We released an experimental Have a look at an example here (The component is in the Experimental components require a separate explicit import. <script type="module" src="https://cdn.jsdelivr.net/npm/[email protected]/+esm"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/experimental/media-rendition-selectmenu.js/+esm"></script> See here for a Codesandbox example. Media Chrome requires the video element to have a renditions API for which a handy package is here:
Let us know what video engine you're using and we might be able to add this for you. Feedback is very welcome! |
Beta Was this translation helpful? Give feedback.
-
Hello, Just played a bit with the demo example, thanks for adding this! Love how simple it is to use. We're using Just a bit of a feedback regarding the accessibility of the component:
I know that a11y probably wasn't the main concern when developing the first iteration of the component, but this is something to think about for the next version. Great work on adding this highly requested feature, I'm very pleased with the way it works! 🥳 |
Beta Was this translation helpful? Give feedback.
-
This is available now in Media Chrome, we've also implemented it in Mux Player as of 12.0 |
Beta Was this translation helpful? Give feedback.
We released an experimental
<media-rendition-selectmenu>
component in the latest release!https://github.com/muxinc/media-chrome/releases/tag/v1.2.0
Have a look at an example here
https://media-chrome.mux.dev/examples/vanilla/control-elements/media-rendition-selectmenu.html
(The component is in the
/experimental
folder which means the name or functionality could change in a newer version so be sure to double check that when upgrading to versions higher than v1.2.0.)Experimental components require a separate explicit import.