Improve video playback controls visibility on bright videos
Description
Problem
The playback controls in the Video Viewer (play/pause, previous, next, etc.) are currently displayed as white icons directly over the video.
When the video contains bright or predominantly white content, these controls lose contrast with the background and become difficult to see, making them harder for users to locate and interact with.
Proposed Solution
Improve the visibility of the playback controls by giving them a subtle background that maintains contrast regardless of the video content.
Possible implementation:
- Add a semi-transparent black rounded background behind each control (similar to YouTube's playback controls).
- Keep the icons white for consistency with the current design.
- Use a background opacity that improves visibility without being visually distracting.
- Preserve the existing hover and click interactions.
This ensures the controls remain visible whether the video is dark, bright, or rapidly changing.
Expected Behavior
- Playback controls remain clearly visible on both dark and light videos.
- Controls have consistent contrast across all video content.
- The UI feels more polished while maintaining the existing design language.
Why This Matters
Video content can vary significantly in brightness from frame to frame. Providing a subtle background behind the controls ensures they remain accessible and discoverable at all times, improving usability without changing the overall appearance of the Video Viewer.
Reference
A common approach is used by platforms such as YouTube, where playback controls are placed on top of a semi-transparent dark background to maintain visibility regardless of the underlying video.
@rohan-pandeyy interested, in taking up