Iframe code

I can't seem to be able to get the iframe code to work. I create the activity on a wp site then try to get it to embed into my moodlecloud site. Does not work. So then I uploaded a fresh install moodle onto my shared server that I use for email and installed h5p there and created an activitiy and the iframe code does not work either. Finally I uploaded some of the activities to h5p.org. The iframe codes from h5p worked perfectly. I would create all my h5p activities on h5p.org but it seems it is only for testing. I noticed the source code was very different from h5p than frome either of my other sites I tried. What am I missing? is there something obvious I am doing wrong on the WP site or the other moodle site that makes them incompatable with moodle cloud? Any suggestions or advice on how to get the iframe code to work would be appreciated.

BV52's picture

Hi hensleyacademy,

Would you mind providing the additional information:

  1. Platform and version number. E.g. Drupal, Wordpress, Moodle.
  2. H5P plugin version
  3. H5P content type and version (if a content type was used), and a sample URL or attached H5P.
  4. Any browser console errors
  5. Any PHP errors
  6. 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

 

Sorry Moodle 3.6.4 (Build: 20190513), current H5P plugin version. H5P content versions and Types are  Flashcards (1.5.11), and Question Set (1.16.4). No errors at all php or console. The resulting Iframe in moodle cloud is just blank. Nothing appears.

should include the WP site has been deleted so only the other moodle site I mentioned in my opening post is relevent. I installed the WP site just so I could use h5p on the moodlecloud. WP is much larger file than moodle so I changed to moodle. only have 5gb on that shared host so I wanted the smaller foot print.