h5p-interactive-video icon indicating copy to clipboard operation
h5p-interactive-video copied to clipboard

Can't save or see my interactivity in Wordpress

Open scooter7 opened this issue 9 years ago • 13 comments

Hi. I am trying to use the interactive video content type in Wordpress. I can upload the mp4 source file without a problem. However, none of the interactions that I add nor the summary task are displayed after I click "update." I am using Google Chrome browser on a windows 8 machine. All other content types are working so far. Thanks!

scooter7 avatar May 31 '15 17:05 scooter7

You might have experienced a bug. Could you open your JavaScript console and look for any error messages when playing the interactive video? It's Ctrl + Shift + J to open it in Chrome.

icc avatar Jun 01 '15 07:06 icc

Hi,

I followed your instructions and don't see any error messages in developer mode.

I have the interactive video library working perfectly on a Drupal installation. But, whenever I click "update" on the Wordpress installation, my added interactions are not saved.

Thanks again

scooter7 avatar Jun 01 '15 13:06 scooter7

Hi,

Is there a way to use H5P as a survey tool without modifying the source code? So, for example, instead of having a single answer be the "correct" one in a single choice-set question, a respondent could just submit their answer.

An example might be:

Question: On a 5-point scale where 1= not at all important and 5 = very important, please rate the importance of "my college will be highly ranked academically."

Then, the answer choices would be 1, 2, 3, 4, and 5. Thus, there are no right or wrong answers, just opinions.

Thanks,

scooter7 avatar Jun 01 '15 22:06 scooter7

Ok, just to clearify your workflow:

  1. You create an interactive video with interactions on your Drupal 7 site.
  2. You download/export the interactive video.
  3. You go to the "Add new" page on your WordPress installation.
  4. You select the "Upload" option to the right.
  5. You type in a title.
  6. You select the downloaded .h5p file using the file selector.
  7. You press the "Create" button and the content is created. ... and now you have the interactive video and it works, but the interactions are now missing?

Can you go to the libraries management page on both WordPress and Drupal, and compare the version numbers for Interactive Video? (admin/content/h5p on Drupal)

It would also be great if you could provide a link for the .h5p file so we could check if there's something wrong with the file.

One last thing you can check is the web server's error_log, look for any recent messages after creating or uploading content.

icc avatar Jun 02 '15 07:06 icc

To the questions about the survey tool: There's no content type that can do this yet, but it does sound like a really good idea for a new content type or an extension to the existing ones.

icc avatar Jun 02 '15 07:06 icc

Hi,

Would you be interested in developing a couple of modified versions of these existing tools to be used in surveys? I am happy to pay you for these services if you can do it for me.

Thanks,

scooter7 avatar Jun 02 '15 22:06 scooter7

Hi,

Most of the things we develop for H5P are paid for by customers around the world. If you send us an email to [email protected] we'll get back to you with a quote.

falcon-git avatar Jun 03 '15 07:06 falcon-git

Hi,

Can you please provide a quote for the following items?

  • Changing the following content types so that they operate like surveys instead of quizzes. In other words, I want to remove the requirement to have correct answers and instead enable users solely to submit their answers:
    • http://h5p.org/multichoice
    • http://h5p.org/single-choice-set
  • For the http://h5p.org/drag-and-drop , I would like to have the users rank order options so that the most important choice is on top and the least important choice is on the bottom.
  • I would like for http://h5p.org/presentation and http://h5p.org/interactive-video be able to incorporate all of the above content types within them.
  • I would like a content type that enables users to select star ratings so that selecting all 10 stars means that the attribute is extremely important or preferred whereas a 1-star rating means not at all important or not at all preferred.

Thanks,

scooter7 avatar Jun 04 '15 00:06 scooter7

Hi,

We don't do quotes on github. Could you please contact us on [email protected] so that we'll get your e-mail address and may send you a quote on e-mail?

falcon-git avatar Jun 04 '15 16:06 falcon-git

Back to the original issue. I'm experiencing the same on Drupal. Version 1.6.2 of Interactive video.

Easy to reproduce:

  1. Install h5p module in fresh install of Drupal 7.
  2. Upload libraries.h5p from here: http://h5p.org/update-all-content-types
  3. Create interactive video.

Changes to tabs '1. Upload video' and '3. Summary task' are saved when pressing 'Save' button on page. Changes to tab '2. Add interactions' work as you are creating them (ie. you can see the blue dots, interactives appear over the video as expected) but when you save the page, no changes are saved and all blue dots/interactives disappear. Having done a little bit of debugging, $node->json_content is not altered at all when changes are made to tab 2 and the page is saved, but changes are saved as expected when altering tabs 1 and 3. Tested in Chrome and Firefox, and no errors in Javascript console (which makes sense as interactives work fine in preview, just not saved).

It's possible it's a problem with the Drupal module but then would effect all libraries and also OP seems to be using Wordpress?

Edit: I realise that $node->json_content is a Drupalism but I'm assuming the problem occurs before this variable is populated (the 'json_content' form element?).

JimmyFlip avatar Jun 30 '15 02:06 JimmyFlip

http://h5p.org/update-all-content-types now holds 1.6.3 of Interactive Video where this problem has been fixed.

falcon-git avatar Jun 30 '15 09:06 falcon-git

Problem appears to be fixed in the latest version. Thanks so much and great work on this library - it's very nicely done.

JimmyFlip avatar Jul 01 '15 00:07 JimmyFlip

Hey m new to H5P N m currently working on interactive vedio content ..Its my project I have successfully finished setup to work with H5p in drupal and WordPress..where I can make changes... I need to work on replace existing text editor how can I proceed please help

khushboo6214 avatar Jun 11 '16 12:06 khushboo6214