owncast/webroot/styles/video.css

28 lines
574 B
CSS
Raw Normal View History

2020-08-24 04:06:58 +02:00
video.video-js {
width: 100%;
height: 100%;
display: block;
min-height: 100%
}
/* show big play button when paused */
.vjs-has-started.vjs-paused .vjs-big-play-button{
display: block;
}
2020-08-24 04:06:58 +02:00
.vjs-airplay .vjs-icon-placeholder::before {
content: url("../img/airplay.png");
}
/*
videojs hack!!
for some reason, there are cases where a <video class="vjs-tech"> element gets embedded twice.
we only want the first one. the second obstructs the layout.
Some context here:
https://github.com/owncast/owncast/issues/165
*/
video.vjs-tech:not([src]) {
display: none;
}