mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-56938 filter_media: Responsive size fallback player
Apply responsive sizing to any video element in a media filter div. This applys to the HTML5 video player and the fall back player if video.js fails to load.
This commit is contained in:
parent
8d294e729f
commit
57bfb7c30a
@ -6,10 +6,14 @@
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user