Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
scooter7 opened this issue May 31, 2015 · 13 comments
Open

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

scooter7 opened this issue May 31, 2015 · 13 comments

Comments

@scooter7
Copy link

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
Copy link
Member

icc commented Jun 1, 2015

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
Copy link
Author

scooter7 commented Jun 1, 2015

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
Copy link
Author

scooter7 commented Jun 1, 2015

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
Copy link
Member

icc commented Jun 2, 2015

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
Copy link
Member

icc commented Jun 2, 2015

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
Copy link
Author

scooter7 commented Jun 2, 2015

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
Copy link
Member

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.

@scooter7
Copy link
Author

scooter7 commented Jun 4, 2015

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:
  • 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,

@falcon-git
Copy link
Member

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?

@JimmyFlip
Copy link

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
Copy link
Member

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

@JimmyFlip
Copy link

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

@khushboo6214
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants