Drupal 8 revisions enabled, embedding h5p only uses last revision
I've just started using h5p on drupal 8 and I'm noticing that the embedding is different (than drupal 7).
I have a content type called "interactive content" that is used to create h5p content. Revisions are enabled for this content type.
After I've created my h5p content, I click on "embed" and embed the iframe into another site.
The src for the iframe seems to includes the revision node id. This is problematic because it requires me to update the iframe embed code on any page I've iframed my content if I make a change to my h5p.
For example, if I create a new course presentation and embed that h5p into my website, the embed code might look like this:
<iframe src="https://domain.com/h5p/35/embed" width="936" height="552" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
However if I then update that course presentation, the iframe embed code will have a different ID, like 42. This means that I would then need to re-copy the embed code everywhere I've embedded the h5p.
If I turn off "Create new revision" for the content type in drupal, the embed works in the way that I would expect (without requiring an update to the embed code).
Tue, 09/17/2019 - 16:53
Same issue here
We have the same issue. Did you edit the module to resolve this? Turning off revisions should work, but that's not ideal. Revision history has tremendous value.