Autoptimize plugin on Wordpress stops some H5P activities from displaying

I noticed a while ago that some content types had disappeared from pages on my experimental dev Wordpress. Everything I have is updated to latest versions (H5P, WP, plugins, latest Chrome version, etc), so I couldn't quite figure out what was going on. The activities showed up fine while being created in the editor plugin, so it was a mystery that things like Memory Game and Multi-Hotspots didn't display when embedded in pages. Changing WP themes had no effect either. Long story short, it turns out that this popular site optimisation plugin > https://wordpress.org/plugins/autoptimize/  and H5P don't play nicely anymore. Question is: who's gotta fix their thing, H5P or the people behind Autoptimize or both? Please advise.

I'm mostly posting this here because Autoptimize is a pretty commonly used plugin, so I suspect I'm not the only one having these issues.