fix audio tracks
This commit is contained in:
parent
08122a5e93
commit
b3d91930d3
6 changed files with 154 additions and 17 deletions
|
@ -358,4 +358,23 @@ video::-webkit-media-text-track-background {
|
|||
#videoPlayer:not(.idlePlayer) video:not([controls])::-webkit-media-text-track-display {
|
||||
/*Style the text itself*/
|
||||
margin-top: -2.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.videoSubtitles {
|
||||
position: fixed;
|
||||
z-index: 99997;
|
||||
bottom: 10%;
|
||||
text-align: center;
|
||||
font-size: 400%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.videoSubtitlesInner {
|
||||
max-width: 70%;
|
||||
background-color: rgba(0,0,0,.8);
|
||||
padding: .25em;
|
||||
margin: auto;
|
||||
display: inline-block;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue