Latest QuestionSet is using div embed instead of iframe

The latest QuestionSet content type that could be installed from the hub with H5P core version 1.28 no longer has embedTypes data present in the library definition (library.json) nad this thus means that the mode used by default with Drupal 8+ module is div. This is not an embed endpoint but an internal mode of displaying the H5P content within Drupal entity pages.

The change happend with version 1.21.7 and is also affecting the latest one 1.21.13 (if I remember it correctly). The issue is described here: https://github.com/h5p/h5p-question-set/issues/182

The commit message does not mention anyrhing else but the change of the version and it seems that the embed type could have been removed by mistake.

The end result for Drupal 10/11 is that there is a slight style bleed (example: dialog closing button background is off along with a few other visuals) and additional scripts and styles from hooks are not added to that content type. The latter is a bigger issue as any custom functionalities added through those extension styles and scripts are not present.

Content types: