Storing results from embed link

Forums: 

Hello,

I am currently developping a quiz app on android studio and would like to use H5P to define the content on drupal and then use a web view in android to display it. This works thanks to the embed link.

However, I have just read that it is not possible to store user results from an embedded link. Are there any work arounds for this? Storing the results is quite important for things such as leaderboards and I would like to know if I'm wasting my time trying to make this app with H5P.

Thanks in advance

icc's picture

It's only when you're embedding from h5p.org that it's not possible – this is due to a privacy concern as any site can embed the content.

If you're hosting the content your self then there should not be any issue tracking the results as you control both "ends".

Ah okay thank you!

Do you know how I should go about tracking the results? When I embed a question set into my android app, I can do it and see my results at the end but I have no idea if and where those results are kept. Or if they are even associated with any kind of ID since I am not technically logged into anything when testing the app in my emulator.

icc's picture

I would guess you need to find a way to log the user into Drupal, then the scores would be stored in the user profile. But it depends on what you want. You could have the scores saved in the App as well if you have a way to listen for JavaScript events.

But how can a user be associated with embedded content? I can't find any way to do this.

fnoks's picture

Hi Goldeedore,

I have read through this thread, but am not able to understand exactly what you are asking for here.

For the other question about getting results to your app, I think the best way of achieving this would be to listen for xAPI events. In short, this is what you would need to do:

Best,
Pål

 

 

 

Hello Everyone!

It is few day now that I am going through the forum and multiple topic, I found some lead, but i can not see clearly see the solution that can fit with what i want. I m posting it here for the moment cuz it seems to be the topics more close from where I am.

I am working for a company that holds an web app type LMS. We having teacher that want to use and integrate H5P content in our platform. We decided to use the CMS solution for holding the creation of ressource, and then through an embedded link they can publish it into our platform.

Everything went well, except for the xAPI. I mean, if we execute the H5P activities on the WP, our LRS (learning locker) receiving it well. But as soon that it's played using the embeds link, we got nothing to listen.

I have seen many topics about but now i m diving! :p
i am also thinking on swaping wordpress to drupal, since it seems having a better adaptability of LTI which could be usefull.

Could any one advice me the proper way to go? What i want to do is simple :
Create H5P content --- Intégrating it into my platform --- Getting xAPI statement into my LRS with the ID of people on my platform. ( Bonus: having the score showed in my platform as we already have scorecard and studentcard to follow students and teachers).

I'd be very thanksfull to discuss about and get some info on the way to go.

Thank you by advance.

Wishing to see an active people around.

Regards, G.

BV52's picture

Hi G,

As you may have discovered using the embed option does not allow you to collect data from the activities. The setup you mentioned above WP+Learning Locker+H5P should enable you to capture the data. Moving to another platform like Drupal is a matter of preference so I will leave that decision to you :-)

For further information on scoring/data collection I suggest that you visit the pages below:

https://h5p.org/documentation/x-api

https://h5p.org/documentation/for-authors/analyzing-results-and-answers

 

-BV52