Remove custom background styling from progress bar

Eliminated inline background color styles for the progressControl and its holder in EndScreenHandler. This change relies on default or external styles for a cleaner implementation.
This commit is contained in:
Yiannis Christodoulou 2025-10-06 17:45:39 +03:00
parent dc8de4b11b
commit 1c5f06cf5e

View File

@ -86,13 +86,6 @@ export class EndScreenHandler {
const progressControl = controlBar.getChild('progressControl');
if (progressControl) {
progressControl.show();
progressControl.el().style.backgroundColor = 'rgba(0, 0, 0, 0.8)';
// Also style the progress holder for seamless look
const progressHolder = progressControl.el().querySelector('.vjs-progress-holder');
if (progressHolder) {
progressHolder.style.backgroundColor = 'rgba(0, 0, 0, 0.6)';
}
}
}
}