Add max-aspect-ratio to player

pull/411/head
Omar Roth 6 years ago
parent 19c32bf993
commit cf3f0fcc39

@ -181,6 +181,16 @@ img.thumbnail {
margin-right: 1em; margin-right: 1em;
} }
@media only screen and (max-aspect-ratio: 16/9) {
.player-dimensions.vjs-fluid {
padding-top: 46.86% !important;
}
#player-container {
padding-bottom: 46.86% !important;
}
}
@media screen and (max-width: 767px) { @media screen and (max-width: 767px) {
.navbar { .navbar {
flex-direction: column; flex-direction: column;

Loading…
Cancel
Save