2020-08-24 05:06:58 +03:00
|
|
|
video.video-js {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
min-height: 100%
|
|
|
|
}
|
|
|
|
|
2020-09-28 09:04:42 +03:00
|
|
|
/* show big play button when paused */
|
|
|
|
.vjs-has-started.vjs-paused .vjs-big-play-button{
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2020-08-24 05:06:58 +03:00
|
|
|
.vjs-airplay .vjs-icon-placeholder::before {
|
|
|
|
content: url("../img/airplay.png");
|
|
|
|
}
|
|
|
|
|
2021-03-11 23:51:43 +03:00
|
|
|
.vjs-quality-selector .vjs-icon-placeholder::before {
|
|
|
|
content: url("../img/video-settings.png");
|
|
|
|
}
|
|
|
|
|
2020-10-23 00:14:44 +03:00
|
|
|
.vjs-big-play-button {
|
|
|
|
z-index: 100;
|
|
|
|
}
|
2020-08-24 05:06:58 +03:00
|
|
|
|
2021-03-23 07:15:26 +03:00
|
|
|
.vjs-loading-spinner {
|
|
|
|
z-index: 200;
|
|
|
|
}
|
|
|
|
|
2020-09-03 13:29:55 +03:00
|
|
|
/*
|
|
|
|
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.
|
2020-09-21 01:49:15 +03:00
|
|
|
Some context here:
|
|
|
|
https://github.com/owncast/owncast/issues/165
|
2020-09-03 13:29:55 +03:00
|
|
|
*/
|
2020-09-21 01:49:15 +03:00
|
|
|
video.vjs-tech:not([src]) {
|
2020-09-03 13:29:55 +03:00
|
|
|
display: none;
|
|
|
|
}
|
2020-10-23 00:14:44 +03:00
|
|
|
|
|
|
|
|
|
|
|
#oc-custom-poster {
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Animation time for crossfading between poster thumbs */
|
|
|
|
.custom-thumbnail-image {
|
|
|
|
background-size: contain;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center;
|
|
|
|
position: absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: opacity 2s;
|
|
|
|
}
|
|
|
|
|