There was a problem a few versions back, where the 'container' that contained the H5p content was dynamically reacting, so it would load, then resize itself slightly to fit, but that then changed the dimensions, so it resized again - and it basically got into a repeated loop of making itself slightly bigger then slightly smaller which appeared to the user as flickering. If my memory is correct it only did it on certain browsers (sorry I forget which) and it only did when the screen width was within a certain range (e.g. it didn't happen on narrow screens or very wide screens).
The solution was to add some CSS to change the way the container behaved - but as this was a few versions back, I no longer have that code, but if you use the inspect tools to inspect the page as it is doing it, you may be able to work out the culprit, and make the necessary tweak to stop it from happening.
Apologies for being slightly vague here, but it was 4 or 5 years ago that this happened - I thought it had gone away for ever so didn't keep the code that fixed it.