You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried several approaches, but it seems the only way to display current time, divider and duration is to override related rules in video-js.css. I can only hide full screen and PIP toggle using setup options or code as the code examples listed in Guides.
I found some code examples on Stack Overflow to show current time, divider and duration using setup options, but they didn't work.
Is there a way to show/hide/enable/disable every item on the control bar using options or code?
If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
Description
I tried several approaches, but it seems the only way to display current time, divider and duration is to override related rules in video-js.css. I can only hide full screen and PIP toggle using setup options or code as the code examples listed in Guides.
I found some code examples on Stack Overflow to show current time, divider and duration using setup options, but they didn't work.
Is there a way to show/hide/enable/disable every item on the control bar using options or code?
Reduced test case
https://jsfiddle.net/24a3ujeb/
Steps to reproduce
{ controlBar: { currentTimeDisplay: true } }
Errors
No response
What version of Video.js are you using?
8.8.0
Video.js plugins used.
None
What browser(s) including version(s) does this occur with?
Chrome 120.0.6099.129
What OS(es) and version(s) does this occur with?
Windows 11 Pro 23H2
The text was updated successfully, but these errors were encountered: