H5P doesn't work with any toggle button plug in
Submitted by hoangletuananh.86 on Thu, 12/19/2019 - 18:09
Forums:
- I create a question by H5P then use the shortcode to post. It's appears normaly but whenever I use any toggle plug in (ex Show-Hide/Collapse-Expand) and then the content of the shortcode wouldn't appear.
- I use Wordpress.
- Desktop
- Browser: any
- H5P 1.15.0
- H5P Drag and drop
I'm a newbie in this area. Please forgive me if my question bother you. Thanks in advanve for your help.
otacke
Thu, 12/19/2019 - 18:39
Permalink
https://h5p.org/comment/19435
https://h5p.org/comment/19435#comment-19435
hoangletuananh.86
Fri, 12/20/2019 - 06:01
Permalink
I've tried to insert the
I've tried to insert the eventDispatch into the footer file and it didn't make any difference, I also tried to inroduce delay using setTimeout(), and also tried to insert the same code into the browser's console, so far no luck
hoangletuananh.86
Fri, 12/20/2019 - 06:09
Permalink
Hi Otacke, thank you for your
Hi Otacke, thank you for your help, I tried the method mentioned in the post but so far no luck.
First I inserted the event dispatcher into the footer.
I also tried to introduce some delay with the setTimeout() function.
And I also tried the code through the browser's console.
hoangletuananh.86
Fri, 12/20/2019 - 06:11
Permalink
Hi Otacke, thank you for your
Hi Otacke, thank you for your help, I tried the method mentioned in the post but so far no luck.
First I inserted the event dispatcher into the footer.
I also tried to introduce some delay with the setTimeout() function.
And I also tried the code through the browser's console.
hoangletuananh.86
Fri, 12/20/2019 - 06:12
Permalink
Hi Otacke, thank you for your
Hi Otacke, thank you for your help, I tried the method mentioned in the post but so far no luck.
First I inserted the event dispatcher into the footer.
I also tried to introduce some delay with the setTimeout() function.
And I also tried the code through the browser's console.
otacke
Fri, 12/20/2019 - 09:45
Permalink
Hi hoangletuananh.86!Then it
Hi hoangletuananh.86!
Then it might be something else. If you need one more thing to be sure: Try to resize the browser window manually after content is gone. This should trigger the iframe to resize and use the current size of the container.
Best,
Oliver