Hi Devin,

is the integration between Quiz 5 and H5P still going on or the project has been abandoned?

I did not try Q4 but if it is true that it supports h5p integration, why is so difficult to implement it in the Q5?

Thanks,

Riccardo

Comments

trofiarik created an issue. See original summary.

djdevin’s picture

Hi,

The developer behind the H5P integration wanted to put it into 4.x first, I'm not sure why.

The project isn't abandoned but I am not working on it at the moment.

falcon’s picture

The Quiz 4 integration was a cooperation between the Opigno Team and the H5P Team, and Opgino uses Quiz 4.

I don't think it will be difficult to create a Quiz 5 integration, but I think it should be done in the Quiz project because I think in Quiz 6 we should only use H5P question types. I see no reason why Quiz should have it's own questiontypes if H5P can provide the same features but with a lot more and richer question types. Quiz can focus on organizing the questions, reporting etc.

There are some missing features in H5P for this to happen, but they'll hopefully be in place by the end of the year. (Especially serverside evaluation of answers and storing of answers)

djdevin’s picture

I don't think it would be difficult either but those last features you mentioned are the reasons why I think H5P shouldn't be part of the Quiz project since many people use Quiz for heavily regulated assessments, complex analytics, adaptive learning (custom feedback based on events), and outcome reporting, all of which are currently impossible with H5P since those H5P content types do not use the Quiz API for storage. All of the included question types currently support all the new Quiz API functionality. H5P would not.

In general though, isn't it better practice to isolate modules? I think to undertake full Quiz+H5P integration would be a project in itself. You don't know if the next maintainer is going to be able to maintain H5P integration or any question type for that matter. I don't know for sure if Quiz 6 will consist of 100% H5P users and then it will make sense to put it in Quiz core, but I highly doubt it.

H5P is great and has many, many many question types but I'm sure there will be compatibility issues with Quiz (and Drupal) that really should not be the responsibility of the Quiz maintainer, especially if you want to integrate the server side storage and reporting.

Yes I know I am the "Quiz maintainer" but I'm not just talking about me in this instance!

nithinkolekar’s picture

very nice debate going on this thread. Its time for us (other than maintainers of both h5p and quiz) test thoroughly both modules and share some info about what goes where.

djdevin’s picture

Status: Active » Closed (fixed)

I created a 7.x-5.x branch based on the 4.x code and tested a basic H5P content type with it.

busboy’s picture

Version: » 7.x-5.0-alpha1

"I created a 7.x-5.x branch based on the 4.x code and tested a basic H5P content type with it."

What type of h5p content did you use? So far I've created three quiz questions - Interactive Video, Flashcard and Guess the Answer - but each time I return to the quiz they're not showing up in the question list.

I'm using Quiz version: 7.x-5.0-beta1

djdevin’s picture

Do they show up in the question bank? Try adding them manually, that's how I got it to work.

busboy’s picture

They show up in the question bank for user/1's quizzes but not in in the question bank when logged in as an authenticated user.

Further investigation shows that the permission: "View quiz question outside of a quiz" has to be set before any questions show in the question bank. I didn't have this permission set (for non-admins) because the site I'm developing allows all users to create quizzes and I was concerned that users could potentially locate individual questions - outside of the quiz they belong to - as independent nodes, and cheat.

My concern is due to the fact that users are paid cash for each correct answer in a quiz, so the idea of having questions discoverable outside quizzes is something I wanted to avoid.

Up till now I've only been using the question types that come with the Quiz module; when you create those types they're automatically added to the current quiz. This meant the question bank was not necessary, but with 'Quiz H5P' the question bank would have to be available otherwise the h5p questions can't be added to the quiz.

Seems odd to have to set the permission 'View quiz question outside of a quiz' in order to view questions in the questions bank, which (on appearance at least) is inside the quiz.

djdevin’s picture

I think that's a question for the H5P project, since H5P questions are nodes and are visible by default, and unlike the true Quiz questions it is easy to cheat since none of the processing is done server-side.

We could fix the issue with H5P questions not being added immediately but that seems like security by obfuscation (users could still try every node ID on the site and get access?).

Sorry I can't give you a better answer. A lot of the stuff happens in H5P and this module is just for integrating it into Quiz and this is the first version of the integration.

If you have a specific feature/change/bug please open new issues for them since this issue was just about getting started.