Hi,
the CSS classes you are using are not part of the Mobile app, you should create a Moodle Mobile remote theme including those classes and try again.
Hi,
the CSS classes you are using are not part of the Mobile app, you should create a Moodle Mobile remote theme including those classes and try again.
Gracias Juan.
El problema es que no logro hacer que un video de vimeo se comporte responsive, utilizo iframe incrustrado. Tienes idea de cómo puedo hacer para que el video incrustrado de vimeo se comporte responsive?
Gracias miles
You can reply to this via email.
Hi Willy,
I think this was the only way to fix it, can you share here the code you added in the wsplayer.php file?
We were thinking in integrating similar into core.
We have the same problem with our Vimeo videos and how they display on the mobile app. I was wondering if a fix is scheduled to be added in the core app for this and how soon would that be.
Thanks
Vanessa
Hi Vanessa,
we've applied several fixes recently, could you describe your exact issue/problem?
Thanks, Juan
Hi Juan,
I use the css code that makes the vimeo video responsibe on our moodle platform. This works fine on browser.
Code is exactly the same as Willy Gomez has given in previous post in this thread;
.videocontenedor{ max-width: 800px; max-height: 451px; }
.video-responsive{ overflow:hidden; padding-bottom:56.25%; position:relative; height:0; }
.video-responsive iframe{ left:0; top:0; height:100%; width:100%; position:absolute; }
HTML
<div class=" videocontenedor">
<div class="video-responsive iframe">
<iframe src="https://player.vimeo.com/video/257059412" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="">
</iframe></div></div>
I have copied the same code in the mobile.css but this is what I get when I view on mobile app/desktop app.
I get scroll bars and the i-frame is bigger than the container.
Inspection of the html code shows the following:
<iframe src="https://laws.elearning.london.ac.uk/media/player/vimeo/wsplayer.php?video=295594936&token=88492976f403337f56ce399ff89a62c1&width=450&height=450" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" class="core-media-adapt-width" width="450" height="450" style=""></iframe>
So it looks that wsplayer.php forces a width and height to the iframe of 450.
Let me know if you need further details.
Kind regards
Vanessa