Presentation content doesn't load properly in popup

I am using the h5p shortcode within a popup on Wordpress but it doesn't load upon clicking the popup. I've tried several content types and it happens with all. Only the "download" link is visible (shonw in image 1) but not the presentation content. However if I press command and + or command and - while the popup is open, the content loads and shows up (as shown in the attached second image). Resizing the popup window or giving it a fixed width didn't fix the issue. This also happened with two popup plugins. The shortcode works fine if instered into a page. Any help on how to fix would be greatly appreciated!

Attachments: 
Summary: 
Bug in content loading
BV52's picture

Hi illz,

Thank you for reporting this. 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
  8. Error message in the browser console logs (ctrl+shit+J in Chrome)

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

Hi

I have the same problem.

I think that it would be very useful for my students.

Someone can help me?

otacke's picture

Hi all!

The problem is described at https://h5p.org/manipulating-h5p-with-javascript

You won't get H5P running without adding some code. Maybe I should write a stupid "ping" plugin that constantly triggers H5P resizing with a sensible frequency ...

Best,

Oliver 

yep, it is very bad that students have to resize the window. please help and fix that. 

 

otacke's picture

Hi Karen!

There's nothing broken to be fixed. You're just using H5P in a way that's not recommended.

My free time is limited, so don't expect this to happen any time soon.

Best,

Oliver 

Hi, otacke

Thanks for your time and your work