Add max-aspect-ratio to player

This commit is contained in:
Omar Roth 2019-03-12 10:12:47 -05:00
parent 19c32bf993
commit cf3f0fcc39

View File

@ -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;