Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author otacke

    (@otacke)

    That subcontent ID is not part of the xAPI specification, but part of H5P’s payload being transferred via xAPI. If the object related xAPI values are not enough for identifying the subcontent, then you will have to select the filtered field from the database table h5p_contents where the id matches the id within the xAPI object id. That field is JSON encoded and can be searched for the subcontent id as stated in the xAPI object id, leading you to all the information about the subject that you can get, including its metadata that should be more than enough to identify the subcontent.

    Thread Starter futureyoon

    (@futureyoon)

    Thank you for the explanation.

    I am not sure if we are on the same page. Let me rephrase the questions here.

    one of my h5p quizzes, I see 5 subcontents_id in the table called ‘wp_h5pxapikatchu_object’ as below.

    8c2a09fb-66c6-4794-a329-09baff5d5689

    213b998b-1410-481d-9443-a6b7296e650b

    f33de428-c93d-4b27-b38b-7d2bd625f29d

    95441b20-a816-4771-8490-9a2fc861be8f

    c476acf9-e9db-4221-8b8e-c00f8bcb291f

    With this, is there any way to find out which one is first question or 2nd question and so on?

    or using the subcontents_id, is there a way to retrieve the title of question of each subcontent?

    Thank you

    Plugin Author otacke

    (@otacke)

    We are the same page and my answer holds ?? You will need to identify the subcontent (by id) in the parent content’s database entry as I pointed out.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘h5p_subcontent_id’ is closed to new replies.