Do not display videojs poster when video is starting

pull/3062/head
kimsible 2020-08-10 10:40:31 +02:00 committed by Chocobozzz
parent a3e6d18199
commit 41fafa9ef9
1 changed files with 8 additions and 0 deletions

View File

@ -124,6 +124,14 @@ body {
} }
} }
// Do not display poster when video is starting
&.vjs-has-autoplay:not(.vjs-has-started) {
.vjs-poster {
opacity: 0;
visibility: hidden;
}
}
// Hide the big play button on autoplay // Hide the big play button on autoplay
&.vjs-has-autoplay { &.vjs-has-autoplay {
.vjs-big-play-button { .vjs-big-play-button {