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 committed Aug 9, 2020
1 parent c492b05 commit d552692
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions client/src/app/+videos/+video-watch/video-watch.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ $video-info-margin-left: 44px;
display: flex;
justify-content: center;
flex-grow: 1;

::ng-deep .video-js {
// Do not display poster when video is starting
&.vjs-has-autoplay:not(.vjs-has-started) {
.vjs-poster {
visibility: hidden;
opacity: 0;
}
}
}
}

.remote-server-down {
Expand Down

0 comments on commit d552692

Please sign in to comment.