mirror of https://github.com/Chocobozzz/PeerTube
Show poster image when playing audio-only content, do not hide controls
Add '.vjs-playing-audio-only-content' class to: - show poster image - disable controls auto-hide ...when playing audio-only contentpull/2286/head
parent
5c7d650827
commit
597ca6de2c
|
@ -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
|
// Hide the big play button on autoplay
|
||||||
&.vjs-has-autoplay {
|
&.vjs-has-autoplay {
|
||||||
.vjs-big-play-button {
|
.vjs-big-play-button {
|
||||||
|
|
Loading…
Reference in New Issue