From 1c5f06cf5e24ffd3189c203c583c72fab34393fe Mon Sep 17 00:00:00 2001 From: Yiannis Christodoulou Date: Mon, 6 Oct 2025 17:45:39 +0300 Subject: [PATCH] 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. --- frontend-tools/video-js/src/utils/EndScreenHandler.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/frontend-tools/video-js/src/utils/EndScreenHandler.js b/frontend-tools/video-js/src/utils/EndScreenHandler.js index f223e569..679317b3 100644 --- a/frontend-tools/video-js/src/utils/EndScreenHandler.js +++ b/frontend-tools/video-js/src/utils/EndScreenHandler.js @@ -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)'; - } } } }