1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 18:04:43 +02:00

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-04 12:30:18 +08:00
parent bd99cb9021
commit 4cf6871ccf
2 changed files with 4 additions and 1 deletions
filter/mediaplugin
media/player/videojs

@ -14,7 +14,6 @@
width: 100vw;
max-width: 100%;
height: auto;
min-height: 32px;
}
.mediaplugin > div {

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