MDL-57616 media_videojs: set min height for videos

This partially reverts changes from MDL-57187 that added the limit for all videos and not just videojs.
Videojs displays a big play button that overlaps contents below during video loading.
This commit is contained in:
Marina Glancy
2017-04-07 16:09:02 +08:00
parent bd99cb9021
commit 4cf6871ccf
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -14,7 +14,6 @@
width: 100vw;
max-width: 100%;
height: auto;
min-height: 32px;
}
.mediaplugin > div {
+4
View File
@@ -1330,3 +1330,7 @@ video::-webkit-media-text-track-display {
.video-js.vjs-error {
height: 150px;
}
/* Minimum height for videos should not be less than the size of play button. */
.mediaplugin_videojs video {
min-height: 32px;
}