Installation and server related problems

Discuss problems with installing the H5P plugins/modules and content types as well as server-related issues

How are people integrating H5P?

usernamenumber's picture

I'm a Moodle admin, but new to CMSes like Drupal and Wordpress (I was very pleased to learn that I can pretty much get a working Drupal installation with H5P in one drush command!). 

My question is: ok, I've created some content. Now what?

I can create a page in Moodle, edit the html source, and paste the H5P's embed code, but some of my fellow content developers are less web-technical and it would be nice to not make them deal with HTML directly.

Drupal - access errors

Our Drupal 7 site recently stared displaying 'access denied' errors when displaying a page with H5P content,

A check of the log showed the url causing the error is apparently from an ajax call - a typical url looks like: http://copyoftest7.site.edu/h5p-ajax/content-user-data/15752/state/0 - all of the 'access denied' errors have a 'h5p-ajax/content-user-data/(node)/state/0' pattern.  The content displays without any problem.

Error when file upload takes time

Hello,

When a user uploads a file (audio or video file) and the upload takes more than a couple of minutes it gets an error

On Chrome the error is SyntaxError: Unexpected token S

On Firefox the error is SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data

So probably the server has some timeout feature that cuts the upload.

Is that assumption correct?

Because I have checked php.ini and iis web.config and applicationHost options and have set relevant timeouts to 5 minutes and the error persists.

Pages