Possible bug, overlapping interactions don't disappear when they should, when rewinding

Hi - I'm writing to report a possible bug, where interactions don't seem to disappear when they should, when REWINDING a video.  I've definitely observed this with text interactions and image interactions, and maybe it happens with other interaction-types too.  I believe it happens only when two or more interactions OVERLAP, in terms of the timeframe during which they should be displayed.

I've produced an example at

https://h5p.org/node/862815

In it, there are 6 text interactions, A, B, C, D, E and F.  To make it clearer, I've included the configured timeframe for display, in the text for each interaction.  If you drag the slider slowly forward, you'll see that each text interaction appears and disappears at exactly the time that it should.  All good so far!  Now go all the way past the last interaction (say, 1:30, or later), then drag the slider slowly backwards again.  You'll see that interaction F reappears when you reach 1:20 (which is fine), but then doesn't disappear at 1:00 as it should.  Instead, it stays on-screen until you reach 0:50.  This seems to be because it overlaps with interaction E, so F doesn't disappear until E has also disappeared.

This isn't a problem when 2 interactions follow each other in quick succession (e.g. A and B in the above example).  And it isn't a problem when one interaction's timeframe is completely contained within another's (e.g. C and D in the above example).  It's only a problem when the interactions' timeframes overlap (E and F in the above example).

BV52's picture

Hi pianteractive,

Thank you for reporting this. I created a bug report and you can follow the progress here.

-BV 

Thanks BV!