Submit screen

I have created an interactive video and given the interactions question number titles, e.g. Question 1. However on the submit screen Question 2 is at the bottom of the list (out of 6 questions) even though it is in the correct place within the video and all the titles are in the correct order. Does anyone have any advice on how to make sure this question appears in it's correct location on the submit screen?

Summary: 
Submit screen query
BV52's picture

Hi Aitch,

The list of activities in the submit screen is determined by the order they are created not the order when they will show up in the video.

-BV

otacke's picture

Hi!

This sounds weird. I have not looked at it in action, but the interactions should be sorted by starting time, cmp. https://github.com/h5p/h5p-interactive-video/blob/master/src/scripts/endscreen.js#L237

Could it rather be that the recent change of the timecode precision for videos changed the format (type) of the duration.from property and now sorting is messed up?

Best,

Oliver 

BV52's picture

Thanks let me have a second look at it ;-)

-BV

BV52's picture

Hi Oliver,

You were right!

@Aitch I created a bug report and you can follow the progress here.

-BV

BV52's picture

Thanks! That was fast!

otacke's picture

If I had been at my desk yesterday, I would have fixed it right away instead of just looking for the potential error in the code ;-)

otacke's picture

The fix has been merged in by the H5P core team, so it will be in the next update of Interactive Video.

Thank you all so much for your help.