- Issue created by @drupalfan2
Sorry, for re-opening this task and creating this new issue:
This commit
https://git.drupalcode.org/project/h5p/-/commit/289f5587bbcd3b38a6322b0c...
causes the problem: "Simplify asset handling".
h5p.js tries to access drupalSettings and more before the document is lodad.
This causes all the other problems, for example:
https://www.drupal.org/project/h5p/issues/3526592
🐛
Cannot read properties of undefined (reading 'activeSurface')
Active
https://www.drupal.org/project/h5p/issues/3526163
🐛
Missing iframe height after updating to newer version
Active
and so on.
Could you please rewrite this commit?
Thank you.
Active
2.0
Code