Hiding controls
See original GitHub issueChecklist
- [yes] Verified whether your issue exists in the latest version Mux Element(s) release:
npm install @mux/[element_name]
oryarn @mux/[element_name]
.- (NOTE: If the issue is not occurring in the latest version, we may not resolve it.)
- [yes] Confirmed that this issue hasn’t already been filed.
Which Mux Elements/Packages has a bug?
- mux-player
Which browser(s) are you using?
- Chrome
- Safari
- Firefox
- Edge (“Edgeium”)
- Chrome Android
- Safari on iOS
Which operating system(s) are you using?
- macOs
- IOS
- Android
How are you using Mux Elements?
- npm package
Describe the bug
controlslist property/attribute doesn’t work. I’m trying to hide all controllers from the player using the controlslist attribute but nothing gets hidden. Also no luck using the css mux-player::part selectors.
Steps To Reproduce
- Spin up a mux player instance
- Add controlslist attributes as specified in the docs
- Observe that it has no effect
Link to code example:
https://docs.mux.com/guides/video/mux-player
try adding the controlslist attribute to any example player and see that it doesn’t have any effect.
The current behavior
All controllers appear regardless of controlslist or css updates
The expected behavior
controlslist should hide the controllers listed in that attribute
Issue Analytics
- State:
- Created a year ago
- Comments:7
Top Results From Across the Web
Hiding vs Disabling Controls - GitHub Pages
When you're hiding controls based on the value of another control, always place the hidden control somewhere below the control that triggers the...
Read more >Hiding controls - IBM
Hiding controls. Use AccessStudio to create an AccessProfile that automates a task, such as removing or hiding a user interface control element.
Read more >HTML5 Video // Completely Hide Controls - Stack Overflow
Is it possible to dynamically show/hide any of these individual controls. For example: apply css video::-webkit-media-controls-current-time- ...
Read more >Hiding Front Panel Controls and Indicators - NI
Complete the following steps to hide a front panel control or indicator. You also can display hidden front panel objects.
Read more >Hiding controls on screen - Minecraft Education Edition
Is there a way to hide the controls that appear on the left side of the screen without hiding the entire HUD using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Tenkir good call, we’ll discuss if this should be parts of that CSS var.
in the mean time disable the controls backdrop with this CSS.
thanks for the feedback!
This is still darkening the player when hovering.