/* Player */
.video-responsive {
position: relative;
padding-top: 56.25%; /* 16/9 */
}
.video-responsive video {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
max-height: 90vh;
/* Black borders when video is not 16/9 */
background-color: #000;
}
/* Controls under the player */
.controls {
background: #0A1A28;
padding: 0.2rem 0.5rem;
color: rgb(187, 187, 187);
user-select: none;
}
.control-quality,
.control-srt-link,
.control-viewers,
.control-indicator,
.control-chat {
white-space: nowrap;
margin-left: 0.5rem;
}
/* Control icons */
.control-quality::before,
.control-srt-link::before,
.control-viewers::before {
content: "";
display: inline-block;
width: 16px;
height: 16px;
margin-right: 0.2rem;
vertical-align: middle;
}
.control-quality::before {
background: transparent url("data:image/svg+xml;utf8,") no-repeat;
}
.control-srt-link::before {
background: transparent url("data:image/svg+xml;utf8,") no-repeat;
}
.control-viewers::before {
background: transparent url("data:image/svg+xml;utf8,") no-repeat;
}
.control-indicator {
vertical-align: middle;
}
/* Custom select */
.control-quality select {
border: none;
color: inherit;
appearance: none;
/* Custom caret */
background: transparent url("data:image/svg+xml;utf8,") no-repeat right;
padding-right: 0.8rem;
}
.control-quality select option {
color: #000;
}
/* Hide chat toggler on small screen */
.control-chat {
display: none;
}
@media(min-width:1000px){
.control-chat {
display: inline;
}
}