4cf6871ccf
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.
22 lines
346 B
CSS
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;
|
|
}
|