Files
moodle/filter/mediaplugin/styles.css
T
Marina Glancy 4cf6871ccf 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.
2017-04-07 16:09:02 +08:00

22 lines
346 B
CSS

/**
* Filters
*/
.mediaplugin {
display: block;
margin-top: 5px;
margin-bottom: 5px;
text-align: center;
}
.mediaplugin,
.mediaplugin video {
/* Make videos as wide as possible without being wider than their containers */
width: 100vw;
max-width: 100%;
height: auto;
}
.mediaplugin > div {
margin: auto;
}