Dynamic sizing

Hi guys, I'm using lots of H5P content on my site, and they look great. However, they don't look so good on tablets and mobile phones.

I've tried to use the advanced <script> provided with no luck, the content just doesn't appear at all. I've added it to my-script-php under mu-plugin and also the theme footer, and again, no luck.

Any suggestions? The iframe code is the only one that works, but the h5p content really looks ugly on mobile and tablets. I'd really appreciate some help in using the <script> to make the content work with dynamic sizing.

Many thanks in advance.

Fernando

 

BV52's picture

Hi Fernando,

In order give your bug report the best chance of getting answered, please include the following information:

  1. Steps to recreate the bug
  2. Platform you're using: Drupal, Wordpress, Moodle (version number would be helpful as well)
  3. Mobile or Desktop
  4. Browser: Chrome, Firefox, Safari etc
  5. H5P plugin version
  6. H5P content type version
  7. Screenshots if it's a visual problem

The more information you provide, the quicker the community will be able to fix it and the quicker you'll have a working solution!

-BV52