diff options
author | kimsible <kimsible@users.noreply.github.com> | 2020-08-10 10:40:31 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-10 13:46:04 +0200 |
commit | 41fafa9ef9da233639092de43411c9acf3417dbb (patch) | |
tree | aed1188fb8c24faafe79b8e553682d27be4b9047 /client/src | |
parent | a3e6d181996075752b77e0d5a367b62cc45c731b (diff) | |
download | PeerTube-41fafa9ef9da233639092de43411c9acf3417dbb.tar.gz PeerTube-41fafa9ef9da233639092de43411c9acf3417dbb.tar.zst PeerTube-41fafa9ef9da233639092de43411c9acf3417dbb.zip |
Do not display videojs poster when video is starting
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/sass/player/peertube-skin.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/src/sass/player/peertube-skin.scss b/client/src/sass/player/peertube-skin.scss index 1b7275529..d8ce97c04 100644 --- a/client/src/sass/player/peertube-skin.scss +++ b/client/src/sass/player/peertube-skin.scss | |||
@@ -124,6 +124,14 @@ body { | |||
124 | } | 124 | } |
125 | } | 125 | } |
126 | 126 | ||
127 | // Do not display poster when video is starting | ||
128 | &.vjs-has-autoplay:not(.vjs-has-started) { | ||
129 | .vjs-poster { | ||
130 | opacity: 0; | ||
131 | visibility: hidden; | ||
132 | } | ||
133 | } | ||
134 | |||
127 | // Hide the big play button on autoplay | 135 | // Hide the big play button on autoplay |
128 | &.vjs-has-autoplay { | 136 | &.vjs-has-autoplay { |
129 | .vjs-big-play-button { | 137 | .vjs-big-play-button { |