2018-10-23 01:13:23 +03:00
|
|
|
.videoPlayerContainer {
|
|
|
|
position: fixed !important;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
display: flex;
|
2019-01-10 15:39:37 +03:00
|
|
|
align-items: center;
|
2019-09-26 21:20:15 +03:00
|
|
|
background: #000 !important;
|
|
|
|
}
|
2018-10-23 01:13:23 +03:00
|
|
|
|
|
|
|
.videoPlayerContainer-onTop {
|
2019-01-10 15:39:37 +03:00
|
|
|
z-index: 1000;
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
2019-09-27 10:52:15 -04:00
|
|
|
.videoPlayerContainer .libassjs-canvas-parent {
|
|
|
|
order: -1;
|
|
|
|
}
|
|
|
|
|
2020-09-26 19:40:16 +03:00
|
|
|
/* Controls are enabled for devices that don't support autoplay. They will be hidden when playback starts.
|
|
|
|
In Tizen 2.3 (and probably other old web engines), subtitles are located under '-webkit-media-controls' tree.
|
|
|
|
Therefore, we hide controls only if they are enabled.
|
|
|
|
*/
|
|
|
|
video[controls]::-webkit-media-controls {
|
2019-10-01 01:03:34 +09:00
|
|
|
display: none !important;
|
2019-09-26 21:20:15 +03:00
|
|
|
}
|
|
|
|
|
2018-10-23 01:13:23 +03:00
|
|
|
.htmlvideoplayer {
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
width: 100%;
|
2019-01-10 15:39:37 +03:00
|
|
|
height: 100%;
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
2019-09-26 21:20:15 +03:00
|
|
|
.htmlvideoplayer::cue {
|
|
|
|
background-color: transparent;
|
2019-10-01 01:03:34 +09:00
|
|
|
text-shadow: 0.14em 0.14em 0.14em rgba(0, 0, 0, 1);
|
2020-01-09 19:35:19 +01:00
|
|
|
-webkit-font-smoothing: antialiased;
|
2019-09-26 21:20:15 +03:00
|
|
|
font-family: inherit;
|
2020-06-14 23:37:48 +03:00
|
|
|
line-height: normal; /* Restore value. See -webkit-media-text-track-container 'line-height' */
|
|
|
|
}
|
|
|
|
|
|
|
|
.htmlvideoplayer::-webkit-media-text-track-container {
|
|
|
|
font-size: 170% !important; /* Override element inline style */
|
|
|
|
line-height: 50%; /* Child element cannot set line height smaller than its parent has. This allow smaller values for children */
|
2019-09-26 21:20:15 +03:00
|
|
|
}
|
2018-10-23 01:13:23 +03:00
|
|
|
|
2020-07-07 01:06:47 +03:00
|
|
|
.htmlvideoplayer::-webkit-media-text-track-display {
|
|
|
|
max-width: 70%;
|
|
|
|
margin-left: 15%;
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.videoSubtitles {
|
|
|
|
position: fixed;
|
2020-07-07 01:06:47 +03:00
|
|
|
bottom: 0;
|
2018-10-23 01:13:23 +03:00
|
|
|
text-align: center;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
color: #fff;
|
2019-01-10 15:39:37 +03:00
|
|
|
font-size: 170%;
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.videoSubtitlesInner {
|
|
|
|
max-width: 70%;
|
2019-10-01 01:03:34 +09:00
|
|
|
background-color: rgba(0, 0, 0, 0.8);
|
2018-10-23 01:13:23 +03:00
|
|
|
margin: auto;
|
2019-01-10 15:39:37 +03:00
|
|
|
display: inline-block;
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes htmlvideoplayer-zoomin {
|
|
|
|
from {
|
2019-10-01 01:03:34 +09:00
|
|
|
transform: scale3d(0.2, 0.2, 0.2);
|
2020-01-19 15:00:37 +01:00
|
|
|
opacity: 0.6;
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
2020-05-13 23:01:46 +02:00
|
|
|
|
2018-10-23 01:13:23 +03:00
|
|
|
to {
|
|
|
|
transform: none;
|
2019-01-10 15:39:37 +03:00
|
|
|
opacity: initial;
|
2018-10-23 01:13:23 +03:00
|
|
|
}
|
2019-01-10 15:39:37 +03:00
|
|
|
}
|