Calculate player height based on viewport

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

@ -316,12 +316,12 @@ img.thumbnail {
} }
.player-dimensions.vjs-fluid { .player-dimensions.vjs-fluid {
padding-top: 46.86%; padding-top: 82vh;
} }
#player-container { #player-container {
position: relative; position: relative;
padding-bottom: 46.86%; padding-bottom: 82vh;
margin-left: 1em; margin-left: 1em;
margin-right: 1em; margin-right: 1em;
height: 0; height: 0;

Loading…
Cancel
Save