From 92b5e79ba903b4ed53a8791424932095610d50de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <34163393+amtins@users.noreply.github.com> Date: Tue, 28 Nov 2023 23:22:39 +0100 Subject: [PATCH] fix(big-play-button): component remains displayed when seeking (#8484) This issue happen when the `player` has the class `vjs-show-big-play-button-on-pause` and a `seek` occurs, resulting in the `loadingSpinner` being hidden behind the `bigPlayButton`. - Avoids displaying `bigPlayButton` while `seeking` --- src/css/components/_big-play.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/css/components/_big-play.scss b/src/css/components/_big-play.scss index 4818bca573..d6b3e382ef 100644 --- a/src/css/components/_big-play.scss +++ b/src/css/components/_big-play.scss @@ -57,6 +57,6 @@ } // Show big play button if video is paused and .vjs-show-big-play-button-on-pause is set on video element -.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause .vjs-big-play-button { +.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause:not(.vjs-seeking, .vjs-scrubbing) .vjs-big-play-button { display: block; }