1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

hiding default browser controls

This commit is contained in:
grafixeyehero 2019-09-26 21:20:15 +03:00
parent 350463a1e7
commit 5d6e6c5db9

View file

@ -8,9 +8,9 @@
align-items: center; align-items: center;
} }
.videoPlayerContainer:not(.videoPlayerContainer-withBackdrop) { .videoPlayerContainer:not(.videoPlayerContainer-withBackdrop) {
background: #000 !important; background: #000 !important;
} }
.videoPlayerContainer-withBackdrop { .videoPlayerContainer-withBackdrop {
background-repeat: no-repeat; background-repeat: no-repeat;
@ -24,6 +24,10 @@
z-index: 1000; z-index: 1000;
} }
video::-webkit-media-controls {
display:none !important;
}
.htmlvideoplayer { .htmlvideoplayer {
margin: 0 !important; margin: 0 !important;
padding: 0 !important; padding: 0 !important;
@ -31,12 +35,12 @@
height: 100%; height: 100%;
} }
.htmlvideoplayer::cue { .htmlvideoplayer::cue {
background-color: transparent; background-color: transparent;
text-shadow: .14em .14em .14em rgba(0, 0, 0, 1); text-shadow: .14em .14em .14em rgba(0, 0, 0, 1);
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
font-family: inherit; font-family: inherit;
} }
.htmlvideoplayer-moveupsubtitles::-webkit-media-text-track-display { .htmlvideoplayer-moveupsubtitles::-webkit-media-text-track-display {
/*Style the text itself*/ /*Style the text itself*/
@ -55,7 +59,7 @@
.videoSubtitlesInner { .videoSubtitlesInner {
max-width: 70%; max-width: 70%;
background-color: rgba(0,0,0,.8); background-color: rgba(0, 0, 0, .8);
padding: .25em; padding: .25em;
margin: auto; margin: auto;
display: inline-block; display: inline-block;