]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/player/peertube-skin.scss
Add play/pause bezels to the video player
[github/Chocobozzz/PeerTube.git] / client / src / sass / player / peertube-skin.scss
index 4bf48a5704d546b077b6e47d23056a9f1958565d..8230681f6bee00473c561f7e3ad9b825029197fe 100644 (file)
@@ -104,6 +104,18 @@ body {
     }
   }
 
+  // Show poster and controls when playing audio-only content
+  &.vjs-playing-audio-only-content {
+    .vjs-poster {
+      display: block;
+      visibility: visible;
+    }
+
+    .vjs-control-bar {
+      opacity: $primary-foreground-opacity-hover;
+    }
+  }
+
   // Hide the big play button on autoplay
   &.vjs-has-autoplay {
     .vjs-big-play-button {