h5p / h5p-interactive-video

MIT License
233 stars 205 forks source link

Can't save or see my interactivity in Wordpress #4

Open scooter7 opened 9 years ago

scooter7 commented 9 years ago

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!

icc commented 9 years ago

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.

scooter7 commented 9 years ago

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 commented 9 years ago

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,

icc commented 9 years ago

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 commented 9 years ago

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.

scooter7 commented 9 years ago

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,

falcon-git commented 9 years ago

Hi,

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

scooter7 commented 9 years ago

Hi,

Can you please provide a quote for the following items?

Thanks,

falcon-git commented 9 years ago

Hi,

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

JimmyFlip commented 9 years ago

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?).

falcon-git commented 9 years ago

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

JimmyFlip commented 9 years ago

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

khushboo6214 commented 8 years ago

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