Skip to content
Snippets Groups Projects
Commit 5cee66e6 authored by gnaegi's avatar gnaegi
Browse files

OO-1721 don't set video container width, make it responsive

parent ef9530cc
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 23 deletions
...@@ -366,7 +366,7 @@ ...@@ -366,7 +366,7 @@
id:domIdentity, id:domIdentity,
name:domIdentity, name:domIdentity,
"class":"olatFlashMovieViewer", "class":"olatFlashMovieViewer",
"style":'display:block;border:solid 1px #000; width:' + playerWidth + 'px; height:' + playerHeight + 'px;' "style":'display:block;border:solid 1px #000; width:auto; height:auto; max-width:100%;'
},h); },h);
return node; return node;
}; };
......
This diff is collapsed.
This diff is collapsed.
...@@ -210,12 +210,13 @@ img.b_with_border { ...@@ -210,12 +210,13 @@ img.b_with_border {
@extend %o_video; @extend %o_video;
} }
/* movie player responsive fix */ /* movie player responsive fix, compatibility with old embedded movies */
span.olatFlashMovieViewer { span.olatFlashMovieViewer {
max-width: 100%; max-width: 100% !important;
width: auto !important;
height: auto !important; height: auto !important;
} }
.mejs-container, .mejs-mediaelement video, .mejs-layers div { .mejs-container, .mejs-mediaelement video, .mejs-layers div, .me-cannotplay {
max-width: 100%; max-width: 100%;
} }
......
This diff is collapsed.
source diff could not be displayed: it is too large. Options to address this: view the blob.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment