Content doesn't display in moodle

When I create content via the moodle h5p and not this website I get no content displaying. I can run the same activity embedded from the h5p website and it is ok.

Why might this be? I need to direct the tech guys towards solving it as I have zero experience or know how

Dave

 

Attachments: 
BV52's picture

Hi Dave,

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. URL of the site that is having the issue.

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

I have the same problem. I have installed H5P plugin in moodle 3.3.1 and latest plugin version. When i try to create content either i have a problem like "the file you are trying to upload may be too large" or nothing appears.

Any idea?

BV52's picture

Hi u4365385,

Can you please provide additional details such as:

1. Content you are trying to create.

2. Are you uploading a video/image to the content (size would be a big help)

3. Browser and version

4. Please check if there are error logs in the browser console (Ctrl+shift+J in Chrome).

-BV52

When I try to use any kind of content, i press install and then i think something goes wrong with the installation. I tried to upload an image. Either says image too large or it seems like uploaded bout nothing appears. I use Google Chrome Version 63.0.3239.84. I have tried with Mozilla too, but it was the same. I have tried both manual installation and installation through moodle plugin site.

Error log:

GET http://mysite.com/pluginfile.php/1/mod_hvp/cachedassets/eed9349604aaabb9... 404 (Not Found)

GET http://mysite.com/pluginfile.php/1/mod_hvp/cachedassets/eed9349604aaabb9...

h5p.js?ver=2017112800:861 Unable to find constructor for: H5P.ImageSlider 1.0

H5P.error @ h5p.js?ver=2017112800:861

H5P.newRunnable @ h5p.js?ver=2017112800:784

(anonymous) @ h5p.js?ver=2017112800:132

each @ jquery.js?ver=2017112800:2

each @ jquery.js?ver=2017112800:2

H5P.init @ h5p.js?ver=2017112800:92

(anonymous) @ h5p.js?ver=2017112800:2136

c @ jquery.js?ver=2017112800:2

fireWith @ jquery.js?ver=2017112800:2

ready @ jquery.js?ver=2017112800:2

H @ jquery.js?ver=2017112800:2

h5p.js?ver=2017112800:1773 Uncaught TypeError: Cannot read property 'on' of undefined

    at Object.H5P.on (h5p.js?ver=2017112800:1773)

    at HTMLDivElement.<anonymous> (h5p.js?ver=2017112800:205)

    at Function.each (jquery.js?ver=2017112800:2)

    at init.each (jquery.js?ver=2017112800:2)

    at Object.H5P.init (h5p.js?ver=2017112800:92)

    at HTMLDocument.<anonymous> (h5p.js?ver=2017112800:2136)

    at c (jquery.js?ver=2017112800:2)

    at Object.fireWith [as resolveWith] (jquery.js?ver=2017112800:2)

    at Function.ready (jquery.js?ver=2017112800:2)

    at HTMLDocument.H (jquery.js?ver=2017112800:2)

You can check screenshots below.

Attachments: 
falcon's picture

It seems that H5P may be installed correctly, but it is unable to install the content types. Would it be possible for you to provide us with a user that has access to create content types on your Moodle setup so that we may figure out what goes wrong when you try to install content types? You may send login info through the contact form.