Skip to content

Commit

Permalink
Do not display videojs poster when video is starting
Browse files Browse the repository at this point in the history
  • Loading branch information
kimsible authored and Chocobozzz committed Aug 10, 2020
1 parent a3e6d18 commit 41fafa9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/src/sass/player/peertube-skin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
&.vjs-has-autoplay {
.vjs-big-play-button {
Expand Down

0 comments on commit 41fafa9

Please sign in to comment.