(solved) Error in interactive video

Site : Wordpress 4.2 on localhost server, H5P updated to 1.5

It works fine with Youtube video but no longer with local video

here is the message of the console : SyntaxError: JSON.parse: unexpected end of data at line 1 column 1310721 of the JSON data and a preview in the console. Sorry, I'm not able to solve that, please, can you help...

Thanks

Attachement : screen capture with console in firefox

Attachments: 
fnoks's picture

I'm pretty sure your webserver settings makes the file upload beeing rejected. Please check if this will help you:

http://h5p.org/installation/configure-php

 

Let us know if that solves it for you!

 

exactly ! You answered what I thought today... thank you.

I was asking me how to solve that if I can't change this value on a distant server...

  • I create a new interactive video (just a name)
  • I save it without video file, of course, there's a warning message (non video selected)
  • but  a directory video has been created in wp-content/uploads/h5p/content/#of my new content
  • I put my video in the video directory of the content via ftp
  • I edit my interactive video and add the matching url and it must work !

I must disable the download option (h5p probably too big to be downloaded).