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
{{ message }}
Repository navigation
[Feature]: Improve Video.js player control bar layout on compact mobile screens #426
When using the Video.js player on a compact mobile phone in portrait mode (tested on an iPhone 12 mini with a 375px CSS viewport width in iOS Safari), the bottom control bar doesn't have enough horizontal space for all the controls.
As a result, the time display (e.g., 00:02 / 16:04) overlaps with the adjacent buttons (such as settings/captions), making the controls look crowded and hard to tap accurately.
What would you like to see?
I would like the Video.js control bar to adapt more gracefully on narrow viewports (around 375px wide) so that buttons and time text don't overlap.
For example, depending on what fits best with your design, this could mean tightening spacing/icon sizes, collapsing or hiding less-used mobile controls (such as volume or secondary toggles) into a menu, or switching to a more compact/multi-row layout below a narrow width breakpoint.
Activity