Course presentation and h5p module for Drupal 7 php version conflict

Hello! Thank you for the h5p.

I had some problems with it on the Drupal7 site.

When I open the hub on the page sitename.com/node/add/h5p-content

I don't see the course presentation in the list.

Even when I try to add the library of the course presentation  manually on sites/all/libraries it does not help

When I tried to disable the h5p module to install it again I had 

Error: syntax error, unexpected '[' in .../sites/all/modules/h5p/library/h5p.classes.php, line 4365

in logs

PHP Parse error: syntax error, unexpected '[' in ...sites/all/modules/h5p/library/h5p.classes.php on line 4365, referer: https://...content/35345

And I had error 500 until I disabled this module.

So now I have the version without the course presentation. How can I fix it

And can not update the module

Drupal specialist supposed that it was cause of the php version and the short syntax. That this module needs higher php version.

But the hosting I use is a special Drupalhosting with Drupal professionals, so they say that php 5.3 is better for The Drupal 7 site.

So the php 5.3 is recommended for the most part of Drupal 7 core and other additional modules

I had checked this on the desktop in Chrome, h5p that was added on the 7th of November,  was the fresh one version installed by the command

drush en h5p -y

 

Content types: 
BV52's picture

Hi ksen-pol,

Did you try my suggestion in this post? Uploading a sample content through the HUB instead of manually installing the libraries.

-BV52