2017-01-01 23:11:51 -07:00
|
|
|
.videoPlayerContainer {
|
|
|
|
position: fixed !important;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
2017-01-03 00:02:47 -07:00
|
|
|
.videoPlayerContainer:not(.videoPlayerContainer-withBackdrop) {
|
|
|
|
background: #000 !important;
|
|
|
|
}
|
|
|
|
|
2017-01-01 23:11:51 -07:00
|
|
|
.videoPlayerContainer-withBackdrop {
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
background-size: cover;
|
|
|
|
background-attachment: fixed;
|
2017-01-03 00:02:47 -07:00
|
|
|
background-color: #000;
|
2017-01-01 23:11:51 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.videoPlayerContainer-onTop {
|
|
|
|
z-index: 1000;
|
|
|
|
}
|
|
|
|
|
|
|
|
.htmlvideoplayer {
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.videoSubtitles {
|
|
|
|
position: fixed;
|
|
|
|
bottom: 10%;
|
|
|
|
text-align: center;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
color: #fff;
|
|
|
|
font-size: 150%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.videoSubtitlesInner {
|
|
|
|
max-width: 70%;
|
|
|
|
background-color: rgba(0,0,0,.8);
|
|
|
|
padding: .25em;
|
|
|
|
margin: auto;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2017-01-10 22:18:59 -07:00
|
|
|
.htmlvideoplayer::-webkit-media-text-track-display {
|
2017-01-01 23:11:51 -07:00
|
|
|
/*Style the text itself*/
|
|
|
|
margin-top: -2.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
::cue {
|
|
|
|
background-color: transparent;
|
|
|
|
text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
font-family: inherit;
|
|
|
|
}
|