mirror of
https://github.com/videojs/video.js.git
synced 2025-01-02 06:32:07 +02:00
fix(big-play-button): component remains displayed after an error (#8483)
This issue occurs when the `player` has the class `vjs-show-big-play-button-on-pause` and playback has started and then been set to `pause` and an `error` occurs. - Avoids displaying `big-play-button` on error
This commit is contained in:
parent
7972c23a55
commit
6d8af0c892
@ -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:not(.vjs-seeking, .vjs-scrubbing) .vjs-big-play-button {
|
||||
.vjs-has-started.vjs-paused.vjs-show-big-play-button-on-pause:not(.vjs-seeking, .vjs-scrubbing, .vjs-error) .vjs-big-play-button {
|
||||
display: block;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user